MADNESS 0.10.1
|
A vector space using MADNESS Vectors of MADNESS Functions. More...
#include <gmres.h>
Public Types | |
typedef TensorTypeData< T >::float_scalar_type | real_type |
typedef T | scalar_type |
Public Member Functions | |
VectorOfFunctionsSpace (World &world) | |
virtual | ~VectorOfFunctionsSpace () |
virtual void | destroy (Vector< Function< scalar_type, FDIM >, VDIM > &f) const |
Any special instructions to be executed when a vector is no longer needed. | |
virtual Vector< Function< scalar_type, FDIM >, VDIM > & | gaxpy (Vector< Function< scalar_type, FDIM >, VDIM > &x, const scalar_type &a, const Vector< Function< scalar_type, FDIM >, VDIM > &y, const scalar_type &b) const |
Standard bilinear gaxpy. | |
virtual scalar_type | inner (const Vector< Function< scalar_type, FDIM >, VDIM > &l, const Vector< Function< scalar_type, FDIM >, VDIM > &r) const |
The inner product between two vectors. | |
virtual real_type | norm (const Vector< Function< scalar_type, FDIM >, VDIM > &vec) const |
The norm of a vector. | |
virtual Vector< Function< scalar_type, FDIM >, VDIM > & | scale (Vector< Function< scalar_type, FDIM >, VDIM > &vec, const scalar_type &c) const |
Scales the vector (in-place) by a constant. | |
Public Member Functions inherited from madness::AbstractVectorSpace< Vector< Function< T, FDIM >, VDIM >, TensorTypeData< T >::float_scalar_type, T > | |
AbstractVectorSpace (World &world) | |
Make a vector space. | |
virtual | ~AbstractVectorSpace () |
Additional Inherited Members | |
Public Attributes inherited from madness::AbstractVectorSpace< Vector< Function< T, FDIM >, VDIM >, TensorTypeData< T >::float_scalar_type, T > | |
World & | world |
The world. | |
A vector space using MADNESS Vectors of MADNESS Functions.
typedef TensorTypeData<T>::float_scalar_type madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::real_type |
typedef T madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::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< Vector< Function< T, FDIM >, VDIM >, TensorTypeData< T >::float_scalar_type, T >.
References madness::f.
|
inlinevirtual |
Standard bilinear gaxpy.
References a, b, and madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::gaxpy().
Referenced by madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::gaxpy().
|
inlinevirtual |
The inner product between two vectors.
References madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::inner().
Referenced by madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::inner().
|
inlinevirtual |
The norm of a vector.
References madness::vec().
|
inlinevirtual |
Scales the vector (in-place) by a constant.
References c, madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::scale(), and madness::vec().
Referenced by madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::scale().