CGAL 5.1.2 - CGAL and Solvers
CGAL::Eigen_vector< T, D > Class Template Reference

#include <CGAL/Eigen_vector.h>

Inherits from

Matrix< T, D, 1 >.

Definition

template<class T, int D = ::Eigen::Dynamic>
class CGAL::Eigen_vector< T, D >

The class Eigen_vector is a wrapper around Eigen vector type, which is a simple array of numbers.

Is Model Of:

SvdTraits::Vector

SparseLinearAlgebraTraits_d::Vector.

Template Parameters
TNumber type.
See also
CGAL::Eigen_solver_traits<T>
CGAL::Eigen_sparse_matrix<T>
CGAL::Eigen_sparse_symmetric_matrix<T>

Public Member Functions

Eigen_vectoroperator= (const Eigen_vector &other)
 
Eigen_vectoroperator= (const EigenType &other)
 
 Eigen_vector ()
 Constructs a null vector.
 
 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 EigenTypeeigen_object () const
 Return the internal vector wrapped by this object.
 
EigenTypeeigen_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.
 
NTvector ()
 Return a pointer to the data array of this vector.
 

Types

typedef T NT
 
typedef ::Eigen::Matrix< T, D, 1 > EigenType
 The internal vector type from Eigen.