CubbyFlow::FDMCompressedBLAS3 Struct Reference

BLAS operator wrapper for compressed 3-D finite differencing. More...

#include <Core/FDM/FDMLinearSystem3.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 3-D finite differencing.

Member Typedef Documentation

◆ MatrixType

◆ ScalarType

◆ VectorType

Member Function Documentation

◆ AXPlusY()

static void CubbyFlow::FDMCompressedBLAS3::AXPlusY ( double  a,
const VectorType x,
const VectorType y,
VectorType result 
)
static

Performs ax + y operation where a is a matrix and x and y are vectors.

◆ Dot()

static double CubbyFlow::FDMCompressedBLAS3::Dot ( const VectorType a,
const VectorType b 
)
static

Performs dot product with vector a and b.

◆ L2Norm()

static ScalarType CubbyFlow::FDMCompressedBLAS3::L2Norm ( const VectorType v)
static

Returns L2-norm of the given vector v.

◆ LInfNorm()

static ScalarType CubbyFlow::FDMCompressedBLAS3::LInfNorm ( const VectorType v)
static

Returns Linf-norm of the given vector v.

◆ MVM()

static void CubbyFlow::FDMCompressedBLAS3::MVM ( const MatrixType m,
const VectorType v,
VectorType result 
)
static

Performs matrix-vector multiplication.

◆ Residual()

static void CubbyFlow::FDMCompressedBLAS3::Residual ( const MatrixType a,
const VectorType x,
const VectorType b,
VectorType result 
)
static

Computes residual vector (b - ax).

◆ Set() [1/4]

static void CubbyFlow::FDMCompressedBLAS3::Set ( ScalarType  s,
VectorType result 
)
static

Sets entire element of given vector result with scalar s.

◆ Set() [2/4]

static void CubbyFlow::FDMCompressedBLAS3::Set ( const VectorType v,
VectorType result 
)
static

Copies entire element of given vector result with other vector v.

◆ Set() [3/4]

static void CubbyFlow::FDMCompressedBLAS3::Set ( ScalarType  s,
MatrixType result 
)
static

Sets entire element of given matrix result with scalar s.

◆ Set() [4/4]

static void CubbyFlow::FDMCompressedBLAS3::Set ( const MatrixType m,
MatrixType result 
)
static

Copies entire element of given matrix result with other matrix v.


The documentation for this struct was generated from the following file: