7#ifndef __ASINDEXPCALCULATOR_HPP__
8#define __ASINDEXPCALCULATOR_HPP__
34 const std::string& prefix
48 const std::string& name,
50 const std::string& prefix
60 std::map<Index, SmartPtr<PColumn> >
cols_;
76 const std::vector<Index>* row_idx_B,
virtual bool InitializeImpl(const OptionsList &options, const std::string &prefix)
Overloaded from PCalculator.
virtual void PrintImpl(const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const
IndexPCalculator(SmartPtr< SensBacksolver > backsolver, SmartPtr< SchurData > A_data)
This class is the implementation of the PCalculator that corresponds to IndexSchurData.
std::map< Index, SmartPtr< PColumn > > cols_
virtual bool ComputeP()
Function to start the computation of P from E_0 and KKT.
Index nrows_
Rows of P = Rows of KKT.
virtual ~IndexPCalculator()
virtual bool GetSchurMatrix(const SmartPtr< const SchurData > &B, SmartPtr< Matrix > &S)
Function to extract a SchurMatrix corresponding to $B K^{-1} A$.
Class responsible for all message output.
This class stores a list of user set options.
This class is the interface for implementations of any class that calculates the matrix of the follo...
This class provides an easy interface for PCalculators with data where columns are not necessarily in...
virtual void GetSchurMatrixRows(const std::vector< Index > *row_idx_B, Number *S) const
virtual const Number * Values() const
Storing the reference count of all the smart pointers that currently reference it.
Template class for Smart Pointers.
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.
EJournalCategory
Category Selection Enum.
EJournalLevel
Print Level Enum.
ipnumber Number
Type of all numbers.