jrl::qp::structured::StructuredG Class Reference

#include <jrl-qp/structured/StructuredG.h>

Public Types

enum  Type { Type::TriBlockDiagonal, Type::BlockArrowUp, Type::BlockArrowDown }
 

Public Member Functions

 StructuredG ()=default
 
 StructuredG (Type t, const std::vector< MatrixRef > &diag, const std::vector< MatrixRef > &offDiag)
 
Type type () const
 
const MatrixRefdiag (int i) const
 
const MatrixRefoffDiag (int i) const
 
int nbVar () const
 
int nbVar (int i) const
 
bool lltInPlace ()
 
bool decomposed () const
 
void solveInPlaceLTranspose (VectorRef v) const
 
void solveL (VectorRef out, const VectorConstRef &in) const
 
void solveL (VectorRef out, const internal::SingleNZSegmentVector &in) const
 

Friends

std::ostream & operator<< (std::ostream &os, const StructuredG &)
 

Member Enumeration Documentation

◆ Type

Enumerator
TriBlockDiagonal 
BlockArrowUp 
BlockArrowDown 

Constructor & Destructor Documentation

◆ StructuredG() [1/2]

jrl::qp::structured::StructuredG::StructuredG ( )
default

◆ StructuredG() [2/2]

jrl::qp::structured::StructuredG::StructuredG ( Type  t,
const std::vector< MatrixRef > &  diag,
const std::vector< MatrixRef > &  offDiag 
)

Member Function Documentation

◆ decomposed()

bool jrl::qp::structured::StructuredG::decomposed ( ) const
inline

◆ diag()

const MatrixRef& jrl::qp::structured::StructuredG::diag ( int  i) const
inline

◆ lltInPlace()

bool jrl::qp::structured::StructuredG::lltInPlace ( )

◆ nbVar() [1/2]

int jrl::qp::structured::StructuredG::nbVar ( ) const
inline

◆ nbVar() [2/2]

int jrl::qp::structured::StructuredG::nbVar ( int  i) const
inline

◆ offDiag()

const MatrixRef& jrl::qp::structured::StructuredG::offDiag ( int  i) const
inline

◆ solveInPlaceLTranspose()

void jrl::qp::structured::StructuredG::solveInPlaceLTranspose ( VectorRef  v) const

◆ solveL() [1/2]

void jrl::qp::structured::StructuredG::solveL ( VectorRef  out,
const internal::SingleNZSegmentVector in 
) const

◆ solveL() [2/2]

void jrl::qp::structured::StructuredG::solveL ( VectorRef  out,
const VectorConstRef in 
) const

◆ type()

Type jrl::qp::structured::StructuredG::type ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const StructuredG  
)
friend

The documentation for this class was generated from the following files: