neg_op Struct Reference
#include <operators.hpp>
List of all members.
Static Public Member Functions
- static generic name ()
- template<typename C > static C op (const C &x)
- template<typename C > static void set_op (C &x)
- template<typename R , typename C > static void set_op (R &x, const C &y)
- template<typename C > static C diff_op (const C &me, const C &x)
- template<typename C , typename M > static C op_mod (const C &x, const M &p)
- template<typename C , typename M > static C op_mod (const C &x, const M &p, C &carry)
- template<typename C , typename M > static void set_op_mod (C &x, const M &p)
- template<typename C , typename M > static void set_op_mod (C &x, const M &p, C &carry)
- template<typename C , typename M > static void set_op_mod (C &x, const C &y, const M &p)
- template<typename C , typename M > static void set_op_mod (C &x, const C &y, const M &p, C &carry)
Detailed Description
Definition at line 395 of file operators.hpp.
Member Function Documentation
static C diff_op |
( |
const C & |
me, |
|
|
const C & |
x | |
|
) |
| | [inline, static] |
static generic name |
( |
|
) |
[inline, static] |
static C op |
( |
const C & |
x |
) |
[inline, static] |
static C op_mod |
( |
const C & |
x, |
|
|
const M & |
p, |
|
|
C & |
carry | |
|
) |
| | [inline, static] |
Definition at line 411 of file operators.hpp.
References mmx::C.
00411 {
00412 C y; neg_mod (y, x, p, carry); return y; }
static C op_mod |
( |
const C & |
x, |
|
|
const M & |
p | |
|
) |
| | [inline, static] |
static void set_op |
( |
R & |
x, |
|
|
const C & |
y | |
|
) |
| | [inline, static] |
static void set_op |
( |
C & |
x |
) |
[inline, static] |
static void set_op_mod |
( |
C & |
x, |
|
|
const C & |
y, |
|
|
const M & |
p, |
|
|
C & |
carry | |
|
) |
| | [inline, static] |
Definition at line 423 of file operators.hpp.
00423 {
00424 neg_mod (x, y, p, carry); }
static void set_op_mod |
( |
C & |
x, |
|
|
const C & |
y, |
|
|
const M & |
p | |
|
) |
| | [inline, static] |
Definition at line 420 of file operators.hpp.
00420 {
00421 neg_mod (x, y, p); }
static void set_op_mod |
( |
C & |
x, |
|
|
const M & |
p, |
|
|
C & |
carry | |
|
) |
| | [inline, static] |
Definition at line 417 of file operators.hpp.
00417 {
00418 neg_mod (x, p, carry); }
static void set_op_mod |
( |
C & |
x, |
|
|
const M & |
p | |
|
) |
| | [inline, static] |
The documentation for this struct was generated from the following file: