\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.14 - CGAL and Solvers
CGAL::Eigen_vector< T > Class Template Reference

#include <CGAL/Eigen_vector.h>

Inherits from

Matrix< T, Eigen::Dynamic, 1 >.

Definition

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_vector< T > & operator= (const Eigen_vector< T > &other)
 
Eigen_vector< T > & operator= (const EigenType &other)
 
 Eigen_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, Eigen::Dynamic, 1 > EigenType
 The internal vector type from Eigen.