HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::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

template<typename T >
void openvdb::OPENVDB_VERSION_NAME::math::pcg::internal::axpy ( const T &  a,
const T *  xVec,
const T *  yVec,
T *  resultVec,
SizeType  size 
)
inline

Compute ax + y.

Definition at line 1560 of file ConjGradient.h.

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

Compute ax + y.

Definition at line 1568 of file ConjGradient.h.

template<typename MatrixOperator , typename VecValueType >
void openvdb::OPENVDB_VERSION_NAME::math::pcg::internal::computeResidual ( const MatrixOperator &  A,
const VecValueType *  x,
const VecValueType *  b,
VecValueType *  r 
)
inline

Compute r = bAx.

Definition at line 1579 of file ConjGradient.h.

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

Compute r = bAx.

Definition at line 1591 of file ConjGradient.h.