28 typedef typename ClstF<NodeX, NodeY>::FX FX;
29 typedef typename ClstF<NodeX, NodeY>::FY FY;
47 inline Ffld(
const NodeX* clstX,
const NodeY* clstY,
49 : lnk_(lnk), clstX_(clstX), clstY_(clstY), m_(0), val_(0) {}
50 inline ~Ffld() {
delete val_;}
52 inline Ffld* link()
const {
return lnk_;}
53 inline uint sigma()
const {
return TraitsX::index(clstX_);}
54 inline uint tau()
const {
return TraitsY::index(clstY_);}
56 return TraitsY::center(clstY_) - TraitsX::center(clstX_);
58 inline uint m(uint m) {
if (m) m_ = m;
return m_;}
59 inline uint m()
const {
return m_;}
61 if (blksz) {
delete val_; val_ = exp.
getCol(blksz);}
return val_;
63 inline FColExp* val()
const {
return val_;}
66 if (I < TraitsY::nleaf(clstY_)) I = TraitsY::nleaf(clstY_);
69 return I * pow(z().l2(), -s);
98 void constructor_(
const NodeX* clstX,
const NodeY* clstY,
100 template<
class Trts,
class Nd>
101 uint info_(uint idx,
const Nd* clst,
102 std::unordered_map<uint, uint>& nlf)
const;
105 std::ostream&
info(std::ostream& os)
const;
120 inline float memory()
const;
121 std::ostream&
info(std::ostream& os, uint idxX, uint idxY)
const;