|
algebramix_doc 0.3
|
#include <series.hpp>
Definition at line 59 of file series.hpp.
| series | ( | ) |
Definition at line 374 of file series.hpp.
{
rep= new zero_series_rep<C,V> (format<C> (no_format ())); }
Definition at line 376 of file series.hpp.
{
rep= new zero_series_rep<C,V> (fm); }
Definition at line 392 of file series.hpp.
{
rep= new scalar_series_rep<C,V> (c); }
| series | ( | const T & | c | ) |
Definition at line 394 of file series.hpp.
{
rep= new scalar_series_rep<C,V> (as<C> (c)); }
Definition at line 396 of file series.hpp.
{
rep= new scalar_series_rep<C,V> (promote (c, fm)); }
| series | ( | const T & | c, |
| nat | deg | ||
| ) |
Definition at line 414 of file series.hpp.
{
rep= new polynomial_series_rep<C,V> (polynomial<C> (as<C> (c), deg));
}
| series | ( | const polynomial< T > & | P | ) |
Definition at line 419 of file series.hpp.
{
rep= new polynomial_series_rep<C,V> (polynomial<C> (P));
}
Definition at line 505 of file series.hpp.
{
rep= new cast_series_rep<C,V,T,W> (f);
}
Definition at line 510 of file series.hpp.
{
rep= new cast_series_rep<C,V,T,W> (f, fm);
}
Definition at line 424 of file series.hpp.
{
rep= new polynomial_series_rep<C,V> (polynomial<C> (coeffs));
}
Definition at line 444 of file series.hpp.
{
rep= new iterator_series_rep<C,V> (it, name);
}
| static nat get_cancel_order | ( | ) | [inline, static] |
Definition at line 75 of file series.hpp.
Referenced by series< vector< C >, V >::get_cancel_order().
{
return S::get_cancel_order (); }
| static bool get_formula_output | ( | ) | [inline, static] |
Definition at line 80 of file series.hpp.
Referenced by series< vector< C >, V >::get_formula_output().
{
return S::get_formula_output (); }
| static nat get_output_order | ( | ) | [inline, static] |
Definition at line 70 of file series.hpp.
Referenced by series< vector< C >, V >::get_output_order().
{
return S::get_output_order (); }
| static generic get_variable_name | ( | ) | [inline, static] |
Definition at line 65 of file series.hpp.
Referenced by series< vector< C >, V >::get_variable_name().
{
return S::get_variable_name (); }
| const C * operator() | ( | nat | start, |
| nat | end | ||
| ) | const |
Definition at line 214 of file series.hpp.
{
if (end <= rep->n) return rep->a + start;
if (end >= rep->l) rep->Increase_order (end);
while (rep->n < end) {
rep->a[rep->n]= rep->next ();
//mmout << "{" << rep->n << ";" << this << "}";
rep->n++;
}
return rep->a + start;
}
| const C & operator[] | ( | nat | n | ) | const |
Definition at line 201 of file series.hpp.
{
if (n < rep->n) return rep->a[n];
if (n >= rep->l) rep->Increase_order (n+1);
while (rep->n <= n) {
rep->a[rep->n]= rep->next ();
//mmout << "{" << rep->n << ";" << this << "}";
rep->n++;
}
// mmout << (*this) << " [" << n << "] -> " << rep->a[n] << "\n";
return rep->a[n];
}
| static void set_cancel_order | ( | const nat & | x | ) | [inline, static] |
Definition at line 77 of file series.hpp.
Referenced by series< vector< C >, V >::set_cancel_order().
{
S::set_cancel_order (x); }
| static void set_formula_output | ( | const bool & | x | ) | [inline, static] |
Definition at line 82 of file series.hpp.
Referenced by series< vector< C >, V >::set_formula_output().
{
S::set_formula_output (x); }
| static void set_output_order | ( | const nat & | x | ) | [inline, static] |
Definition at line 72 of file series.hpp.
Referenced by series< vector< C >, V >::set_output_order().
{
S::set_output_order (x); }
| static void set_variable_name | ( | const generic & | x | ) | [inline, static] |
Definition at line 67 of file series.hpp.
Referenced by series< vector< C >, V >::set_variable_name().
{
S::set_variable_name (x); }