OpenVDB  12.0.0
Classes | Functions
openvdb::v12_0::math::pcg::internal Namespace Reference

Classes

struct  CopyOp
 
struct  FillOp
 
struct  LinearOp
 

Functions

template<typename T >
void axpy (const T &a, const T *xVec, const T *yVec, T *resultVec, SizeType size)
 Compute ax + y. More...
 
template<typename T >
void axpy (const T &a, const Vector< T > &xVec, const Vector< T > &yVec, Vector< T > &result)
 Compute ax + y. More...
 
template<typename MatrixOperator , typename VecValueType >
void computeResidual (const MatrixOperator &A, const VecValueType *x, const VecValueType *b, VecValueType *r)
 Compute r = bAx. More...
 
template<typename MatrixOperator , typename T >
void computeResidual (const MatrixOperator &A, const Vector< T > &x, const Vector< T > &b, Vector< T > &r)
 Compute r = bAx. More...
 

Function Documentation

void openvdb::v12_0::math::pcg::internal::axpy ( const T &  a,
const T *  xVec,
const T *  yVec,
T *  resultVec,
SizeType  size 
)
inline

Compute ax + y.

void openvdb::v12_0::math::pcg::internal::axpy ( const T &  a,
const Vector< T > &  xVec,
const Vector< T > &  yVec,
Vector< T > &  result 
)
inline

Compute ax + y.

void openvdb::v12_0::math::pcg::internal::computeResidual ( const MatrixOperator &  A,
const VecValueType *  x,
const VecValueType *  b,
VecValueType *  r 
)
inline

Compute r = bAx.

void openvdb::v12_0::math::pcg::internal::computeResidual ( const MatrixOperator &  A,
const Vector< T > &  x,
const Vector< T > &  b,
Vector< T > &  r 
)
inline

Compute r = bAx.