CGAL 4.12 - CGAL and Solvers
|
#include <CGAL/Eigen_vector.h>
Matrix< T, Eigen::Dynamic, 1 >.
The class Eigen_vector
is a wrapper around Eigen vector type , which is a simple array of numbers.
T | Number type. |
Public Member Functions | |
Eigen_vector< T > & | operator= (const Eigen_vector< T > &other) |
Eigen_vector< T > & | operator= (const EigenType &other) |
Eigen_vector (std::size_t dimension) | |
Create a vector initialized with zeros. | |
Eigen_vector (const Eigen_vector &toCopy) | |
Copy constructor. | |
~Eigen_vector () | |
int | dimension () const |
Return the vector's number of coefficients. | |
const EigenType & | eigen_object () const |
Return the internal vector wrapped by this object. | |
EigenType & | eigen_object () |
Return the internal vector wrapped by this object. | |
void | set (std::size_t i, NT value) |
Write access to a vector coefficient: a_i <- value . | |
NT * | vector () |
Return a pointer to the data array of this vector. | |
Types | |
typedef T | NT |
typedef Eigen::Matrix< T, Eigen::Dynamic, 1 > | EigenType |
The internal vector type from Eigen. | |