basix_doc 0.1
|
#include <operators.hpp>
Definition at line 1140 of file operators.hpp.
Definition at line 1153 of file operators.hpp.
References ASSERT, mmx::derive(), mmx::integrate(), mmx::lshiftz(), mmx::rshiftz(), mmx::sqrt(), and mmx::val.
{ if (f[0] == 0) { nat val= 0; for (val=0; val< C::get_cancel_order () && f[val]==0; val++); ASSERT (val< C::get_cancel_order () , "valuation too high"); ASSERT ((val&1) == 0, "square root is not a series"); return lshiftz (sqrt (rshiftz (f, (int) val)), (int) (val/2)); } return integrate (derive (f) / (2*me)); }
Definition at line 1149 of file operators.hpp.
References mmx::derive().
{ return derive (x) / (2 * me); }
static generic name | ( | ) | [inline, static] |
static nat nr_init | ( | ) | [inline, static] |
Definition at line 1151 of file operators.hpp.
{ return 1; }
Definition at line 1147 of file operators.hpp.
References mmx::sqrt_init().
{ return sqrt_init (x, i); }
static void set_op | ( | R & | x, |
const C & | y | ||
) | [inline, static] |