Read-only accessor to a row of this matrix.
More...
#include <ConjGradient.h>
Inherits SparseStencilMatrix< ValueType_, STENCIL_SIZE >::RowBase< DataType_ >.
|
using | DataType = DataType_ |
|
|
| ConstRow (const ValueType *valueHead, const SizeType *columnHead, const SizeType &rowSize) |
|
bool | empty () const |
|
const SizeType & | size () const |
|
const ValueType & | getValue (SizeType columnIdx, bool &active) const |
|
const ValueType & | getValue (SizeType columnIdx) const |
|
ConstValueIter | cbegin () const |
| Return an iterator over the stored values in this row. More...
|
|
template<typename OtherDataType > |
bool | eq (const RowBase< OtherDataType > &other, ValueType eps=Tolerance< ValueType >::value()) const |
| Return true if this row is equivalent to the given row to within the specified tolerance. More...
|
|
template<typename VecValueType > |
VecValueType | dot (const VecValueType *inVec, SizeType vecSize) const |
| Return the dot product of this row with the first vecSize elements of inVec. More...
|
|
template<typename VecValueType > |
VecValueType | dot (const Vector< VecValueType > &inVec) const |
| Return the dot product of this row with the given vector. More...
|
|
std::string | str () const |
| Return a string representation of this row. More...
|
|
template<typename ValueType_, SizeType STENCIL_SIZE>
class openvdb::v6_0::math::pcg::SparseStencilMatrix< ValueType_, STENCIL_SIZE >::ConstRow
Read-only accessor to a row of this matrix.
◆ DataType
using DataType = DataType_ |
|
inherited |
◆ ConstRow()
◆ capacity()
◆ cbegin()
Return an iterator over the stored values in this row.
◆ column()
◆ dot() [1/2]
VecValueType dot |
( |
const VecValueType * |
inVec, |
|
|
SizeType |
vecSize |
|
) |
| const |
|
inlineinherited |
Return the dot product of this row with the first vecSize elements of inVec.
- Warning
- inVec must have at least vecSize elements.
◆ dot() [2/2]
VecValueType dot |
( |
const Vector< VecValueType > & |
inVec | ) |
const |
|
inlineinherited |
Return the dot product of this row with the given vector.
◆ empty()
◆ eq()
Return true
if this row is equivalent to the given row to within the specified tolerance.
◆ find()
Return the array index of the first column index that is equal to or greater than the given column index.
- Note
- If columnIdx is larger than any existing column index, the return value will point beyond the end of the array.
◆ getValue() [1/2]
◆ getValue() [2/2]
◆ size()
◆ str()
std::string str |
( |
| ) |
const |
|
inlineinherited |
Return a string representation of this row.
◆ value()
◆ mData
The documentation for this class was generated from the following file: