So-Bogus
A c++ sparse block matrix library aimed at Second Order cone problems
|
Public Types | |
enum | { transposeLhs = Lhs::do_transpose, transposeRhs = Rhs::do_transpose } |
typedef BlockObjectBase < BlockOp< LhsMatrixT, RhsMatrixT > > | Base |
typedef Base::PlainObjectType | PlainObjectType |
typedef BlockOperand< LhsMatrixT > | Lhs |
typedef BlockOperand< RhsMatrixT > | Rhs |
typedef Lhs::PlainObjectType | PlainLhsMatrixType |
typedef Rhs::PlainObjectType | PlainRhsMatrixType |
enum | |
enum | |
typedef BlockMatrixTraits < BlockOp< LhsMatrixT, RhsMatrixT > > | Traits |
typedef Traits::Index | Index |
typedef Traits::Scalar | Scalar |
typedef Traits::ConstTransposeReturnType | ConstTransposeReturnType |
typedef Traits::TransposeObjectType | TransposeObjectType |
Public Member Functions | |
BinaryBlockOp (const LhsMatrixT &l, const RhsMatrixT &r, typename Lhs::Scalar lscaling=1, typename Lhs::Scalar rscaling=1) | |
const BlockOp< LhsMatrixT, RhsMatrixT > & | derived () const |
Returns a const reference to the implementation. | |
BlockOp< LhsMatrixT, RhsMatrixT > & | derived () |
Returns a reference to the implementation. | |
Index | rows () const |
Returns the total number of rows of the matrix ( expanding blocks ) | |
Index | cols () const |
Returns the total number of columns of the matrix ( expanding blocks ) | |
Index | blockRows (Index row) const |
Returns the number of rows of a given block row. | |
Index | blockCols (Index col) const |
Returns the number of columns of a given block columns. | |
Index | rowsOfBlocks () const |
Returns the number of block rows of the matrix. | |
Index | colsOfBlocks () const |
Returns the number of block columns of the matrix. | |
const Index * | rowOffsets () const |
Returns an array containing the first index of each row. | |
const Index * | colOffsets () const |
Returns an array containing the first index of each column. | |
Index | rowOffset (Index row) const |
Returns an array containing the first index of a given row. | |
Index | colOffset (Index col) const |
Returns an array containing the first index of a given columns. | |
ConstTransposeReturnType | transpose () const |
Return a const transposed view of this object. | |
void | multiply (const RhsT &rhs, ResT &res, Scalar alpha=1, Scalar beta=0) const |
Performs a matrix vector multiplication. More... | |
Public Attributes | |
const Lhs | lhs |
const Rhs | rhs |
|
inherited |
Performs a matrix vector multiplication.
DoTranspose | If true, performs res = alpha * M' * rhs + beta * res, otherwise res = alpha * M * rhs + beta * res |