MADNESS  version 0.9
Public Types | Public Member Functions | List of all members
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 >:
Inheritance graph
[legend]
Collaboration diagram for madness::VectorOfFunctionsSpace< T, VDIM, FDIM >:
Collaboration graph
[legend]

Public Types

typedef TensorTypeData< T >
::float_scalar_type 
real_type
 
typedef T scalar_type
 

Public Member Functions

 VectorOfFunctionsSpace (World &world)
 
virtual ~VectorOfFunctionsSpace ()
 
virtual real_type norm (const Vector< Function< scalar_type, FDIM >, VDIM > &vec) const
 The norm of a vector. More...
 
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

\[ \vec{x} \leftarrow c \vec{x} \]

. More...

 
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

\[ \vec{x} \leftarrow a \vec{x} + b \vec{y} \]

. More...

 
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. More...
 
virtual void destroy (Vector< Function< scalar_type, FDIM >, VDIM > &f) const
 Any special instructions to be executed when a vector is no longer needed. More...
 
- 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. More...
 
virtual ~AbstractVectorSpace ()
 

Additional Inherited Members

- Public Attributes inherited from madness::AbstractVectorSpace< Vector< Function< T, FDIM >, VDIM >, TensorTypeData< T >::float_scalar_type, T >
Worldworld
 The world. More...
 

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

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename T, int VDIM, int FDIM>
virtual void madness::VectorOfFunctionsSpace< T, VDIM, FDIM >::destroy ( Vector< Function< scalar_type, FDIM >, VDIM > &  ) const
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.

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

Scales the vector (in-place) by a constant

\[ \vec{x} \leftarrow c \vec{x} \]

.

Returns
The scaled vector

Implements madness::AbstractVectorSpace< Vector< Function< T, FDIM >, VDIM >, TensorTypeData< T >::float_scalar_type, T >.

References madness::vec().


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