CGAL 5.6.3 - CGAL and Solvers

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Eigen_vector< T, D > Class Template Reference
CGAL and Solvers Reference » Linear Systems

`#include <CGAL/Eigen_vector.h>`

## Inherits from

Eigen::Matrix< T, ::Eigen::Dynamic, 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

  T | Number type.

See also
  `CGAL::Eigen_solver_traits<T>`
  `CGAL::Eigen_sparse_matrix<T>`
  `CGAL::Eigen_sparse_symmetric_matrix<T>`

## Public Member Functions
Eigen_vector & | operator= (const Eigen_vector &other)
Eigen_vector & | operator= (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 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, D, 1 > | EigenType
| The internal vector type from Eigen.