PIPS-NLP
Public Member Functions | Protected Member Functions | List of all members
LinearAlgebraPackage Class Referenceabstract

#include <LinearAlgebraPackage.h>

Inheritance diagram for LinearAlgebraPackage:
DenseLinearAlgebraPackage PetscLinearAlgebraPackage SparseLinearAlgebraPackage

Public Member Functions

virtual SymMatrixnewSymMatrix (int size, int nnz)=0
 
virtual GenMatrixnewGenMatrix (int m, int n, int nnz)=0
 
virtual OoqpVectornewVector (int n)=0
 
virtual void whatami (char type[32])=0
 

Protected Member Functions

 LinearAlgebraPackage ()
 
virtual ~LinearAlgebraPackage ()
 

Detailed Description

A class whose instances creates matrices and vectors of an appropriate type.

Constructor & Destructor Documentation

LinearAlgebraPackage::LinearAlgebraPackage ( )
inlineprotected
virtual LinearAlgebraPackage::~LinearAlgebraPackage ( )
inlineprotectedvirtual

Member Function Documentation

virtual GenMatrix* LinearAlgebraPackage::newGenMatrix ( int  m,
int  n,
int  nnz 
)
pure virtual

Create a new non-symmetric matrix (of appropriate type).

Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.

virtual SymMatrix* LinearAlgebraPackage::newSymMatrix ( int  size,
int  nnz 
)
pure virtual

Create a new symmetric matrix (of appropriate type).

Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.

virtual OoqpVector* LinearAlgebraPackage::newVector ( int  n)
pure virtual

Create a new vector (of appropriate type.)

Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.

virtual void LinearAlgebraPackage::whatami ( char  type[32])
pure virtual

Get a string indicating the type of this object (for debugging purposes.)

Implemented in DenseLinearAlgebraPackage, SparseLinearAlgebraPackage, and PetscLinearAlgebraPackage.


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