basix_doc 0.1
quo_op Struct Reference

#include <operators.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 727 of file operators.hpp.


Member Function Documentation

static C def ( const C me,
const C f,
const C g 
) [inline, static]

Definition at line 735 of file operators.hpp.

References mmx::lshiftz(), mmx::quo(), mmx::rshiftz(), and mmx::val.

                                            {
    if (g[0] == 0) {
      nat val;
      for (val=0; g[val]==0; val++)
        if (val == C::get_cancel_order ()) return 0;
      return quo (rshiftz (f, (int) val), rshiftz (g, (int) val));
    }
    return quo (f - lshiftz (me * rshiftz (g)), g[0]); }
static generic name ( ) [inline, static]

Definition at line 728 of file operators.hpp.

References mmx::GEN_DIV.

{ return GEN_DIV; }
static nat nr_init ( ) [inline, static]

Definition at line 733 of file operators.hpp.

{ return 0; }
static C op ( const C x,
const C y 
) [inline, static]

Definition at line 730 of file operators.hpp.

References mmx::quo().

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

Definition at line 732 of file operators.hpp.

References mmx::quo().

{ x= quo (y1, y2); }

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