PIPS-NLP
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
SparseLinearAlgebraPackage Class Reference

#include <SparseLinearAlgebraPackage.h>

Inheritance diagram for SparseLinearAlgebraPackage:
LinearAlgebraPackage

Public Member Functions

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

Static Public Member Functions

static SparseLinearAlgebraPackagesoleInstance ()
 

Protected Member Functions

 SparseLinearAlgebraPackage ()
 
virtual ~SparseLinearAlgebraPackage ()
 
- Protected Member Functions inherited from LinearAlgebraPackage
 LinearAlgebraPackage ()
 
virtual ~LinearAlgebraPackage ()
 

Detailed Description

Creates sparse matrices and SimpleVectors.

Singleton class. Only accessible through SparseLinearAlgebraPackage::soleInstance

Constructor & Destructor Documentation

SparseLinearAlgebraPackage::SparseLinearAlgebraPackage ( )
inlineprotected
virtual SparseLinearAlgebraPackage::~SparseLinearAlgebraPackage ( )
inlineprotectedvirtual

Member Function Documentation

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

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

Implements LinearAlgebraPackage.

SymMatrix * SparseLinearAlgebraPackage::newSymMatrix ( int  size,
int  nnz 
)
virtual

Create a new symmetric matrix (of appropriate type).

Implements LinearAlgebraPackage.

OoqpVector * SparseLinearAlgebraPackage::newVector ( int  n)
virtual

Create a new vector (of appropriate type.)

Implements LinearAlgebraPackage.

SparseLinearAlgebraPackage * SparseLinearAlgebraPackage::soleInstance ( )
static

Return the sole instance of this class. This instance must not ever be deleted.

void SparseLinearAlgebraPackage::whatami ( char  type[32])
virtual

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

Implements LinearAlgebraPackage.


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