Class edge_crossings (o2scl)

O2scl : Class List

class edge_crossings

Edges for the contour class.

The edge crossings generated by the contour class are given as objects of this type.

The status matrix contains one of four possible values

  • 0 - empty (no edge)

  • 1 - edge which has not yet been assigned to a contour

  • 2 - edge assigned to contour point

  • 3 - edge which has been designated as a contour endpoint

The matrices returned by contour are not square, their size depends on whether or not they contain the “bottom edges” or the “right edges”.

Todo

Future: Make this a subclass of ref o2scl::contour .

Public Types

typedef boost::numeric::ublas::vector<double> ubvector
typedef boost::numeric::ublas::vector<int> ubvector_int
typedef boost::numeric::ublas::matrix<double> ubmatrix
typedef boost::numeric::ublas::matrix<int> ubmatrix_int

Public Functions

inline edge_crossings()

Create an empty object.

inline edge_crossings(const edge_crossings &ec)

Copy constructor.

inline edge_crossings &operator=(const edge_crossings &ec)

Copy constructor with operator=()

Public Members

ubmatrix_int status

Edge status.

ubmatrix values

Edge values.