\( \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.13.2 - CGAL and Solvers
CGAL::Eigen_matrix< FT > Struct Template Reference

#include <CGAL/Eigen_matrix.h>

Inherits from

Matrix< FT, ::Eigen::Dynamic, ::Eigen::Dynamic >.

Definition

The class Eigen_matrix is a wrapper around Eigen matrix type Eigen::Matrix.

Is Model Of:
SvdTraits::Matrix
Template Parameters
TNumber type.
See also
CGAL::Eigen_vector<T>
CGAL::Eigen_sparse_matrix<T>
CGAL::Eigen_sparse_symmetric_matrix<T>

Public Types

typedef ::Eigen::Matrix< FT, ::Eigen::Dynamic, ::Eigen::Dynamic > EigenType
 The internal matrix type from Eigen.
 

Public Member Functions

 Eigen_matrix (std::size_t nr, std::size_t nc)
 Construct a matrix with nr rows and nc columns.
 
std::size_t number_of_rows () const
 Return the matrix number of rows.
 
std::size_t number_of_columns () const
 Return the matrix number of columns.
 
FT operator() (std::size_t i, std::size_t j) const
 Return the value of the matrix at position (i,j).
 
void set (std::size_t i, std::size_t j, FT value)
 Write access to a matrix coefficient: a_ij <- val.
 
const EigenTypeeigen_object () const
 Return the internal matrix, with type EigenType.