MADNESS  0.10.1
Public Member Functions | Public Attributes | List of all members
madness::ConvolutionData1D< Q > Struct Template Reference

!!! Note that if Rnormf is zero then ALL of the tensors are empty More...

#include <convolution1d.h>

Collaboration diagram for madness::ConvolutionData1D< Q >:
Collaboration graph
[legend]

Public Member Functions

 ConvolutionData1D (const Tensor< Q > &R, const Tensor< Q > &T)
 
 ConvolutionData1D (const Tensor< Q > &R, const Tensor< Q > &T, const bool modified)
 
void make_approx (const Tensor< Q > &R, Tensor< Q > &RU, Tensor< typename Tensor< Q >::scalar_type > &Rs, Tensor< Q > &RVT, double &norm)
 

Public Attributes

double N_diff
 
double N_F
 the norms according to Beylkin 2008, Eq. (21) ff More...
 
double N_up
 
double NSnormf
 
Tensor< QR
 
double Rnorm
 
double Rnormf
 
Tensor< typename Tensor< Q >::scalar_type > Rs
 
Tensor< QRU
 
Tensor< QRVT
 
Tensor< QT
 if NS: R=ns, T=T part of ns; if modified NS: T=\uparrow r^(n-1) More...
 
double Tnorm
 
double Tnormf
 
Tensor< typename Tensor< Q >::scalar_type > Ts
 hold relative errors, NOT the singular values.. More...
 
Tensor< QTU
 
Tensor< QTVT
 SVD approximations to R and T. More...
 

Detailed Description

template<typename Q>
struct madness::ConvolutionData1D< Q >

!!! Note that if Rnormf is zero then ALL of the tensors are empty

actual data for 1 dimension and for 1 term and for 1 displacement for a convolution operator here we keep the transformation matrices

Constructor & Destructor Documentation

◆ ConvolutionData1D() [1/2]

template<typename Q >
madness::ConvolutionData1D< Q >::ConvolutionData1D ( const Tensor< Q > &  R,
const Tensor< Q > &  T 
)
inline

◆ ConvolutionData1D() [2/2]

template<typename Q >
madness::ConvolutionData1D< Q >::ConvolutionData1D ( const Tensor< Q > &  R,
const Tensor< Q > &  T,
const bool  modified 
)
inline

Member Function Documentation

◆ make_approx()

template<typename Q >
void madness::ConvolutionData1D< Q >::make_approx ( const Tensor< Q > &  R,
Tensor< Q > &  RU,
Tensor< typename Tensor< Q >::scalar_type > &  Rs,
Tensor< Q > &  RVT,
double &  norm 
)
inline

approximate the operator matrices using SVD, and abuse Rs to hold the error instead of the singular values (seriously, who named this??)

References madness::BaseTensor::dim(), madness::detail::norm(), madness::ConvolutionData1D< Q >::R, madness::ConvolutionData1D< Q >::Rs, madness::ConvolutionData1D< Q >::RU, madness::ConvolutionData1D< Q >::RVT, and madness::svd().

Referenced by madness::ConvolutionData1D< Q >::ConvolutionData1D().

Member Data Documentation

◆ N_diff

template<typename Q >
double madness::ConvolutionData1D< Q >::N_diff

◆ N_F

template<typename Q >
double madness::ConvolutionData1D< Q >::N_F

◆ N_up

template<typename Q >
double madness::ConvolutionData1D< Q >::N_up

◆ NSnormf

template<typename Q >
double madness::ConvolutionData1D< Q >::NSnormf

◆ R

template<typename Q >
Tensor<Q> madness::ConvolutionData1D< Q >::R

◆ Rnorm

template<typename Q >
double madness::ConvolutionData1D< Q >::Rnorm

◆ Rnormf

template<typename Q >
double madness::ConvolutionData1D< Q >::Rnormf

◆ Rs

template<typename Q >
Tensor<typename Tensor<Q>::scalar_type> madness::ConvolutionData1D< Q >::Rs

◆ RU

template<typename Q >
Tensor<Q> madness::ConvolutionData1D< Q >::RU

◆ RVT

template<typename Q >
Tensor<Q> madness::ConvolutionData1D< Q >::RVT

◆ T

template<typename Q >
Tensor<Q> madness::ConvolutionData1D< Q >::T

if NS: R=ns, T=T part of ns; if modified NS: T=\uparrow r^(n-1)

Referenced by madness::ConvolutionData1D< Q >::ConvolutionData1D().

◆ Tnorm

template<typename Q >
double madness::ConvolutionData1D< Q >::Tnorm

◆ Tnormf

template<typename Q >
double madness::ConvolutionData1D< Q >::Tnormf

◆ Ts

template<typename Q >
Tensor<typename Tensor<Q>::scalar_type> madness::ConvolutionData1D< Q >::Ts

hold relative errors, NOT the singular values..

Referenced by madness::ConvolutionData1D< Q >::ConvolutionData1D().

◆ TU

template<typename Q >
Tensor<Q> madness::ConvolutionData1D< Q >::TU

◆ TVT

template<typename Q >
Tensor<Q> madness::ConvolutionData1D< Q >::TVT

SVD approximations to R and T.

Referenced by madness::ConvolutionData1D< Q >::ConvolutionData1D().


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