|
xc
|
Matrix which components are GEOM_FT numbers. More...
#include <FT_matrix.h>


Public Member Functions | |
| FT_matrix (void) | |
| Constructor. | |
| FT_matrix (size_type rows, size_type cols) | |
| Constructor. | |
| FT_matrix (size_type rows, size_type cols, GEOM_FT val) | |
| Constructor. | |
| template<class InputIterator > | |
| FT_matrix (const size_t &, const size_t &, InputIterator, InputIterator) | |
| Constructor. | |
| FT_matrix (const boost::python::list &l) | |
| Constructor (Python interface). | |
| boost::python::list | getPyList (void) const |
| Return the matrix values in a Python list. | |
| FT_matrix | getBox (size_t f1, size_t c1, size_t f2, size_t c2) const |
| FT_matrix | getRow (size_t iRow) const |
| FT_matrix | getColumn (size_t col) const |
| FT_matrix | GetTrn (void) const |
Public Member Functions inherited from ZMatrix< GEOM_FT > | |
| ZMatrix (size_type n_rows, size_type n_columns) | |
| ZMatrix (size_type n_rows, size_type n_columns, GEOM_FT val) | |
| ZMatrix (size_type n_rows, size_type n_columns, const lst_numero &ln) | |
| ZMatrix (const ZMatrix< GEOM_FT > &other) | |
| ZMatrix (const size_t &n_rows, const size_t &n_columns, InputIterator b, InputIterator e) | |
| ZMatrix< GEOM_FT > & | operator= (const ZMatrix< GEOM_FT > &m) |
| ZMatrix< GEOM_FT > & | operator= (const GEOM_FT &n) |
| ZMatrix< GEOM_FT > & | operator+= (const ZMatrix< GEOM_FT > &m) |
| ZMatrix< GEOM_FT > & | operator-= (const ZMatrix< GEOM_FT > &m) |
| ZMatrix< GEOM_FT > & | operator*= (const GEOM_FT &n) |
| ZMatrix< GEOM_FT > & | operator*= (const ZMatrix< GEOM_FT > &m) |
| GEOM_FT | row_maximum (size_type i) const |
| GEOM_FT | column_maximum (size_type j) const |
| void | PutSuma (size_type i, size_type j, const GEOM_FT &n) |
| void | PutResta (size_type i, size_type j, const GEOM_FT &n) |
| void | PutProd (size_type i, size_type j, const GEOM_FT &n) |
| void | swap (size_type f1, size_type c1, size_type f2, size_type c2) |
| ZMatrix< GEOM_FT > & | Trn (void) |
| ZMatrix< GEOM_FT > | GetTrn (void) const |
| ZMatrix< GEOM_FT > | getBox (size_t f1, size_t c1, size_t f2, size_t c2) const |
| Return the box between the indices being passed as parameter. | |
| ZMatrix< GEOM_FT > | getRow (size_type iRow) const |
| ZMatrix< GEOM_FT > | getColumn (size_type col) const |
| ZMatrix< GEOM_FT > | GetMenor (size_t f, size_t c) const |
| void | Idn (void) |
| void | sumBox (size_t f, size_t c, const ZMatrix< GEOM_FT > &box) |
| GEOM_FT | GetDetLento (void) const |
| Return el determinante. More... | |
| GEOM_FT | GetDet (const GEOM_FT &eps=1e-10) const |
| Return el determinante. | |
| GEOM_FT | Traza (void) const |
| Return the trace of the matrix. | |
| bool | Nulo (const GEOM_FT &tol=GEOM_FT()) const |
| GEOM_FT | getRowNorm (void) const |
| Return el valor máximo de los elementos del vector que resulta de sumar los rows elements. More... | |
| GEOM_FT | getColumnNorm (void) const |
| Return the maximum value of the components of the vector obtained by adding the components of the columns. More... | |
| void | Neg (void) |
| virtual void | Input (std::istream &) |
| Lectura desde istream. | |
| virtual void | Input (const std::string &) |
| Lectura desde string. | |
| GEOM_FT | dot (const ZMatrix< GEOM_FT > &v2) const |
| GEOM_FT | Abs2 (void) const |
| Return the squared norm (euclidean norm) of the matrix. | |
| GEOM_FT | Abs (void) const |
| Return the norm (euclidean norm) of the matrix. | |
Public Member Functions inherited from TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | |
| TMatrix (size_t rows=1, size_t n_columns=1) | |
| Constructor por defecto. | |
| TMatrix (size_t n_rows, size_t n_columns, GEOM_FT val) | |
| Constructor. | |
| TMatrix (const size_t &n_rows, const size_t &n_columns, InputIterator b, InputIterator e) | |
| Constructor con lista inicialización. | |
| TMatrix (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &) | |
| Constructor de copia. | |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > & | operator= (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &m) |
| Assignment operator. | |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > & | operator= (const GEOM_FT &n) |
| virtual bool | operator== (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &) const |
| Comparison operator. | |
| void | resize (size_t n_rows, size_t n_columns, GEOM_FT val) |
| Assignment operator. | |
| size_t | size (void) const |
| const vectorZ< GEOM_FT > & | getVector (void) const |
| const_reference | front () const |
| reference | front () |
| const_reference | back () const |
| reference | back () |
| const_iterator | begin () const |
| iterator | begin () |
| const_iterator | end () const |
| iterator | end () |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > & | Con (const GEOM_FT &t) |
| virtual reference | operator() (size_t iRow=1, size_t col=1) |
| virtual const_reference | operator() (size_t iRow=1, size_t col=1) const |
| virtual reference | at (size_t iRow=1, size_t col=1) |
| virtual const_reference | at (size_t iRow=1, size_t col=1) const |
| void | assign (size_t row, size_t col, const GEOM_FT &value) |
| Put the box int the position (f,c) of this matrix. | |
| void | swap (size_t f1, size_t c1, size_t f2, size_t c2) |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > & | Trn (void) |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | GetTrn (void) const |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | getBox (size_t f1, size_t c1, size_t f2, size_t c2) const |
| box_const_ref | GetBoxConstRef (size_t f1, size_t c1, size_t f2, size_t c2) const |
| box_const_ref | GetBoxConstRef (const RangoIndice &row_range, const RangoIndice &column_range) const |
| box_const_ref | GetBoxConstRef (size_t f=1, size_t c=1) const |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | getRow (size_t iRow) const |
| row_const_ref | getRowConstRef (size_t f, size_t c1, size_t c2) const |
| row_const_ref | getRowConstRef (size_t f, const RangoIndice &column_range) const |
| row_const_ref | getRowConstRef (size_t f=1, size_t c=1) const |
| const_ref_col | getColumnConstRef (size_t c, size_t f1, size_t f2) const |
| const_ref_col | getColumnConstRef (const RangoIndice &row_range, size_t c) const |
| const_ref_col | getColumnConstRef (size_t c=1, size_t f=1) const |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | getColumn (size_t col) const |
| TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | GetMenor (size_t f, size_t c) const |
| Return the minor of the matrix that corresponds to the row and the column arguments. More... | |
| void | putBox (size_t f, size_t c, const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &) |
| Put the box int the position (f,c) of this matrix. | |
| void | putRow (size_t iRow, const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &f) |
| void | PutCol (size_t col, const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &c) |
| void | OrlaCol (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &c) |
| void | decorateRow (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &f) |
| void | swapRows (size_t f1, size_t f2) |
| void | swapColumns (size_t c1, size_t c2) |
| virtual void | Print (std::ostream &) const |
Public Member Functions inherited from ProtoMatrix | |
| ProtoMatrix (size_t n_rows=1, size_t n_columns=1) | |
| ProtoMatrix (const ProtoMatrix &other) | |
| ProtoMatrix & | operator= (const ProtoMatrix &m) |
| virtual bool | operator== (const ProtoMatrix &other) const |
| virtual void | resize (size_t n_rows, size_t n_columns) |
| virtual size_t | Tam (void) |
| size_t | getNumberOfRows (void) const |
| size_t | getNumberOfColumns (void) const |
| bool | CheckIndices (const size_t &f, const size_t &c) const |
| bool | interior (const size_t &i, const size_t &j) const |
| Return true if the indices correspond to a component. | |
| int | Cuadrada (void) const |
| bool | isRow (void) const |
| bool | isColumn (void) const |
Public Member Functions inherited from vectorZ< GEOM_FT > | |
| vectorZ (size_type n, const GEOM_FT &value=GEOM_FT()) | |
| vectorZ (const lst_numero &ln) | |
| vectorZ (const vectorZ< GEOM_FT > &otro) | |
| vectorZ (const size_t &sz, const GEOM_FT arr[]) | |
| vectorZ (InputIterator b, InputIterator e) | |
| Constructor con lista inicialización. | |
| vectorZ< GEOM_FT > & | operator= (const vectorZ< GEOM_FT > &otro) |
| vectorZ< GEOM_FT > & | operator+= (const vectorZ< GEOM_FT > &otro) |
| vectorZ< GEOM_FT > & | operator-= (const vectorZ< GEOM_FT > &otro) |
| vectorZ< GEOM_FT > & | operator*= (const GEOM_FT &n) |
| void | Suma (const vectorZ< GEOM_FT > &v) |
| void | Suma (const vectorZ< GEOM_FT > &v1, const vectorZ< GEOM_FT > &v2) |
| void | Resta (const vectorZ< GEOM_FT > &v) |
| void | Resta (const vectorZ< GEOM_FT > &v1, const vectorZ< GEOM_FT > &v2) |
| void | Prod (const GEOM_FT &n) |
| void | PutSuma (size_type i, const GEOM_FT &n) |
| void | PutResta (size_type i, const GEOM_FT &n) |
| void | PutProd (size_type i, const GEOM_FT &n) |
| void | swap (size_type n1, size_type n2) |
| long | Busca (const GEOM_FT &n) const |
| void | Neg (void) |
| bool | Nulos (const GEOM_FT &tol=GEOM_FT()) |
| void | Con (size_type n1, size_type n2, const GEOM_FT &n) |
| void | Con (size_type n1, const GEOM_FT &n) |
| void | Con (const GEOM_FT &n) |
| GEOM_FT | Sumatorio (size_type i, size_type j) const |
| GEOM_FT | Productorio (size_type i, size_type j) const |
| vectorZ< GEOM_FT > | Left (size_t j) const |
| vectorZ< GEOM_FT > | Right (size_t j) const |
| vectorZ< GEOM_FT > | Mid (size_t i, size_t j) const |
| vectorZ< GEOM_FT > | GetMenor (size_t j) const |
| vectorZ< GEOM_FT > | Sustituye (size_t j, const vectorZ< GEOM_FT > &v) const |
| unsigned long | Distintos (const vectorZ< GEOM_FT > &v) const |
Friends | |
| FT_matrix | operator+ (const FT_matrix &a, const FT_matrix &b) |
| FT_matrix | operator- (const FT_matrix &a, const FT_matrix &b) |
| FT_matrix | operator* (const FT_matrix &a, const FT_matrix &b) |
| Producto de matrices. | |
| FT_matrix | operator* (const GEOM_FT &d, const FT_matrix &a) |
| Producto por un escalar. | |
| FT_matrix | operator* (const FT_matrix &a, const GEOM_FT &d) |
| Producto por un escalar. | |
| FT_matrix | operator^ (const FT_matrix &, const FT_matrix &v2) |
| Producto vectorial. ¡Ojo! está escrito para vectores de dimensión 3 xxx. | |
Additional Inherited Members | |
Public Types inherited from ZMatrix< GEOM_FT > | |
| typedef vectorZ< GEOM_FT > | vectorZ_numero |
| typedef TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | mT_numero |
| typedef vectorZ_numero::reference | reference |
| typedef vectorZ_numero::const_reference | const_reference |
| typedef vectorZ_numero::value_type | value_type |
| typedef vectorZ_numero::size_type | size_type |
| typedef mT_numero::lst_T | lst_numero |
Public Types inherited from TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | |
| typedef std::list< GEOM_FT > | lst_T |
| typedef vectorZ< GEOM_FT > ::iterator | iterator |
| typedef vectorZ< GEOM_FT > ::const_iterator | const_iterator |
| typedef vectorZ< GEOM_FT > ::value_type | value_type |
| typedef vectorZ< GEOM_FT > ::reference | reference |
| typedef vectorZ< GEOM_FT > ::const_reference | const_reference |
| typedef BoxConstRef< TMatrix< GEOM_FT, vectorZ< GEOM_FT > > > | box_const_ref |
| typedef RowConstRef< TMatrix< GEOM_FT, vectorZ< GEOM_FT > > > | row_const_ref |
| typedef ColumnConstRef< TMatrix< GEOM_FT, vectorZ< GEOM_FT > > > | const_ref_col |
Public Types inherited from vectorZ< GEOM_FT > | |
| typedef std::vector< GEOM_FT >::size_type | size_type |
| typedef std::list< GEOM_FT > | lst_numero |
Protected Types inherited from vectorZ< GEOM_FT > | |
| typedef std::vector< GEOM_FT > | vector_numero |
| typedef vectorZ< GEOM_FT > | vectorZ_numero |
Protected Member Functions inherited from ZMatrix< GEOM_FT > | |
| GEOM_FT | row_sum (size_type i) const |
| GEOM_FT | column_sum (size_type j) const |
Protected Member Functions inherited from TMatrix< GEOM_FT, vectorZ< GEOM_FT > > | |
| virtual size_t | Indice (const size_t &iRow, const size_t &iCol) const |
| bool | equal_to (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &m2) const |
| TMatrix (const TMatrix< GEOM_FT, vectorZ< GEOM_FT > > &orig, size_t f1, size_t c1, size_t f2, size_t c2) | |
Protected Member Functions inherited from ProtoMatrix | |
| void | PutDim (size_t nRows, size_t nCols) |
| void | inic (size_t n_rows, size_t n_columns) |
| virtual bool | check_range (const size_t &iRow, const size_t &col) const |
| void | check_put_box (size_t f, size_t c, const ProtoMatrix &box) const |
| void | check_get_box (size_t f1, size_t c1, size_t f2, size_t c2) const |
| void | check_sto_sum (const ProtoMatrix &m) const |
| void | check_sto_dif (const ProtoMatrix &m) const |
| void | check_traza (void) const |
Protected Attributes inherited from ProtoMatrix | |
| size_t | n_rows |
| size_t | n_columns |
Matrix which components are GEOM_FT numbers.
1.8.13