lshiftz_analytic_rep< C, V > Class Template Reference

#include <analytic.hpp>

Inheritance diagram for lshiftz_analytic_rep< C, V >:
analytic_rep

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

template<typename C, typename V>
class mmx::lshiftz_analytic_rep< C, V >

Definition at line 1379 of file analytic.hpp.


Constructor & Destructor Documentation

lshiftz_analytic_rep ( const analytic< C, V > &  f2,
int  shift2 
) [inline]

Definition at line 1384 of file analytic.hpp.

01384                                                        :
01385     Analytic_rep (CF(f2)), f (f2), shift (shift2) {}
  void Clear_cache (nat which) const {


Member Function Documentation

Abs_type ( C   )  const [inline]

Definition at line 1393 of file analytic.hpp.

References mmx::expand(), mmx::pow(), mmx::R, Series, and lshiftz_analytic_rep< C, V >::shift.

01393                                                              {
01394     Series s= expand (this->f, order);
01395     R sum= tail_bound (this->f, r, order, a);
01396     if (shift > 0) {
01397       R cum= 0;
01398       for (int i=0; i < min (shift, (int) order); i++)
01399         cum= r * cum + abs (s[order-1-i]);
01400       if (((int) order) < shift) sum += cum * pow (r, promote (shift, r));
01401       else sum += cum * pow (r, promote ((int) order, r));
01402     }
01403     else {
01404       R cum= 0;
01405       for (int i= 1-shift; i >= 0; i--)
01406         cum= r * cum + abs (s[order+i]);
01407       sum += cum * pow (r, promote ((int) order, r));
01408     }
01409     return sum; }

Abs_type ( typename unvectorize< C >::val   )  const [inline]

Definition at line 1391 of file analytic.hpp.

01391                                         {
01392     (void) order; return radius_bound (this->f); }

void Clear_cache ( nat  which  )  const [inline]

Definition at line 1386 of file analytic.hpp.

References mmx::clear_cache().

01386                                      {
01387     Analytic_rep::Clear_cache (which);
01388     clear_cache (f, which); }

analytic<C,V> Derive (  )  const [inline]

Definition at line 1417 of file analytic.hpp.

References mmx::me.

01417                            {
01418     ERROR ("not implemented (Derive)");
01419     return this->me (); }

C Eval ( const typename unvectorize< C >::val &  z  )  const [inline]

Definition at line 1414 of file analytic.hpp.

References mmx::C, mmx::default_eval(), mmx::eval(), mmx::me, mmx::pow(), and lshiftz_analytic_rep< C, V >::shift.

01414                                  {
01415     if (shift > 0) return C (pow (z, promote (shift, z))) * eval (f, z);
01416     else return default_eval (this->me (), z); }

series<C> Expand (  )  const [inline]

Definition at line 1389 of file analytic.hpp.

References mmx::expand(), mmx::lshiftz(), and lshiftz_analytic_rep< C, V >::shift.

01389                          {
01390     return lshiftz (expand (f), shift); }

analytic<C,V> Move ( const typename unvectorize< C >::val &  z  )  const [inline]

Definition at line 1410 of file analytic.hpp.

References mmx::me.

01410                                         {
01411     (void) z;
01412     ERROR ("not implemented (Move)");
01413     return this->me (); }


Member Data Documentation

analytic<C,V> f [protected]

Definition at line 1381 of file analytic.hpp.

int shift [protected]

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

Generated on 6 Dec 2012 for continewz by  doxygen 1.6.1