OBOE  0.1
AccpmLASolve.h
Go to the documentation of this file.
00001 // Copyright (c) 2004-2007 University of Geneva, HEC, Logilab
00002 //
00003 // OBOE is published under the Common Public License.
00004 //
00005 // Authors :
00006 // Nidhi Sawhney <nsawhney@yahoo.com>
00007 // The OBOE team
00008 //
00009 
00010 #ifndef ACCPMLA_SOLVE_H
00011 #define ACCPMLA_SOLVE_H
00012 
00013 #include "AccpmVector.h"
00014 #include "AccpmGenMatrix.h"
00015 
00016 namespace Accpm {
00017 
00021 void AccpmLALinearSolve(const RealMatrix &A, RealMatrix &x, const RealMatrix &b);
00022 
00026 int AccpmLASymmLinSolve(const AccpmGenMatrix &A, RealMatrix &X, const RealMatrix &B);
00027 
00031 int AccpmLASymmLinSolve(SymmetricMatrix &A, RealMatrix &X, const RealMatrix &B);
00032 
00039 int AccpmLACholeskyFactor(const RealMatrix &A, RealMatrix &L);
00040 
00045 void AccpmLALinSolve(const RealMatrix &A, bool cholesky, RealMatrix &X, const RealMatrix &B);
00046 
00047 }
00048 #endif