#include <Special.h>
Special class.
- Author
- Sebastian Wouters sebas.nosp@m.tian.nosp@m.woute.nosp@m.rs@g.nosp@m.mail..nosp@m.com
- Date
- April 7, 2016
The special class contains static special functions used at various places throughout the code.
Definition at line 29 of file Special.h.
static void CheMPS2::Special::invert_lower_triangle_two |
( |
const int |
global, |
|
|
int * |
result |
|
) |
| |
|
inlinestatic |
LOWER triangle function for two variables.
- Parameters
-
global | The lower triangle counter global = i + ( j * ( j - 1 ) ) / 2 with i < j |
result | Integer array of size 2 where to store i < j |
Definition at line 53 of file Special.h.
static void CheMPS2::Special::invert_triangle_three |
( |
const int |
global, |
|
|
int * |
result |
|
) |
| |
|
inlinestatic |
Triangle function for three variables.
- Parameters
-
global | The triangle counter global = i + ( j * ( j + 1 ) ) / 2 + ( k * ( k + 1 ) * ( k + 2 ) ) / 6 with i <= j <= k |
result | Integer array of size 3 where to store i <= j <= k |
Definition at line 65 of file Special.h.
static void CheMPS2::Special::invert_triangle_two |
( |
const int |
global, |
|
|
int * |
result |
|
) |
| |
|
inlinestatic |
Triangle function for two variables.
- Parameters
-
global | The triangle counter global = i + ( j * ( j + 1 ) ) / 2 with i <= j |
result | Integer array of size 2 where to store i <= j |
Definition at line 41 of file Special.h.
static int CheMPS2::Special::phase |
( |
const int |
power_times_two | ) |
|
|
inlinestatic |
Phase function.
- Parameters
-
power_times_two | Two times the power of the phase (-1)^{ power } |
- Returns
- The phase (-1)^{ power_times_two / 2 }
Definition at line 36 of file Special.h.
The documentation for this class was generated from the following file: