#include <IpScaledMatrix.hpp>
Inheritance diagram for Ipopt::ScaledMatrixSpace:
Public Member Functions | |
ScaledMatrix * | MakeNewScaledMatrix (bool allocate_unscaled_matrix=false) const |
Method for creating a new matrix of this specific type. | |
virtual Matrix * | MakeNew () const |
Overloaded MakeNew method for the MatrixSpace base class. | |
SmartPtr< const Vector > | RowScaling () const |
return the vector for the row scaling | |
SmartPtr< const MatrixSpace > | UnscaledMatrixSpace () const |
return the matrix space for the unscaled matrix | |
SmartPtr< const Vector > | ColumnScaling () const |
return the vector for the column scaling | |
Constructors / Destructors | |
ScaledMatrixSpace (const SmartPtr< const Vector > &row_scaling, bool row_scaling_reciprocal, const SmartPtr< const MatrixSpace > &unscaled_matrix_space, const SmartPtr< const Vector > &column_scaling, bool column_scaling_reciprocal) | |
Constructor, given the number of row and columns blocks, as well as the totel number of rows and columns. | |
~ScaledMatrixSpace () | |
Destructor. | |
Private Member Functions | |
Default Compiler Generated Methods | |
(Hidden to avoid implicit creation/calling). These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called. | |
ScaledMatrixSpace () | |
Default constructor. | |
ScaledMatrixSpace (const ScaledMatrixSpace &) | |
Copy Constructor. | |
ScaledMatrixSpace & | operator= (const ScaledMatrixSpace &) |
Overloaded Equals Operator. | |
Private Attributes | |
SmartPtr< Vector > | row_scaling_ |
Row scaling vector. | |
SmartPtr< const MatrixSpace > | unscaled_matrix_space_ |
unscaled matrix space | |
SmartPtr< Vector > | column_scaling_ |
column scaling vector |
Definition at line 124 of file IpScaledMatrix.hpp.
Ipopt::ScaledMatrixSpace::ScaledMatrixSpace | ( | const SmartPtr< const Vector > & | row_scaling, | |
bool | row_scaling_reciprocal, | |||
const SmartPtr< const MatrixSpace > & | unscaled_matrix_space, | |||
const SmartPtr< const Vector > & | column_scaling, | |||
bool | column_scaling_reciprocal | |||
) |
Constructor, given the number of row and columns blocks, as well as the totel number of rows and columns.
Ipopt::ScaledMatrixSpace::~ScaledMatrixSpace | ( | ) | [inline] |
Ipopt::ScaledMatrixSpace::ScaledMatrixSpace | ( | ) | [private] |
Default constructor.
Ipopt::ScaledMatrixSpace::ScaledMatrixSpace | ( | const ScaledMatrixSpace & | ) | [private] |
Copy Constructor.
ScaledMatrix* Ipopt::ScaledMatrixSpace::MakeNewScaledMatrix | ( | bool | allocate_unscaled_matrix = false |
) | const [inline] |
Method for creating a new matrix of this specific type.
Definition at line 144 of file IpScaledMatrix.hpp.
References Ipopt::ScaledMatrix::SetUnscaledMatrixNonConst(), and unscaled_matrix_space_.
Referenced by MakeNew().
virtual Matrix* Ipopt::ScaledMatrixSpace::MakeNew | ( | ) | const [inline, virtual] |
Overloaded MakeNew method for the MatrixSpace base class.
Implements Ipopt::MatrixSpace.
Definition at line 156 of file IpScaledMatrix.hpp.
References MakeNewScaledMatrix().
return the vector for the row scaling
Definition at line 162 of file IpScaledMatrix.hpp.
References Ipopt::ConstPtr(), and row_scaling_.
SmartPtr<const MatrixSpace> Ipopt::ScaledMatrixSpace::UnscaledMatrixSpace | ( | ) | const [inline] |
return the matrix space for the unscaled matrix
Definition at line 168 of file IpScaledMatrix.hpp.
References unscaled_matrix_space_.
return the vector for the column scaling
Definition at line 174 of file IpScaledMatrix.hpp.
References column_scaling_, and Ipopt::ConstPtr().
ScaledMatrixSpace& Ipopt::ScaledMatrixSpace::operator= | ( | const ScaledMatrixSpace & | ) | [private] |
Overloaded Equals Operator.
SmartPtr<Vector> Ipopt::ScaledMatrixSpace::row_scaling_ [private] |
SmartPtr<const MatrixSpace> Ipopt::ScaledMatrixSpace::unscaled_matrix_space_ [private] |
unscaled matrix space
Definition at line 201 of file IpScaledMatrix.hpp.
Referenced by MakeNewScaledMatrix(), and UnscaledMatrixSpace().
column scaling vector
Definition at line 203 of file IpScaledMatrix.hpp.
Referenced by ColumnScaling().