MADNESS 0.10.1
madness::VectorOfFunctionsSpace< T, VDIM, FDIM > Class Template Reference

A vector space using MADNESS Vectors of MADNESS Functions. More...

#include <gmres.h>

Inheritance diagram for madness::VectorOfFunctionsSpace< T, VDIM, FDIM >:
Collaboration diagram for madness::VectorOfFunctionsSpace< T, VDIM, FDIM >:

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
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
virtual scalar_type inner (const Vector< Function< scalar_type, FDIM >, VDIM > &l, const Vector< Function< scalar_type, FDIM >, VDIM > &r) const
virtual real_type norm (const Vector< Function< scalar_type, FDIM >, VDIM > &vec) const
virtual Vector< Function< scalar_type, FDIM >, VDIM > & scale (Vector< Function< scalar_type, FDIM >, VDIM > &vec, const scalar_type &c) const
Public Member Functions inherited from madness::AbstractVectorSpace< Vector< Function< T, FDIM >, VDIM >, 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< Vector< Function< T, FDIM >, VDIM >, TensorTypeData< T >::float_scalar_type, T >
World & world
 The world.

Detailed Description

template<typename T, int VDIM, int FDIM>
class madness::VectorOfFunctionsSpace< T, VDIM, FDIM >

A vector space using MADNESS Vectors of MADNESS Functions.

Member Typedef Documentation

◆ real_type

template<typename T, int VDIM, int FDIM>
typedef TensorTypeData<T>::float_scalar_type madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::real_type

◆ scalar_type

template<typename T, int VDIM, int FDIM>
typedef T madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::scalar_type

Constructor & Destructor Documentation

◆ VectorOfFunctionsSpace()

◆ ~VectorOfFunctionsSpace()

template<typename T, int VDIM, int FDIM>
virtual madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::~VectorOfFunctionsSpace ( )
inlinevirtual

Member Function Documentation

◆ destroy()

template<typename T, int VDIM, int FDIM>
virtual void madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::destroy ( Vector< Function< scalar_type, FDIM >, VDIM > & f) const
inlinevirtual

References madness::f.

◆ gaxpy()

template<typename T, int VDIM, int FDIM>
virtual Vector< Function< scalar_type, FDIM >, VDIM > & madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::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
inlinevirtual

References a, b, and gaxpy().

Referenced by gaxpy().

◆ inner()

template<typename T, int VDIM, int FDIM>
virtual scalar_type madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::inner ( const Vector< Function< scalar_type, FDIM >, VDIM > & l,
const Vector< Function< scalar_type, FDIM >, VDIM > & r ) const
inlinevirtual

References inner().

Referenced by inner().

◆ norm()

template<typename T, int VDIM, int FDIM>
virtual real_type madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::norm ( const Vector< Function< scalar_type, FDIM >, VDIM > & vec) const
inlinevirtual

References madness::vec().

◆ scale()

template<typename T, int VDIM, int FDIM>
virtual Vector< Function< scalar_type, FDIM >, VDIM > & madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::scale ( Vector< Function< scalar_type, FDIM >, VDIM > & vec,
const scalar_type & c ) const
inlinevirtual

References c, scale(), and madness::vec().

Referenced by scale().


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