QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Go to the source code of this file.
Variables | |
const long *const | PrimitivePolynomials [18] |
#define N_PRIMITIVES_UP_TO_DEGREE_01 1 |
Definition at line 98 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_02 2 |
Definition at line 99 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_03 4 |
Definition at line 100 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_04 6 |
Definition at line 101 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_05 12 |
Definition at line 102 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_06 18 |
Definition at line 103 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_07 36 |
Definition at line 104 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_08 52 |
Definition at line 105 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_09 100 |
Definition at line 106 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_10 160 |
Definition at line 107 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_11 336 |
Definition at line 108 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_12 480 |
Definition at line 109 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_13 1110 |
Definition at line 110 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_14 1866 |
Definition at line 111 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_15 3666 |
Definition at line 112 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_16 5714 |
Definition at line 113 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_17 13424 |
Definition at line 114 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_18 21200 |
Definition at line 115 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_19 48794 |
Definition at line 116 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_20 72794 |
Definition at line 117 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_21 157466 |
Definition at line 118 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_22 277498 |
Definition at line 119 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_23 634458 |
Definition at line 120 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_24 910938 |
Definition at line 121 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_25 2206938 |
Definition at line 122 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_26 3926838 |
Definition at line 123 of file primitivepolynomials.hpp.
#define N_PRIMITIVES_UP_TO_DEGREE_27 8129334 |
Definition at line 124 of file primitivepolynomials.hpp.
#define N_PRIMITIVES N_PRIMITIVES_UP_TO_DEGREE_27 |
Definition at line 126 of file primitivepolynomials.hpp.
#define PPMT_MAX_DIM N_PRIMITIVES_UP_TO_DEGREE_18 |
Definition at line 204 of file primitivepolynomials.hpp.
#define PPMT_MAX_DIM N_PRIMITIVES_UP_TO_DEGREE_18 |
Definition at line 204 of file primitivepolynomials.hpp.
#define N_MAX_DEGREE 18 |
Definition at line 205 of file primitivepolynomials.hpp.
|
extern |
You can access the following array as in PrimitivePolynomials[i][j] with i and j counting from 0 in C convention. PrimitivePolynomials[i][j] will get you the j-th (counting from zero) primitive polynomial of degree i+1. Each one-dimensional array of primitive polynomials of a given degree is terminated with an entry of -1. Accessing beyond this entry will result in a memory violation and must be avoided.
Definition at line 21323 of file primitivepolynomials.cpp.