MADNESS 0.10.1
madness::FunctionSpace< T, NDIM > Class Template Reference

A vector space using MADNESS Functions. More...

#include <gmres.h>

Inheritance diagram for madness::FunctionSpace< T, NDIM >:
Collaboration diagram for madness::FunctionSpace< T, NDIM >:

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
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
virtual scalar_type inner (const Function< scalar_type, NDIM > &l, const Function< scalar_type, NDIM > &r) const
virtual real_type norm (const Function< scalar_type, NDIM > &vec) const
virtual Function< scalar_type, NDIM > & scale (Function< scalar_type, NDIM > &vec, const scalar_type &c) const
Public Member Functions inherited from madness::AbstractVectorSpace< Function< 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.

Additional Inherited Members

Public Attributes inherited from madness::AbstractVectorSpace< Function< T, NDIM >, TensorTypeData< T >::float_scalar_type, T >
World & world
 The world.

Detailed Description

template<typename T, int NDIM>
class madness::FunctionSpace< T, NDIM >

A vector space using MADNESS Functions.

Member Typedef Documentation

◆ real_type

template<typename T, int NDIM>
typedef TensorTypeData<T>::float_scalar_type madness::FunctionSpace< T, NDIM >::real_type

◆ scalar_type

template<typename T, int NDIM>
typedef T madness::FunctionSpace< T, NDIM >::scalar_type

Constructor & Destructor Documentation

◆ FunctionSpace()

◆ ~FunctionSpace()

template<typename T, int NDIM>
virtual madness::FunctionSpace< T, NDIM >::~FunctionSpace ( )
inlinevirtual

Member Function Documentation

◆ destroy()

template<typename T, int NDIM>
virtual void madness::FunctionSpace< T, NDIM >::destroy ( Function< scalar_type, NDIM > & f) const
inlinevirtual

References madness::f.

◆ gaxpy()

template<typename T, int NDIM>
virtual Function< scalar_type, NDIM > & madness::FunctionSpace< T, NDIM >::gaxpy ( Function< scalar_type, NDIM > & x,
const scalar_type & a,
const Function< scalar_type, NDIM > & y,
const scalar_type & b ) const
inlinevirtual

◆ inner()

template<typename T, int NDIM>
virtual scalar_type madness::FunctionSpace< T, NDIM >::inner ( const Function< scalar_type, NDIM > & l,
const Function< scalar_type, NDIM > & r ) const
inlinevirtual

◆ norm()

template<typename T, int NDIM>
virtual real_type madness::FunctionSpace< T, NDIM >::norm ( const Function< scalar_type, NDIM > & vec) const
inlinevirtual

◆ scale()

template<typename T, int NDIM>
virtual Function< scalar_type, NDIM > & madness::FunctionSpace< T, NDIM >::scale ( Function< scalar_type, NDIM > & vec,
const scalar_type & c ) const
inlinevirtual

References c, and madness::vec().


The documentation for this class was generated from the following file: