CubbyFlow::FDMCompressedBLAS2 Struct Reference
BLAS operator wrapper for compressed 2-D finite differencing. More...
#include <Core/FDM/FDMLinearSystem2.hpp>
Public Types | |
| using | ScalarType = double |
| using | VectorType = VectorND |
| using | MatrixType = MatrixCSRD |
Static Public Member Functions | |
| static void | Set (ScalarType s, VectorType *result) |
Sets entire element of given vector result with scalar s. More... | |
| static void | Set (const VectorType &v, VectorType *result) |
Copies entire element of given vector result with other vector v. More... | |
| static void | Set (ScalarType s, MatrixType *result) |
Sets entire element of given matrix result with scalar s. More... | |
| static void | Set (const MatrixType &m, MatrixType *result) |
Copies entire element of given matrix result with other matrix v. More... | |
| static double | Dot (const VectorType &a, const VectorType &b) |
Performs dot product with vector a and b. More... | |
| static void | AXPlusY (double a, const VectorType &x, const VectorType &y, VectorType *result) |
| static void | MVM (const MatrixType &m, const VectorType &v, VectorType *result) |
| Performs matrix-vector multiplication. More... | |
| static void | Residual (const MatrixType &a, const VectorType &x, const VectorType &b, VectorType *result) |
| Computes residual vector (b - ax). More... | |
| static ScalarType | L2Norm (const VectorType &v) |
Returns L2-norm of the given vector v. More... | |
| static ScalarType | LInfNorm (const VectorType &v) |
Returns Linf-norm of the given vector v. More... | |
Detailed Description
BLAS operator wrapper for compressed 2-D finite differencing.
Member Typedef Documentation
◆ MatrixType
◆ ScalarType
| using CubbyFlow::FDMCompressedBLAS2::ScalarType = double |
◆ VectorType
Member Function Documentation
◆ AXPlusY()
|
static |
Performs ax + y operation where a is a matrix and x and y are vectors.
◆ Dot()
|
static |
Performs dot product with vector a and b.
◆ L2Norm()
|
static |
Returns L2-norm of the given vector v.
◆ LInfNorm()
|
static |
Returns Linf-norm of the given vector v.
◆ MVM()
|
static |
Performs matrix-vector multiplication.
◆ Residual()
|
static |
Computes residual vector (b - ax).
◆ Set() [1/4]
|
static |
Sets entire element of given vector result with scalar s.
◆ Set() [2/4]
|
static |
Copies entire element of given vector result with other vector v.
◆ Set() [3/4]
|
static |
Sets entire element of given matrix result with scalar s.
◆ Set() [4/4]
|
static |
Copies entire element of given matrix result with other matrix v.
The documentation for this struct was generated from the following file:
- Core/FDM/FDMLinearSystem2.hpp
1.8.13