6#ifndef aglowav2trafo_hh
7#define aglowav2trafo_hh
24 template<
class F = concepts::Real>
30 ~C2W() {
delete[] leven_;
delete[] lodd_;}
45 std::ostream&
info(std::ostream& os)
const;
48 const Haar3d0<F>& wavspc_;
57 :
concepts::Operator<F>(wavspc.dim(), wavspc.space().dim())
60 leven_ =
new F[wavspc_.dim()];
61 lodd_ =
new F[wavspc_.dim()];
66 os <<
"aglowav2::" <<
concepts::typeOf(*
this) <<
"(" << wavspc_.space() <<
" --> ";
67 return os << wavspc_ <<
')';
75 template<
class F = concepts::Real>
81 ~W2C() {
delete[] ptrs_;
delete[] data_;
delete[] locdata_;}
92 const Haar3d0<F>& spaceY()
const {
return wavspc_;}
96 std::ostream&
info(std::ostream& os)
const;
99 const Haar3d0<F>& wavspc_;
114 :
concepts::Operator<F>(wavspc.space().dim(), wavspc.dim())
115 , wavspc_(wavspc), maxdim_(wavspc_.maxLocDim()), nlvl_(wavspc_.nlvl() + 1)
117 ptrs_ =
new F*[nlvl_];
118 data_ =
new F[maxdim_ * nlvl_];
119 locdata_ =
new F[maxdim_];
125 return os << wavspc_.space() <<
')';
void operator()(const concepts::Function< F > &fncC, concepts::Function< F > &fncW)
C2W(const Haar3d0< F > &wavspc)
Constructor.
std::ostream & info(std::ostream &os) const
Information about the operator.
const Haar3d0< F > & spaceX() const
Spaces of the transformation.
W2C(const Haar3d0< F > &wavspc)
Constructor.
void operator()(const concepts::Function< F > &fncW, concepts::Function< F > &fncC)
const concepts::Space< F > & spaceX() const
Spaces of the transformation.
std::ostream & info(std::ostream &os) const
Information about the operator.
virtual void operator()()
std::string typeOf(const T &t)