#include <MatrixFactory.hpp>
|
| static AMatrix * | prodMatMat (const AMatrix *x, const AMatrix *y, bool transposeX=false, bool transposeY=false) |
| | TODO : Use smartpointer. More...
|
| |
| template<typename T > |
| static T * | prodMatMat (const AMatrix *x, const AMatrix *y, bool transposeX=false, bool transposeY=false) |
| |
| static AMatrixSquare * | createMatrixSquare (const AMatrixSquare *x, int nrow) |
| |
| static AMatrix * | createReduce (const AMatrix *x, const VectorInt &selRows=VectorInt(), const VectorInt &selCols=VectorInt(), bool flagKeepRows=true, bool flagKeepCols=true) |
| |
| static AMatrix * | createReduceOne (const AMatrix *x, int selRow=-1, int selCol=-1, bool flagKeepRow=true, bool flagKeepCol=true) |
| |
| static AMatrix * | createGlue (const AMatrix *a1, const AMatrix *a2, bool flagShiftRow, bool flagShiftCol) |
| |
◆ createGlue()
| AMatrix * MatrixFactory::createGlue |
( |
const AMatrix * |
a1, |
|
|
const AMatrix * |
a2, |
|
|
bool |
flagShiftRow, |
|
|
bool |
flagShiftCol |
|
) |
| |
|
static |
Concatenate two matrices
- Returns
- Pointer on the newly created concatenated matrix (or NULL)
- Parameters
-
| [in] | a1 | Pointer to the first matrix |
| [in] | a2 | Pointer to the second matrix |
| [in] | flagShiftRow | Concatenate by Row |
| [in] | flagShiftCol | Concatenate by Column |
◆ createMatrixSquare()
Create a Matrix similar to the input one with a given row number
- Returns
- Pointer to the newly created AMatrix matrix
- Parameters
-
| [in] | x | First AMatrix matrix |
| [in] | nrow | Number of rows |
TODO : use typeinfo
◆ createReduce()
Create a submatrix from an input matrix by specifying the list of rows and columns to be extracted or excluded
- Parameters
-
| x | Input matrix |
| selRows | List of selected rows |
| selCols | List of selected columns |
| flagKeepRows | True if the selected rows must be kept (they must be excluded otherwise) |
| flagKeepCols | True if the selected columns must be kept (they must be excluded otherwise) |
- Returns
TODO : use typeinfo
◆ createReduceOne()
| AMatrix * MatrixFactory::createReduceOne |
( |
const AMatrix * |
x, |
|
|
int |
selRow = -1, |
|
|
int |
selCol = -1, |
|
|
bool |
flagKeepRow = true, |
|
|
bool |
flagKeepCol = true |
|
) |
| |
|
static |
Create a submatrix from an input matrix by specifying the row and or column to be extracted or excluded
- Parameters
-
| x | Input matrix |
| selRow | Rank of the selected row |
| selCol | Rank of the selected column |
| flagKeepRow | True if the selected row must be kept (it must be excluded otherwise) |
| flagKeepCol | True if the selected column must be kept (it must be excluded otherwise) |
- Returns
◆ prodMatMat() [1/2]
| AMatrix * MatrixFactory::prodMatMat |
( |
const AMatrix * |
x, |
|
|
const AMatrix * |
y, |
|
|
bool |
transposeX = false, |
|
|
bool |
transposeY = false |
|
) |
| |
|
static |
TODO : Use smartpointer.
Performs the product of two matrices: X * Y
- Returns
- Pointer to the newly created AMatrix matrix
- Parameters
-
| [in] | x | First AMatrix matrix |
| [in] | y | Second AMatrix matrix |
| [in] | transposeX | True if First matrix is transposed |
| [in] | transposeY | True if Second matrix is transposed |
◆ prodMatMat() [2/2]
template<typename T >
| T * MatrixFactory::prodMatMat |
( |
const AMatrix * |
x, |
|
|
const AMatrix * |
y, |
|
|
bool |
transposeX = false, |
|
|
bool |
transposeY = false |
|
) |
| |
|
static |
Performs the product of two matrices: X * Y
- Returns
- Pointer to the newly created AMatrix matrix
- Parameters
-
| [in] | x | First AMatrix matrix |
| [in] | y | Second AMatrix matrix |
| [in] | transposeX | True if First matrix is transposed |
| [in] | transposeY | True if Second matrix is transposed |
TODO : Why 2 methods for MatrixFactory::prodMatMat ?
TODO : if MatrixSparse => x or y 'eigen flag' is ignored
The documentation for this class was generated from the following files: