basix_doc 0.1
neg_op Struct Reference

#include <operators.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 369 of file operators.hpp.


Member Function Documentation

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

Definition at line 378 of file operators.hpp.

References mmx::derive().

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

Definition at line 370 of file operators.hpp.

References mmx::GEN_MINUS.

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

Definition at line 372 of file operators.hpp.

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

Definition at line 382 of file operators.hpp.

References mmx::C.

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

Definition at line 385 of file operators.hpp.

References mmx::C.

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

Definition at line 376 of file operators.hpp.

References mmx::neg().

{ neg (x, y); }
static void set_op ( C x) [inline, static]

Definition at line 374 of file operators.hpp.

References mmx::neg().

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

Definition at line 397 of file operators.hpp.

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

Definition at line 394 of file operators.hpp.

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

Definition at line 388 of file operators.hpp.

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

Definition at line 391 of file operators.hpp.

                                          {
    neg_mod (x, p, carry); }

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