|
MADNESS 0.10.1
|
A vector space using MADNESS Vectors. More...
#include <gmres.h>


Public Types | |
| typedef TensorTypeData< T >::float_scalar_type | real_type |
| typedef T | scalar_type |
Public Member Functions | |
| VectorSpace (World &world) | |
| virtual | ~VectorSpace () |
| virtual Vector< scalar_type, NDIM > & | gaxpy (Vector< scalar_type, NDIM > &x, const scalar_type &a, const Vector< scalar_type, NDIM > &y, const scalar_type &b) const |
| virtual scalar_type | inner (const Vector< scalar_type, NDIM > &l, const Vector< scalar_type, NDIM > &r) const |
| virtual real_type | norm (const Vector< scalar_type, NDIM > &vec) const |
| virtual Vector< scalar_type, NDIM > & | scale (Vector< scalar_type, NDIM > &vec, const scalar_type &c) const |
| Public Member Functions inherited from madness::AbstractVectorSpace< Vector< T, NDIM >, TensorTypeData< T >::float_scalar_type, T > | |
| virtual | ~AbstractVectorSpace () |
| virtual void | destroy (T &) const |
| Any special instructions to be executed when a vector is no longer needed. | |
| virtual T & | gaxpy (T &x, const T &a, const T &y, const T &b) const=0 |
| Standard bilinear gaxpy. | |
| virtual T | inner (const T &, const T &) const=0 |
| The inner product between two vectors. | |
| virtual TensorTypeData< T >::float_scalar_type | norm (const T &) const=0 |
| The norm of a vector. | |
| virtual T & | scale (T &, const T &) const=0 |
| Scales the vector (in-place) by a constant. | |
Static Protected Attributes | |
| static const bool | iscplx = TensorTypeData<T>::iscomplex |
Additional Inherited Members | |
| Public Attributes inherited from madness::AbstractVectorSpace< Vector< T, NDIM >, TensorTypeData< T >::float_scalar_type, T > | |
| World & | world |
| The world. | |
A vector space using MADNESS Vectors.
| typedef TensorTypeData<T>::float_scalar_type madness::VectorSpace< T, NDIM >::real_type |
| typedef T madness::VectorSpace< T, NDIM >::scalar_type |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
References madness::conj(), iscplx, and NDIM.
|
inlinevirtual |
References madness::imag(), iscplx, NDIM, madness::real(), and madness::vec().
Referenced by cplxvec0(), cplxvec1(), cplxvec2(), realvec0(), realvec1(), and realvec2().
|
inlinevirtual |
References c, and madness::vec().
|
staticprotected |