7 #ifndef __ASINDEXPCALCULATOR_HPP__
8 #define __ASINDEXPCALCULATOR_HPP__
31 const std::string& prefix);
40 const std::string& name,
42 const std::string& prefix)
const;
52 std::map< Index, SmartPtr<PColumn> >
cols_;
std::map< Index, SmartPtr< PColumn > > cols_
virtual ~IndexPCalculator()
virtual void PrintImpl(const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const
virtual const Number * Values() const
virtual void GetSchurMatrixRows(const std::vector< Index > *row_idx_B, Number *S) const
virtual bool GetSchurMatrix(const SmartPtr< const SchurData > &B, SmartPtr< Matrix > &S)
Function to extract a SchurMatrix corresponding to $B K^{-1} A$.
double Number
Type of all numbers.
PColumn(Index nrows, Number *values)
This class provides an easy interface for PCalculators with data where columns are not necessarily in...
EJournalLevel
Print Level Enum.
Index nrows_
Rows of P = Rows of KKT.
Template class for Smart Pointers.
This class stores a list of user set options.
int Index
Type of all indices of vectors, matrices etc.
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Overloaded from PCalculator.
Class responsible for all message output.
virtual bool ComputeP()
Function to start the computation of P from E_0 and KKT.
IndexPCalculator(SmartPtr< SensBacksolver > backsolver, SmartPtr< SchurData > A_data)
This class is the implementation of the PCalculator that corresponds to IndexSchurData.
EJournalCategory
Category Selection Enum.