Read-only accessor to a row of this matrix. More...
#include <openvdb/math/ConjGradient.h>
Public Types | |
using | DataType |
Public Member Functions | |
ConstRow (const ValueType *valueHead, const SizeType *columnHead, const SizeType &rowSize) | |
bool | empty () const |
bool | empty () const |
const SizeType & | size () const |
const SizeType & | size () const |
const ValueType & | getValue (SizeType columnIdx, bool &active) const |
const ValueType & | getValue (SizeType columnIdx) 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. | |
ConstValueIter | cbegin () const |
Return an iterator over the stored values in this row. | |
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. | |
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. | |
VecValueType | dot (const VecValueType *inVec, SizeType vecSize) const |
Return the dot product of this row with the first vecSize elements of inVec. | |
VecValueType | dot (const Vector< VecValueType > &inVec) const |
Return the dot product of this row with the given vector. | |
VecValueType | dot (const VecValueType *inVec, SizeType vecSize) const |
Return the dot product of this row with the first vecSize elements of inVec. | |
VecValueType | dot (const Vector< VecValueType > &inVec) const |
Return the dot product of this row with the given vector. | |
std::string | str () const |
Return a string representation of this row. | |
std::string | str () const |
Return a string representation of this row. | |
Static Public Member Functions | |
static SizeType | capacity () |
static SizeType | capacity () |
Protected Member Functions | |
const ValueType & | value (SizeType i) const |
const ValueType & | value (SizeType i) const |
SizeType | column (SizeType i) const |
SizeType | column (SizeType i) const |
SizeType | find (SizeType columnIdx) const |
Return the array index of the first column index that is equal to or greater than the given column index. | |
SizeType | find (SizeType columnIdx) const |
Return the array index of the first column index that is equal to or greater than the given column index. | |
Protected Attributes | |
DataType | mData |
DataType | mData |
Read-only accessor to a row of this matrix.
|
inherited |
|
inline |
|
inlinestaticinherited |
|
inlinestaticinherited |
|
inherited |
Return an iterator over the stored values in this row.
|
inlineinherited |
Return an iterator over the stored values in this row.
|
inherited |
Return the dot product of this row with the given vector.
|
inlineinherited |
Return the dot product of this row with the given vector.
|
inherited |
Return the dot product of this row with the first vecSize elements of inVec.
|
inlineinherited |
Return the dot product of this row with the first vecSize elements of inVec.
|
inlineinherited |
|
inlineinherited |
|
inherited |
Return true
if this row is equivalent to the given row to within the specified tolerance.
|
inlineinherited |
Return true
if this row is equivalent to the given row to within the specified tolerance.
Return the array index of the first column index that is equal to or greater than the given column index.
Return the array index of the first column index that is equal to or greater than the given column index.
|
inlineinherited |
|
inlineinherited |
|
inherited |
Return a string representation of this row.
|
inlineinherited |
Return a string representation of this row.
|
protectedinherited |
|
protectedinherited |