basix_doc 0.1
sub_op Struct Reference

#include <operators.hpp>

List of all members.

Public Types

Static Public Member Functions


Detailed Description

Definition at line 457 of file operators.hpp.


Member Typedef Documentation

typedef id_op lop

Definition at line 458 of file operators.hpp.

typedef neg_op rop

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

References mmx::derive().

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

Definition at line 460 of file operators.hpp.

References mmx::GEN_MINUS.

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

Definition at line 463 of file operators.hpp.

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

Definition at line 475 of file operators.hpp.

References mmx::C.

                                                        {
    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 472 of file operators.hpp.

References mmx::C.

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

Definition at line 461 of file operators.hpp.

References mmx::GEN_MINUS_ASSIGN.

{ return GEN_MINUS_ASSIGN; }
static void set_op ( R &  x,
const C y 
) [inline, static]

Definition at line 465 of file operators.hpp.

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

Definition at line 467 of file operators.hpp.

References mmx::sub().

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

Definition at line 484 of file operators.hpp.

                                                          {
    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 481 of file operators.hpp.

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

Definition at line 478 of file operators.hpp.

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

Definition at line 487 of file operators.hpp.

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

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