So-Bogus
A c++ sparse block matrix library aimed at Second Order cone problems
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
bogus::Addition< LhsMatrixT, RhsMatrixT > Struct Template Reference
Inheritance diagram for bogus::Addition< LhsMatrixT, RhsMatrixT >:
bogus::BinaryBlockOp< Addition, LhsMatrixT, RhsMatrixT > bogus::BlockObjectBase< Addition< LhsMatrixT, RhsMatrixT > >

Public Types

typedef BinaryBlockOp
< bogus::Addition, LhsMatrixT,
RhsMatrixT > 
Base
 
typedef Base::Scalar Scalar
 
typedef Base::Index Index
 
enum  
 
typedef Base::PlainObjectType PlainObjectType
 
typedef BlockOperand< LhsMatrixT > Lhs
 
typedef BlockOperand< RhsMatrixT > Rhs
 
typedef Lhs::PlainObjectType PlainLhsMatrixType
 
typedef Rhs::PlainObjectType PlainRhsMatrixType
 
enum  
 
enum  
 
typedef BlockMatrixTraits
< Addition< LhsMatrixT,
RhsMatrixT > > 
Traits
 
typedef
Traits::ConstTransposeReturnType 
ConstTransposeReturnType
 
typedef Traits::TransposeObjectType TransposeObjectType
 

Public Member Functions

 Addition (const LhsMatrixT &l, const RhsMatrixT &r, typename Base::Lhs::Scalar lscaling=1, typename Base::Lhs::Scalar rscaling=1)
 
Base::ConstTransposeReturnType transpose () const
 
template<bool DoTranspose, typename RhsT , typename ResT >
void multiply (const RhsT &rhs, ResT &res, Scalar alpha=1, Scalar beta=0) const
 
Index rows () const
 
Index cols () const
 
Index rowsOfBlocks () const
 
Index colsOfBlocks () const
 
Index blockRows (Index row) const
 
Index blockCols (Index col) const
 
const Index * rowOffsets () const
 
const Index * colOffsets () const
 
const Addition< LhsMatrixT,
RhsMatrixT > & 
derived () const
 Returns a const reference to the implementation.
 
Addition< LhsMatrixT,
RhsMatrixT > & 
derived ()
 Returns a reference to the implementation.
 
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.
 

Public Attributes

const Lhs lhs
 
const Rhs rhs
 

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