CGAL 4.14 - CGAL and Solvers
|
#include <CGAL/Lapack_svd.h>
In CLAPACK, matrices are one-dimensional arrays and elements are column-major ordered.
This class is a wrapper defining set and get in the usual way with line and column indices.
Public Member Functions | |
Lapack_matrix (size_t n1, size_t n2) | |
Initializes all the elements of the matrix to zero. | |
~Lapack_matrix () | |
size_t | number_of_rows () |
Return the number of rows of the matrix. | |
size_t | number_of_columns () |
Return the number of columns of the matrix. | |
const FT * | matrix () const |
Return the matrix as an array. | |
FT * | matrix () |
Return the matrix as an array. | |
FT | operator() (size_t i, size_t j) |
Return the entry at row i and column j , i from 0 to number_of_rows - 1 , j from 0 to number_of_columns - 1 . More... | |
void | set (size_t i, size_t j, const FT value) |
Set the entry at row i and column j to value . | |
Protected Attributes | |
FT * | m_matrix |
size_t | nb_rows |
size_t | nb_columns |
FT CGAL::Lapack_matrix::operator() | ( | size_t | i, |
size_t | j | ||
) |
Return the entry at row i
and column j
, i
from 0
to number_of_rows - 1
, j
from 0
to number_of_columns - 1
.