basix_doc 0.1
mul_op Struct Reference

#include <operators.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

Definition at line 513 of file operators.hpp.


Member Typedef Documentation

typedef mul_add_op acc_op

Definition at line 518 of file operators.hpp.

typedef clear_op clr_op

Definition at line 517 of file operators.hpp.

typedef id_op nomul_op

Definition at line 516 of file operators.hpp.

typedef lmul_op sc_left

Definition at line 514 of file operators.hpp.

typedef rmul_op sc_right

Definition at line 515 of file operators.hpp.


Member Function Documentation

static C diff_op ( const C me,
const C x,
const C y 
) [inline, static]

Definition at line 532 of file operators.hpp.

References mmx::derive().

                                                {
    (void) me; return derive (x)*y + x*derive (y); }
static generic name ( ) [inline, static]

Definition at line 519 of file operators.hpp.

References mmx::GEN_TIMES.

{ return GEN_TIMES; }
static C neutral ( ) [inline, static]

Definition at line 522 of file operators.hpp.

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

Definition at line 526 of file operators.hpp.

{ return x * y; }
static C op_mod ( const C x,
const C y,
const M &  p 
) [inline, static]

Definition at line 535 of file operators.hpp.

References mmx::C.

                                              {
    C z; mul_mod (z, x, y, p); return z; }
static C op_mod ( const C x,
const C y,
const M &  p,
C carry 
) [inline, static]

Definition at line 538 of file operators.hpp.

References mmx::C.

                                                        {
    C z; mul_mod (z, x, y, p, carry); return z; }
static generic set_name ( ) [inline, static]

Definition at line 520 of file operators.hpp.

References mmx::GEN_TIMES_ASSIGN.

{ return GEN_TIMES_ASSIGN; }
static void set_neutral ( R &  r) [inline, static]

Definition at line 524 of file operators.hpp.

References mmx::set_one().

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

Definition at line 530 of file operators.hpp.

References mmx::mul().

{ mul (x, y1, y2); }
static void set_op ( R &  x,
const C y 
) [inline, static]

Definition at line 528 of file operators.hpp.

{ x *= y; }
static void set_op ( C x,
const C y1,
const C y2,
const M &  p,
C carry 
) [inline, static]

Definition at line 550 of file operators.hpp.

                                                                {
    mul_mod (x, y1, y2, p, carry); }
static void set_op ( C x,
const C y1,
const C y2,
const M &  p 
) [inline, static]

Definition at line 547 of file operators.hpp.

                                                      {
    mul_mod (x, y1, y2, p); }
static void set_op_mod ( C x,
const C y,
const M &  p,
C carry 
) [inline, static]

Definition at line 544 of file operators.hpp.

                                                      {
    mul_mod (x, y, p, carry); }
static void set_op_mod ( C x,
const C y,
const M &  p 
) [inline, static]

Definition at line 541 of file operators.hpp.

                                            {
    mul_mod (x, y, p); }

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