6#ifndef aglowavOperator_hh
7#define aglowavOperator_hh
28 template<
class F = concepts::Real>
50 std::ostream&
info(std::ostream& os)
const;
60 :
concepts::Operator<F>(wav.dim(), cnst.dim()), wav_(wav), cnst_(cnst)
71 template<
class F = concepts::Real>
90 const Haar3d<F>& spaceY()
const {
return wav_;}
94 std::ostream&
info(std::ostream& os)
const;
104 :
concepts::Operator<F>(wav.dim(), cnst.dim()), cnst_(cnst), wav_(wav)
117 template<
class F = concepts::Real>
140 std::ostream&
info(std::ostream& os)
const;
161 template<
class F = concepts::Real>
184 std::ostream&
info(std::ostream& os)
const;
206 template<
class F = concepts::Real>
221 const Haar3d<F>& spaceY()
const {
return spc_;}
225 std::ostream&
info(std::ostream& os)
const;
232 std::vector<concepts::Real> val_;
241 template<
class F = concepts::Real>
262 std::ostream&
info(std::ostream& os)
const;
267 :
concepts::Operator<F>(ops[0]->dimX(), ops[n-1]->dimY()), n_(n)
271 for(uint i = 0; i < n_; i++) ops_[i] = ops[i];
273 for(uint j = 0; j < n_-1; j++)
279 for(uint i = 0; i < n_-1; i++)
delete f_[i];
291 ops_[n_-1]->operator()(fncY, *f_[n_-2]);
292 for(uint i = n_-1; --i;) ops_[i]->
operator()(*f_[i], *f_[i-1]);
293 ops_[0]->operator()(*f_[0], fncX);
298 return os <<
"aglowav::ComposeN -- (op1 * ... * op" << n_ <<
")";
void operator()(const concepts::Vector< F > &fncC, concepts::Vector< F > &fncW)
C2W(const concepts::Space< F > &cnst, const Haar3d< F > &wav)
const Haar3d< F > & spaceX() const
Spaces of the transformation.
void operator()(const concepts::Function< F > &fncC, concepts::Function< F > &fncW)
std::ostream & info(std::ostream &os) const
Information about the operator.
void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
const BiHaar3d< F > & spaceX() const
Spaces of the transformation.
C2_tl2(const BiHaar3d< F > &spc, concepts::Real t)
std::ostream & info(std::ostream &os) const
Information about the operator.
void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
C2tl2(const BiHaar3d< F > &spc, concepts::Real t)
std::ostream & info(std::ostream &os) const
Information about the operator.
const BiHaar3d< F > & spaceX() const
Spaces of the transformation.
void operator()(const concepts::Function< F > &fncY, concepts::Function< F > &fncX)
CGt2(const Haar3d< F > &spc, concepts::Real t)
Constructor.
const Haar3d< F > & spaceX() const
Spaces of the transformation.
std::ostream & info(std::ostream &os) const
Information about the operator.
std::ostream & info(std::ostream &os) const
Returns information in an output stream.
ComposeN(concepts::Operator< F > **ops, uint n)
void operator()(const concepts::Function< F > &fncW, concepts::Function< F > &fncC)
std::ostream & info(std::ostream &os) const
Information about the operator.
const concepts::Space< F > & spaceX() const
Spaces of the transformation.
W2C(const Haar3d< F > &wav, const concepts::Space< F > &cnst)
void operator()(const concepts::Vector< F > &fncW, concepts::Vector< F > &fncC)
uint dim() const
Returns the dimension of the function.
virtual const uint dimY() const
virtual void operator()()
#define conceptsAssert(cond, exc)
Set< F > makeSet(uint n, const F &first,...)