28 std::cerr <<
"[CoreEnums]: Unrecognized dimension. Please select \"1D\", \"2D\" or \"3D\" as "
30 throw std::runtime_error(
static_cast<std::string
>(
31 "[CoreEnums]: Unrecognized dimension. Please select \"1D\", \"2D\" or \"3D\" as "
43 if (
type ==
"dense" ||
type ==
"Dense")
51 std::cerr <<
"[CoreEnums]: Unknown matrix type: " <<
type
52 <<
"Please select \"Dense\" or \"Csr\".\n";
53 throw std::runtime_error(
static_cast<std::string
>(
"[CoreEnums]: Unknown matrix type: ") +
type
54 +
static_cast<std::string
>(
"Please select \"Dense\" or \"Csr\"."));
constexpr MatrixType setMatrixType(const std::string &type)
Definition CoreEnums.h:41
MatrixType
Definition CoreEnums.h:36
Dimension
Definition CoreEnums.h:8
constexpr Dimension setDimension(const std::string &dimension)
Definition CoreEnums.h:14
Concrete implementation of a matrix class representing a Compressed Sparse Rows (CSR) matrix....
Definition CsrMatrix.h:37