codac 2.0.0
|
Go to the source code of this file.
Functions | |
template<int R = RowsAtCompileTime, int C = ColsAtCompileTime> requires (!IsIntervalDomain<Scalar>) && (IsVectorOrRow<R,C>) | |
Matrix (std::initializer_list< double > l) | |
Constructs a vector or row matrix from a list of double values. | |
template<int R = RowsAtCompileTime, int C = ColsAtCompileTime> requires (!IsIntervalDomain<Scalar>) && (IsVectorOrRow<R,C>) | |
Matrix (int n, double values[]) | |
Constructs a vector or row matrix of size n from an array of double values. | |
This file is included in the declaration of Eigen::MatrixBase, thanks to the preprocessor token EIGEN_MATRIX_PLUGIN. See: https://eigen.tuxfamily.org/dox/TopicCustomizing_Plugins.html and the file codac2_matrices.h
Matrix | ( | std::initializer_list< double > | l | ) |
Constructs a vector or row matrix from a list of double values.
IsVectorOrRow<R,C>
).l | Initializer list of double values to populate the matrix. |
If the compile-time size is fixed to 1 (vector or row), the size is 1; otherwise, the size matches the initializer list size.
|
explicit |
Constructs a vector or row matrix of size n
from an array of double values.
IsVectorOrRow<R,C>
).n | Number of elements (must be greater than 0). |
values | Pointer to an array of double values to initialize the matrix. |