00001 /* OOQP * 00002 * Authors: E. Michael Gertz, Stephen J. Wright * 00003 * (C) 2001 University of Chicago. See Copyright Notification in OOQP */ 00004 00005 #ifndef LINEARALGEBRA 00006 #define LINEARALGEBRA 00007 00014 #include "DoubleMatrixHandle.h" 00015 class DoubleLinearSolver; 00016 class OoqpVector; 00017 00021 class LinearAlgebraPackage { 00022 protected: 00023 LinearAlgebraPackage() {}; 00024 virtual ~LinearAlgebraPackage() {}; 00025 public: 00027 virtual SymMatrix * newSymMatrix( int size, int nnz ) = 0; 00029 virtual GenMatrix * newGenMatrix( int m, int n, int nnz ) = 0; 00031 virtual OoqpVector * newVector( int n ) = 0; 00035 virtual void whatami( char type[32] ) = 0; 00036 }; 00037 00041 #endif