|
| create_polygon (str poly_path) |
| Read a polygon from file.
|
|
| create_polygon_focal_point (str poly_path, focal_point) |
| Read a polygon from file, and specify a focal point.
|
|
| print_polygon (poly) |
| Print information about the polygon.
|
|
| plot_polygon (_correa.PyPolygon poly) |
| Plot a polygon.
|
|
| compare_polygons (_correa.PyPolygon poly1, _correa.PyPolygon poly2, q=2, verbose=False) |
| Given two polygons (poly1, poly2), compare them.
|
|
| curv_ot_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2) |
| Given two polygons (poly1, poly2), calculate the curv_ot distance between them.
|
|
| frechet_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2) |
| Given two polygons (poly1, poly2), calculate the frechet distance between them.
|
|
| max_ellipse_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2) |
| Given two polygons (poly1, poly2), calculate the max ellipse distance between them.
|
|
| min_ellipse_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2) |
| Given two polygons (poly1, poly2), calculate the min ellipse distance between them.
|
|
| lsq_ellipse_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2) |
| Given two polygons (poly1, poly2), calculate the least square ellipse distance between them.
|
|
| wasserstein_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2, q=2) |
| Given two polygons (poly1, poly2), calculate the wasserstein distance between them via their persistence diagrams.
|
|
| willmore_distance (_correa.PyPolygon poly1, _correa.PyPolygon poly2) |
| Given two polygons (poly1, poly2), calculate the willmore distance between them.
|
|
auto | hera_wasserstein_distance (const std::vector< std::pair< double, double > > pd1, const std::vector< std::pair< double, double > > pd2, int q=2) |
|
auto | initialise_polygon (std::string path_to_vertices) |
|
auto | initialise_polygon (std::string path_to_vertices, std::string path_to_focal_point) |
|
auto | initialise_polygon (std::string path_to_vertices, std::vector< double > focal_point) |
|
auto | load_polygon (std::string file_path) |
|
auto | load_polygon (std::string path_to_vertices, std::string path_to_focal) |
|
auto | load_polygon (std::string path_to_vertices, std::vector< double > focal) |
|
std::vector< double > | compare_polygons (PyPolygon poly1, PyPolygon poly2, int q, bool verbose) |
|
double | wasserstein_distance (PyPolygon poly1, PyPolygon poly2, int q) |
|
double | frechet_distance (PyPolygon poly1, PyPolygon poly2) |
|
double | max_ellipse_distance (PyPolygon poly1, PyPolygon poly2) |
|
double | min_ellipse_distance (PyPolygon poly1, PyPolygon poly2) |
|
double | lsq_ellipse_distance (PyPolygon poly1, PyPolygon poly2) |
|
double | willmore_distance (PyPolygon poly1, PyPolygon poly2) |
|
double | curv_ot_distance (PyPolygon poly1, PyPolygon poly2) |
|
void | print_polygon (PyPolygon P) |
|
Vector | operator* (double s, const Vector &v) |
|
double | dot (const Vector &u, const Vector &v) |
|
Vector | cross (const Vector &u, const Vector &v) |
|
double | dot (const Vector2D &u, const Vector2D &v) |
|
void | dcopy_ (int *n, double *X, int *incx, double *Y, int *incy) |
|
double | ddot_ (int *n, double *u, int *incu, double *v, int *incv) |
|
double | dnrm2_ (int *n, double *X, int *incx) |
|
void | daxpy_ (int *n, double *alpha, double *X, int *incx, double *Y, int *incy) |
|
void | dscal_ (int *n, double *alpha, double *X, int *incx) |
|
void | dgemv_ (char *trans, int *m, int *n, double *alpha, double *A, int *lda, double *X, int *incx, double *beta, double *Y, int *incy) |
|
void | dgemm_ (char *transa, char *transb, int *m, int *n, int *k, double *alpha, double *A, int *lda, double *B, int *ldb, double *beta, double *C, int *ldc) |
|
void | dgeev_ (char *JOBVL, char *JOBVR, int *N, double *A, int *LDA, double *WR, double *WI, double *VL, int *LDVL, double *VR, int *LDVR, double *WORK, int *LWORK, int *INFO) |
|
void | dsyevd_ (char *JOBZ, char *UPLO, int *N, double *A, int *LDA, double *W, double *WORK, int *LWORK, int *IWORK, int *LIWORK, int *INFO) |
|
void | dgetrf_ (int *M, int *N, double *A, int *LDA, int *IPIV, int *INFO) |
|
void | dgetrs_ (char *Trans, int *N, int *Nrhs, double *A, int *LDA, int *IPIV, double *B, int *LDB, int *INFO) |
|
void | dgetri_ (int *N, double *A, int *LDA, int *IPIV, double *WORK, int *LWORK, int *INFO) |
|
bool | HeightComparison (tuple< int, double > &x, tuple< int, double > &y) |
|
Correa
Documentation for the Python functions in Correa.