/build/buildd/coinor-ipopt-3.10.1/Ipopt/src/LinAlg/IpLapack.hpp
Go to the documentation of this file.
00001 // Copyright (C) 2005, 2009 International Business Machines and others.
00002 // All Rights Reserved.
00003 // This code is published under the Eclipse Public License.
00004 //
00005 // $Id: IpLapack.hpp 1861 2010-12-21 21:34:47Z andreasw $
00006 //
00007 // Authors:  Andreas Waechter              IBM    2005-12-25
00008 
00009 #ifndef __IPLAPACK_HPP__
00010 #define __IPLAPACK_HPP__
00011 
00012 #include "IpUtils.hpp"
00013 #include "IpException.hpp"
00014 
00015 namespace Ipopt
00016 {
00017   DECLARE_STD_EXCEPTION(LAPACK_NOT_INCLUDED);
00018 
00022   void IpLapackDpotrs(Index ndim, Index nrhs, const Number *a, Index lda,
00023                       Number *b, Index ldb);
00024 
00028   void IpLapackDpotrf(Index ndim, Number *a, Index lda, Index& info);
00029 
00034   void IpLapackDsyev(bool compute_eigenvectors, Index ndim, Number *a,
00035                      Index lda, Number *w, Index& info);
00036 
00039   void IpLapackDgetrf(Index ndim, Number *a, Index* pivot, Index lda,
00040                       Index& info);
00041 
00044   void IpLapackDgetrs(Index ndim, Index nrhs, const Number *a, Index lda,
00045                       Index* ipiv, Number *b, Index ldb);
00046 
00047 } // namespace Ipopt
00048 
00049 #endif