|
<T>LAPACK 0.1.2
C++ Template Linear Algebra PACKage
|
Functor for data creation with static size. More...
#include <arrayTraits.hpp>
Public Member Functions | |
| template<typename T > | |
| constexpr auto | operator() (T *v) const |
| Creates a m-by-n matrix or, if n == -1, a vector of size m. | |
Functor for data creation with static size.
This is a boilerplate. It must be specialized for each class. See tlapack::Create for examples of usage.
| matrix_t | Data structure. |
| m | Number of rows of the new matrix or number of elements of the new vector. m >= 0. |
| n | Number of columns of the new matrix. If n == -1 then the functor creates a vector of size m. Otherwise, n >= 0. |
| class | If this is not an int, then the trait is not defined. |
|
inlineconstexpr |
Creates a m-by-n matrix or, if n == -1, a vector of size m.
| T | Entry type. |
| [in] | v | Pointer to the memory that may be used to store the matrix or vector. |