KASKADE 7 development version
Classes | Namespaces | Functions
simpleLAPmatrix.hh File Reference

Simple interface to acml (AMD Core Math Library), to be augmented. More...

#include <vector>
#include <dune/grid/config.h>
#include <linalg/linearsystem.hh>

Go to the source code of this file.

Classes

class  Kaskade::UNCMINVector
 Very simple vector wrapper for the use of the optimization tool uncmin, which is not capable of using std::vector :(. More...
 
class  Kaskade::SLAPMatrix< Num, offset >
 Very simple dense matrix class for interfacing with LAPACK routines and the optimization tool uncmin. More...
 

Namespaces

namespace  Kaskade
 
 

Functions

void Kaskade::LeastSquares (SLAPMatrix< double > a, std::vector< double > const &b, std::vector< double > &x)
 Solve linear least squares problem, given by a*x=b. More...
 
void Kaskade::SymmetricEigenvalues (SLAPMatrix< double > a, std::vector< double > &eig)
 
template<class Scalar >
void Kaskade::pseudoinverse (SLAPMatrix< Scalar > A, SLAPMatrix< Scalar > &Ainv)
 
void Kaskade::MatrixMultiply (SLAPMatrix< double > A, std::vector< double > &in, std::vector< double > &out)
 Matrix multiplication. More...
 
void Kaskade::TransposedMatrixMultiply (SLAPMatrix< double > A, std::vector< double > &in, std::vector< double > &out)
 
void Kaskade::MatrixKT_A_K (SLAPMatrix< double > A, SLAPMatrix< double > &K, SLAPMatrix< double > &out)
 
void Kaskade::MatrixMultiplication (SLAPMatrix< double > A, SLAPMatrix< double > &B, SLAPMatrix< double > &AB)
 

Detailed Description

Simple interface to acml (AMD Core Math Library), to be augmented.

Author
Anton Schiela

Functions according to the needs of the primary author, to be augmented. Focus was on a quick and simple implementation, usage for auxilliary tasks. Performance could certainly be improved.

Functions are not templated to avoid inclusion of the long acml.h - header file into all the code. Anyway, the calls to LAPACK routines for various types would require a total template specialization

Definition in file simpleLAPmatrix.hh.