PIPS-NLP
|
#include <LinearAlgebraPackage.h>
Public Member Functions | |
virtual SymMatrix * | newSymMatrix (int size, int nnz)=0 |
virtual GenMatrix * | newGenMatrix (int m, int n, int nnz)=0 |
virtual OoqpVector * | newVector (int n)=0 |
virtual void | whatami (char type[32])=0 |
Protected Member Functions | |
LinearAlgebraPackage () | |
virtual | ~LinearAlgebraPackage () |
A class whose instances creates matrices and vectors of an appropriate type.
|
inlineprotected |
|
inlineprotectedvirtual |
|
pure virtual |
Create a new non-symmetric matrix (of appropriate type).
Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.
|
pure virtual |
Create a new symmetric matrix (of appropriate type).
Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.
|
pure virtual |
Create a new vector (of appropriate type.)
Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.
|
pure virtual |
Get a string indicating the type of this object (for debugging purposes.)
Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.