HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor Class Reference

Read/write accessor to a row of this matrix. More...

#include <ConjGradient.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor:

Public Member Functions

 RowEditor (ValueType *valueHead, SizeType *columnHead, SizeType &rowSize, SizeType colSize)
 
void clear ()
 Set the number of entries in this row to zero. More...
 
SizeType setValue (SizeType column, const ValueType &value)
 Set the value of the entry in the specified column. More...
 
template<typename Scalar >
void scale (const Scalar &)
 Scale all of the entries in this row. More...
 
template<typename Scalar >
RowEditoroperator*= (const Scalar &s)
 Scale all of the entries in this row. More...
 

Detailed Description

template<typename ValueType, SizeType STENCIL_SIZE>
class openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor

Read/write accessor to a row of this matrix.

Definition at line 419 of file ConjGradient.h.

Constructor & Destructor Documentation

template<typename ValueType, SizeType STENCIL_SIZE>
openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor::RowEditor ( ValueType valueHead,
SizeType columnHead,
SizeType rowSize,
SizeType  colSize 
)
inline

Definition at line 1203 of file ConjGradient.h.

Member Function Documentation

template<typename ValueType, SizeType STENCIL_SIZE>
void openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor::clear ( void  )
inline

Set the number of entries in this row to zero.

Definition at line 1212 of file ConjGradient.h.

template<typename ValueType, SizeType STENCIL_SIZE>
template<typename Scalar >
RowEditor& openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor::operator*= ( const Scalar &  s)
inline

Scale all of the entries in this row.

Definition at line 435 of file ConjGradient.h.

template<typename ValueType , SizeType STENCIL_SIZE>
template<typename Scalar >
void openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor::scale ( const Scalar &  s)
inline

Scale all of the entries in this row.

Definition at line 1263 of file ConjGradient.h.

template<typename ValueType, SizeType STENCIL_SIZE>
SizeType openvdb::OPENVDB_VERSION_NAME::math::pcg::SparseStencilMatrix< ValueType, STENCIL_SIZE >::RowEditor::setValue ( SizeType  column,
const ValueType value 
)
inline

Set the value of the entry in the specified column.

Returns
the current number of entries stored in this row.

Definition at line 1221 of file ConjGradient.h.


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