MADNESS
0.10.1
|
A vector space using MADNESS Functions. More...
#include <gmres.h>
Public Types | |
typedef TensorTypeData< T >::float_scalar_type | real_type |
typedef T | scalar_type |
Public Member Functions | |
FunctionSpace (World &world) | |
virtual | ~FunctionSpace () |
virtual void | destroy (Function< scalar_type, NDIM > &f) const |
Any special instructions to be executed when a vector is no longer needed. More... | |
virtual Function< scalar_type, NDIM > & | gaxpy (Function< scalar_type, NDIM > &x, const scalar_type &a, const Function< scalar_type, NDIM > &y, const scalar_type &b) const |
Standard bilinear gaxpy. More... | |
virtual scalar_type | inner (const Function< scalar_type, NDIM > &l, const Function< scalar_type, NDIM > &r) const |
The inner product between two vectors. More... | |
virtual real_type | norm (const Function< scalar_type, NDIM > &vec) const |
The norm of a vector. More... | |
virtual Function< scalar_type, NDIM > & | scale (Function< scalar_type, NDIM > &vec, const scalar_type &c) const |
Scales the vector (in-place) by a constant. More... | |
Public Member Functions inherited from madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T > | |
AbstractVectorSpace (World &world) | |
Make a vector space. More... | |
virtual | ~AbstractVectorSpace () |
Additional Inherited Members | |
Public Attributes inherited from madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T > | |
World & | world |
The world. More... | |
A vector space using MADNESS Functions.
typedef TensorTypeData<T>::float_scalar_type madness::FunctionSpace< T, NDIM >::real_type |
typedef T madness::FunctionSpace< T, NDIM >::scalar_type |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Any special instructions to be executed when a vector is no longer needed.
Unless otherwise specified, do nothing.
Reimplemented from madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T >.
References madness::f.
|
inlinevirtual |
Standard bilinear gaxpy.
Implements madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T >.
References a, b, and madness::Function< T, NDIM >::gaxpy().
|
inlinevirtual |
The inner product between two vectors.
Implements madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T >.
|
inlinevirtual |
The norm of a vector.
Implements madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T >.
References madness::vec().
Referenced by cplxfunc0(), cplxfunc1(), cplxfunc2(), realfunc0(), realfunc1(), and realfunc2().
|
inlinevirtual |
Scales the vector (in-place) by a constant.
Implements madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T >.
References c, and madness::vec().