basix_doc 0.1
prem_op Struct Reference

#include <operators.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 771 of file operators.hpp.


Member Function Documentation

static generic name ( ) [inline, static]

Definition at line 772 of file operators.hpp.

{ return "prem"; }
static C op ( const C x,
const C y,
nat  n 
) [inline, static]

Definition at line 778 of file operators.hpp.

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

                                     {
    if (x == 0 || y == 0) return x;
    nat m= deg (y);
    C z= m >= n ? C(1) : C(binpow (y[m], n - m));
    return  z * prem (x, y); }
static C op ( const C x,
const C y 
) [inline, static]

Definition at line 774 of file operators.hpp.

{ return prem (x, y); }
static void set_op ( R &  x,
const C1 &  y1,
const C2 y2 
) [inline, static]

Definition at line 776 of file operators.hpp.

{ x= prem (y1, y2); }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines