Class that creates empty matrix objects of the specified type.
More...
#include <MatrixFactory.h>
template<
typename T>
class MatrixFactory< T >
Class that creates empty matrix objects of the specified type.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double) |
◆ MatrixFactory() [1/2]
Constructor from enum (internal use) for the MatrixFactory class.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double) |
- Parameters
-
| type | The default value for the matrix type as MatrixType enum value. Currently implemented: "Dense", "Csr". |
◆ MatrixFactory() [2/2]
Constructor from string (user config) for the MatrixFactory class.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double) |
- Parameters
-
| type | The default value for the matrix type. Currently implemented: "dense", "csr". |
◆ createShared() [1/2]
Creation function that creates a Matrix based on the default type.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double) |
- Parameters
-
| type | The matrix type as MatrixType enum value. Currently implemented: "Dense", "Csr". |
◆ createShared() [2/2]
Creation function that creates a Matrix based on the supplied type.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double). |
- Parameters
-
| type | The matrix type as MatrixType enum value. Currently implemented: "Dense", "Csr". |
◆ createUnique() [1/2]
Creation function that creates a Matrix based on the default type.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double) |
◆ createUnique() [2/2]
Creation function that creates a Matrix based on the supplied type.
- Template Parameters
-
| T | Numeric type used in the simulation (e.g., float, double) |
- Parameters
-
| type | The matrix type as MatrixType enum value. Currently implemented: "Dense", "Csr". |
The documentation for this class was generated from the following file: