|
Abstract non Polymorphyc Matrix:
|
Functions to manipulate Matrix_BASE<>.
More...
Go to the source code of this file.
Namespaces | |
| namespace | Mx |
| Chirrisquitica matrix by adolfo@di-mare.com. | |
Defines | |
| #define | Matrix_Lib_h |
| Used to avoid multiple inclusion. | |
| #define | English_dox "Doxygen: English documentation" |
| "Doxygen: English documentation" | |
Functions | |
| template<class MAT > | |
| bool | Mx::isSquare (const MAT &M) |
Returns "true" if matrix M[][] is square. | |
| template<class MAT > | |
| bool | Mx::isDiagonal (const MAT &M) |
Returns "true" if matrix M[][] is diagonal. | |
| template<class MAT > | |
| bool | Mx::isScalar (const MAT &M) |
Returns "true" if matrix M[][] is scalar. | |
| template<class MAT > | |
| bool | Mx::isUnit (const MAT &M) |
Returns "true" if matrix M[][] is a unit matrix. | |
| template<class MAT > | |
| void | Mx::setUnit (const MAT &M, unsigned n) |
Transforms M[][] into a identity matrix of size n x n. | |
| template<class MAT > | |
| bool | Mx::isNull (const MAT &M) |
Returns "true" if matrix M[][] is null. | |
| template<class MAT > | |
| bool | Mx::isSymmetric (const MAT &M) |
Returns "true" if matrix M[][] is symetric. | |
| template<class MAT > | |
| bool | Mx::isUpperTiangular (const MAT &M) |
Returns "true" if matrix M[][] is upper triangular. | |
| template<class MAT > | |
| bool | Mx::isLowerTiangular (const MAT &M) |
Returns "true" if matrix M[][] is lower triangular. | |
| template<class E > | |
| std::ostream & | operator<< (std::ostream &COUT, const Mx::Matrix_BASE< E > &M) |
Stores into stream COUT the value for M[][]. | |
| template<class E > | |
| std::istream & | operator>> (std::istream &CIN, Mx::Matrix_BASE< E > &M) |
Gets from stream CIN the value for M[][]. | |
Functions to manipulate Matrix_BASE<>.
Definition in file Matrix_Lib.h.
| #define Matrix_Lib_h |
Used to avoid multiple inclusion.
| #define English_dox "Doxygen: English documentation" |
"Doxygen: English documentation"
Definition at line 255 of file Matrix_Lib.h.
| std::ostream& operator<< | ( | std::ostream & | COUT, |
| const Mx::Matrix_BASE< E > & | M | ||
| ) |
Stores into stream COUT the value for M[][].
Definition at line 216 of file Matrix_Lib.h.
| std::istream& operator>> | ( | std::istream & | CIN, |
| Mx::Matrix_BASE< E > & | M | ||
| ) |
Gets from stream CIN the value for M[][].
Definition at line 234 of file Matrix_Lib.h.
1.8.0