mul_op Struct Reference

#include <operators.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

Definition at line 539 of file operators.hpp.


Member Typedef Documentation

typedef mul_add_op acc_op

Definition at line 544 of file operators.hpp.

typedef clear_op clr_op

Definition at line 543 of file operators.hpp.

typedef id_op nomul_op

Definition at line 542 of file operators.hpp.

typedef lmul_op sc_left

Definition at line 540 of file operators.hpp.

typedef rmul_op sc_right

Definition at line 541 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 558 of file operators.hpp.

References mmx::derive().

00558                                                 {
00559     (void) me; return derive (x)*y + x*derive (y); }

static generic name (  )  [inline, static]

Definition at line 545 of file operators.hpp.

References mmx::GEN_TIMES.

00545 { return GEN_TIMES; }

static C neutral (  )  [inline, static]

Definition at line 548 of file operators.hpp.

00548 { return 1; }

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

Definition at line 552 of file operators.hpp.

00552 { return x * y; }

static C op_mod ( const C x,
const C y,
const M &  p,
C carry 
) [inline, static]

Definition at line 564 of file operators.hpp.

References mmx::C.

00564                                                         {
00565     C z; mul_mod (z, x, y, p, carry); return z; }

static C op_mod ( const C x,
const C y,
const M &  p 
) [inline, static]

Definition at line 561 of file operators.hpp.

References mmx::C.

00561                                               {
00562     C z; mul_mod (z, x, y, p); return z; }

static generic set_name (  )  [inline, static]

Definition at line 546 of file operators.hpp.

References mmx::GEN_TIMES_ASSIGN.

00546 { return GEN_TIMES_ASSIGN; }

static void set_neutral ( R &  r  )  [inline, static]

Definition at line 550 of file operators.hpp.

References mmx::set_one().

00550 { set_one (r); }

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

Definition at line 576 of file operators.hpp.

00576                                                                 {
00577     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 573 of file operators.hpp.

00573                                                       {
00574     mul_mod (x, y1, y2, p); }

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

Definition at line 556 of file operators.hpp.

References mmx::mul().

00556 { mul (x, y1, y2); }

static void set_op ( R &  x,
const C y 
) [inline, static]

Definition at line 554 of file operators.hpp.

00554 { x *= y; }

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

Definition at line 570 of file operators.hpp.

00570                                                       {
00571     mul_mod (x, y, p, carry); }

static void set_op_mod ( C x,
const C y,
const M &  p 
) [inline, static]

Definition at line 567 of file operators.hpp.

00567                                             {
00568     mul_mod (x, y, p); }


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

Generated on 6 Dec 2012 for basix by  doxygen 1.6.1