prem_op Struct Reference

#include <operators.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 797 of file operators.hpp.


Member Function Documentation

static generic name (  )  [inline, static]

Definition at line 798 of file operators.hpp.

00798 { return "prem"; }

static C op ( const C x,
const C y,
nat  n 
) [inline, static]

Definition at line 804 of file operators.hpp.

References mmx::binpow(), and mmx::C.

00804                                      {
00805     if (x == 0 || y == 0) return x;
00806     nat m= deg (y);
00807     C z= m >= n ? C(1) : C(binpow (y[m], n - m));
00808     return  z * prem (x, y); }

static C op ( const C x,
const C y 
) [inline, static]

Definition at line 800 of file operators.hpp.

00800 { return prem (x, y); }

static void set_op ( R &  x,
const C1 &  y1,
const C2 y2 
) [inline, static]

Definition at line 802 of file operators.hpp.

00802 { x= prem (y1, y2); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1