|
template<typename MatrixElementsLambda , typename CompressedRowLengthsLambda > |
static auto | create (IndexType rows, IndexType columns, MatrixElementsLambda &matrixElementsLambda, CompressedRowLengthsLambda &compressedRowLengthsLambda) -> LambdaMatrix< MatrixElementsLambda, CompressedRowLengthsLambda, Real, Device, Index > |
| Creates lambda matrix with given dimensions and lambda functions.
|
|
template<typename MatrixElementsLambda , typename CompressedRowLengthsLambda > |
static auto | create (MatrixElementsLambda &matrixElementsLambda, CompressedRowLengthsLambda &compressedRowLengthsLambda) -> LambdaMatrix< MatrixElementsLambda, CompressedRowLengthsLambda, Real, Device, Index > |
| Creates lambda matrix with given lambda functions.
|
|
template<typename
Real = double, typename Device = Devices::Host, typename Index = int>
struct TNL::Matrices::LambdaMatrixFactory< Real, Device, Index >
Helper class for creating instances of LambdaMatrix.
See LambdaMatrix.
- Parameters
-
matrixElementsLambda | |
compressedRowLengthsLambda | |