MADNESS
0.10.1
|
Defines a general operator interface and a templated GMRES solver for solving linear equations. More...
#include <madness/tensor/tensor.h>
#include <madness/world/print.h>
#include <iostream>
#include <madness/tensor/tensor_lapack.h>
Go to the source code of this file.
Classes | |
class | madness::AbstractVectorSpace< T, real_type, scalar_type > |
A generic vector space which provides common operations needed by linear algebra routines (norm, inner product, etc.) More... | |
class | madness::FunctionSpace< T, NDIM > |
A vector space using MADNESS Functions. More... | |
class | madness::Operator< T > |
A generic operator: takes in one T and produces another T . More... | |
class | madness::VectorOfFunctionsSpace< T, VDIM, FDIM > |
A vector space using MADNESS Vectors of MADNESS Functions. More... | |
class | madness::VectorSpace< T, NDIM > |
A vector space using MADNESS Vectors. More... | |
Namespaces | |
madness | |
File holds all helper structures necessary for the CC_Operator and CC2 class. | |
Functions | |
template<typename T , typename real_type , typename scalar_type > | |
void | madness::GMRES (const AbstractVectorSpace< T, real_type, scalar_type > &space, const Operator< T > &op, const T &b, T &x, int &maxiters, real_type &resid_thresh, real_type &update_thresh, const bool outp=false) |
A GMRES solver routine for linear systems, . More... | |
double | madness::imag (double x) |
double | madness::real (double x) |
Defines a general operator interface and a templated GMRES solver for solving linear equations.
An AbstractVectorSpace class is also defined to guarantee a uniform way for linear algebra routines to access common operations like norm, inner product etc. Implementations for MADNESS Vectors and Functions are provided in the VectorSpace<floating_point, NDIM> and FunctionSpace<floating_point, NDIM> classes.