fixed_point_vector_analytic_rep< C > Class Template Reference

#include <analytic_sugar.hpp>

Inheritance diagram for fixed_point_vector_analytic_rep< C >:
recursive_analytic_rep< vector< C > > analytic_rep

List of all members.

Public Member Functions

Protected Attributes

Friends


Detailed Description

template<typename C>
class mmx::fixed_point_vector_analytic_rep< C >

Definition at line 74 of file analytic_sugar.hpp.


Constructor & Destructor Documentation

fixed_point_vector_analytic_rep ( const routine &  fun2,
const vector< C > &  c2 
) [inline]

Definition at line 81 of file analytic_sugar.hpp.

00081                                            :
00082       recursive_analytic_rep<Vector > (get_format (c2)),
00083       fun (fun2), c (c2) {}
  syntactic expression (const syntactic& z) const {


Member Function Documentation

virtual Abs_type ( vector< C >   )  const [inline, virtual, inherited]

Definition at line 888 of file analytic.hpp.

References R.

00888                                                                      {
00889     void* code= (void*) this;
00890     R zero= promote (0, r) * abs (init); // get right dimensions in vector case
00891     if (!a.assumption->contains (code))
00892       a.assumption [code]= unvectorize<R>::encode (zero);
00893     this->cache->assumption [order]= a.serial;
00894     this->cache->tail_bound [order]=
00895       unvectorize<R>::decode (read (a.assumption, code), zero);
00896     R bnd= tail_bound (this->equa, r, order, a);
00897     if (order == 0) bnd += abs (this->initial ());
00898     this->cache->tail_bound [order]= bnd; // redundant, but for security
00899     a.conclusion [code]= unvectorize<R>::encode (bnd);
00900     return bnd; }

virtual void Clear_cache ( nat  which  )  const [inline, virtual, inherited]

Definition at line 881 of file analytic.hpp.

References mmx::clear_cache().

00881                                              {
00882     Analytic_rep::Clear_cache (which);
00883     clear_cache (equa, which); }

analytic< vector<C> > Derive (  )  const [inline]

Definition at line 99 of file analytic_sugar.hpp.

00099                                     {
00100     ERROR ("not yet implemented"); }

analytic< vector<C> > Equation (  )  const [inline, virtual]

Implements recursive_analytic_rep< vector< C > >.

Definition at line 91 of file analytic_sugar.hpp.

References mmx::as_vector(), mmx::from_vector(), and mmx::me.

00091                                       {
00092     vector<Analytic > in= as_vector (this->me ());
00093     generic genout= fun->apply (as<generic> (as<vector<generic> > (in)));
00094     vector<Analytic > out=
00095       as<vector<Analytic > > (as<vector<generic> > (genout));
00096     return from_vector (out); }

series< vector<C> > Expand (  )  const [inline]

Definition at line 87 of file analytic_sugar.hpp.

00087                                   {
00088     return fixed_point_series_vector (fun, c); }

syntactic expression ( const syntactic &  z  )  const [inline, virtual]

Reimplemented from recursive_analytic_rep< vector< C > >.

Definition at line 84 of file analytic_sugar.hpp.

References mmx::flatten().

00084                                                   {
00085     (void) z;
00086     return apply ("fixed_point", flatten (fun), flatten (c)); }

vector<C> Initial (  )  const [inline, virtual]

Implements recursive_analytic_rep< vector< C > >.

Definition at line 89 of file analytic_sugar.hpp.

00089                           {
00090     return c; }

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

Definition at line 97 of file analytic_sugar.hpp.

References mmx::eval(), mmx::fixed_point_analytic_vector(), and mmx::me.

00097                                                  {
00098     return fixed_point_analytic_vector (fun, eval (this->me (), z)); }


Friends And Related Function Documentation

friend class recursive_container_analytic_rep< vector< C > , std_analytic > [friend, inherited]

Definition at line 901 of file analytic.hpp.


Member Data Documentation

analytic<vector< C > ,std_analytic > equa [protected, inherited]

Definition at line 877 of file analytic.hpp.

vector< C > init [protected, inherited]

Definition at line 876 of file analytic.hpp.


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

Generated on 6 Dec 2012 for continewz by  doxygen 1.6.1