sub_op Struct Reference

#include <operators.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

Definition at line 483 of file operators.hpp.


Member Typedef Documentation

typedef id_op lop

Definition at line 484 of file operators.hpp.

typedef neg_op rop

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

References mmx::derive().

00495                                                 {
00496     (void) me; return derive (x) - derive (y); }

static generic name (  )  [inline, static]

Definition at line 486 of file operators.hpp.

References mmx::GEN_MINUS.

00486 { return GEN_MINUS; }

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

Definition at line 489 of file operators.hpp.

00489 { return x - y; }

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

Definition at line 501 of file operators.hpp.

References mmx::C.

00501                                                         {
00502     C z; sub_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 498 of file operators.hpp.

References mmx::C.

00498                                               {
00499     C z; sub_mod (z, x, y, p); return z; }

static generic set_name (  )  [inline, static]

Definition at line 487 of file operators.hpp.

References mmx::GEN_MINUS_ASSIGN.

00487 { return GEN_MINUS_ASSIGN; }

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

Definition at line 493 of file operators.hpp.

References mmx::sub().

00493 { sub (x, y1, y2); }

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

Definition at line 491 of file operators.hpp.

00491 { x -= y; }

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

Definition at line 513 of file operators.hpp.

00513                                                                     {
00514     sub_mod (x, y1, y2, p, carry); }

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

Definition at line 510 of file operators.hpp.

00510                                                           {
00511     sub_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 507 of file operators.hpp.

00507                                                       {
00508     sub_mod (x, y, p, carry); }

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

Definition at line 504 of file operators.hpp.

00504                                             {
00505     sub_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