Inherits SparseStencilMatrix< ValueType_, STENCIL_SIZE >::RowBase< DataType_ >.
|
| RowEditor (ValueType *valueHead, SizeType *columnHead, SizeType &rowSize, SizeType colSize) |
|
void | clear () |
| Set the number of entries in this row to zero.
|
|
SizeType | setValue (SizeType column, const ValueType &value) |
| Set the value of the entry in the specified column.
|
|
template<typename Scalar > |
void | scale (const Scalar &) |
| Scale all of the entries in this row.
|
|
template<typename Scalar > |
RowEditor & | operator*= (const Scalar &s) |
|
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.
|
|
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.
|
|
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.
|
|
template<typename VecValueType > |
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.
|
|
template<typename ValueType_,
SizeType STENCIL_SIZE>
class openvdb::v10_0::math::pcg::SparseStencilMatrix< ValueType_, STENCIL_SIZE >::RowEditor
Read/write accessor to a row of this matrix.