00001 /* OOQP * 00002 * Authors: E. Michael Gertz, Stephen J. Wright * 00003 * (C) 2001 University of Chicago. See Copyright Notification in OOQP */ 00004 00005 #ifndef SPARSELINEARALGEBRA 00006 #define SPARSELINEARALGEBRA 00007 00008 #include "LinearAlgebraPackage.h" 00009 00010 #include "DoubleMatrixHandle.h" 00011 #include "OoqpVectorHandle.h" 00025 class SparseLinearAlgebraPackage : public LinearAlgebraPackage { 00026 protected: 00027 SparseLinearAlgebraPackage() {}; 00028 virtual ~SparseLinearAlgebraPackage() {}; 00029 public: 00032 static SparseLinearAlgebraPackage * soleInstance(); 00033 virtual SymMatrix * newSymMatrix( int size, int nnz ); 00034 virtual GenMatrix * newGenMatrix( int m, int n, int nnz ); 00035 virtual OoqpVector * newVector( int n ); 00036 virtual void whatami( char type[32] ); 00037 00038 }; 00039 00044 #endif