QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Macros | Variables
primitivepolynomials.hpp File Reference

Go to the source code of this file.

Macros

#define N_PRIMITIVES_UP_TO_DEGREE_01   1
 
#define N_PRIMITIVES_UP_TO_DEGREE_02   2
 
#define N_PRIMITIVES_UP_TO_DEGREE_03   4
 
#define N_PRIMITIVES_UP_TO_DEGREE_04   6
 
#define N_PRIMITIVES_UP_TO_DEGREE_05   12
 
#define N_PRIMITIVES_UP_TO_DEGREE_06   18
 
#define N_PRIMITIVES_UP_TO_DEGREE_07   36
 
#define N_PRIMITIVES_UP_TO_DEGREE_08   52
 
#define N_PRIMITIVES_UP_TO_DEGREE_09   100
 
#define N_PRIMITIVES_UP_TO_DEGREE_10   160
 
#define N_PRIMITIVES_UP_TO_DEGREE_11   336
 
#define N_PRIMITIVES_UP_TO_DEGREE_12   480
 
#define N_PRIMITIVES_UP_TO_DEGREE_13   1110
 
#define N_PRIMITIVES_UP_TO_DEGREE_14   1866
 
#define N_PRIMITIVES_UP_TO_DEGREE_15   3666
 
#define N_PRIMITIVES_UP_TO_DEGREE_16   5714
 
#define N_PRIMITIVES_UP_TO_DEGREE_17   13424
 
#define N_PRIMITIVES_UP_TO_DEGREE_18   21200
 
#define N_PRIMITIVES_UP_TO_DEGREE_19   48794
 
#define N_PRIMITIVES_UP_TO_DEGREE_20   72794
 
#define N_PRIMITIVES_UP_TO_DEGREE_21   157466
 
#define N_PRIMITIVES_UP_TO_DEGREE_22   277498
 
#define N_PRIMITIVES_UP_TO_DEGREE_23   634458
 
#define N_PRIMITIVES_UP_TO_DEGREE_24   910938
 
#define N_PRIMITIVES_UP_TO_DEGREE_25   2206938
 
#define N_PRIMITIVES_UP_TO_DEGREE_26   3926838
 
#define N_PRIMITIVES_UP_TO_DEGREE_27   8129334
 
#define N_PRIMITIVES   N_PRIMITIVES_UP_TO_DEGREE_27
 
#define PPMT_MAX_DIM   N_PRIMITIVES_UP_TO_DEGREE_18
 
#define PPMT_MAX_DIM   N_PRIMITIVES_UP_TO_DEGREE_18
 
#define N_MAX_DEGREE   18
 

Variables

const long *const PrimitivePolynomials [18]
 

Macro Definition Documentation

◆ N_PRIMITIVES_UP_TO_DEGREE_01

#define N_PRIMITIVES_UP_TO_DEGREE_01   1

Definition at line 98 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_02

#define N_PRIMITIVES_UP_TO_DEGREE_02   2

Definition at line 99 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_03

#define N_PRIMITIVES_UP_TO_DEGREE_03   4

Definition at line 100 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_04

#define N_PRIMITIVES_UP_TO_DEGREE_04   6

Definition at line 101 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_05

#define N_PRIMITIVES_UP_TO_DEGREE_05   12

Definition at line 102 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_06

#define N_PRIMITIVES_UP_TO_DEGREE_06   18

Definition at line 103 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_07

#define N_PRIMITIVES_UP_TO_DEGREE_07   36

Definition at line 104 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_08

#define N_PRIMITIVES_UP_TO_DEGREE_08   52

Definition at line 105 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_09

#define N_PRIMITIVES_UP_TO_DEGREE_09   100

Definition at line 106 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_10

#define N_PRIMITIVES_UP_TO_DEGREE_10   160

Definition at line 107 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_11

#define N_PRIMITIVES_UP_TO_DEGREE_11   336

Definition at line 108 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_12

#define N_PRIMITIVES_UP_TO_DEGREE_12   480

Definition at line 109 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_13

#define N_PRIMITIVES_UP_TO_DEGREE_13   1110

Definition at line 110 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_14

#define N_PRIMITIVES_UP_TO_DEGREE_14   1866

Definition at line 111 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_15

#define N_PRIMITIVES_UP_TO_DEGREE_15   3666

Definition at line 112 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_16

#define N_PRIMITIVES_UP_TO_DEGREE_16   5714

Definition at line 113 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_17

#define N_PRIMITIVES_UP_TO_DEGREE_17   13424

Definition at line 114 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_18

#define N_PRIMITIVES_UP_TO_DEGREE_18   21200

Definition at line 115 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_19

#define N_PRIMITIVES_UP_TO_DEGREE_19   48794

Definition at line 116 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_20

#define N_PRIMITIVES_UP_TO_DEGREE_20   72794

Definition at line 117 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_21

#define N_PRIMITIVES_UP_TO_DEGREE_21   157466

Definition at line 118 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_22

#define N_PRIMITIVES_UP_TO_DEGREE_22   277498

Definition at line 119 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_23

#define N_PRIMITIVES_UP_TO_DEGREE_23   634458

Definition at line 120 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_24

#define N_PRIMITIVES_UP_TO_DEGREE_24   910938

Definition at line 121 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_25

#define N_PRIMITIVES_UP_TO_DEGREE_25   2206938

Definition at line 122 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_26

#define N_PRIMITIVES_UP_TO_DEGREE_26   3926838

Definition at line 123 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES_UP_TO_DEGREE_27

#define N_PRIMITIVES_UP_TO_DEGREE_27   8129334

Definition at line 124 of file primitivepolynomials.hpp.

◆ N_PRIMITIVES

#define N_PRIMITIVES   N_PRIMITIVES_UP_TO_DEGREE_27

Definition at line 126 of file primitivepolynomials.hpp.

◆ PPMT_MAX_DIM [1/2]

#define PPMT_MAX_DIM   N_PRIMITIVES_UP_TO_DEGREE_18

Definition at line 204 of file primitivepolynomials.hpp.

◆ PPMT_MAX_DIM [2/2]

#define PPMT_MAX_DIM   N_PRIMITIVES_UP_TO_DEGREE_18

Definition at line 204 of file primitivepolynomials.hpp.

◆ N_MAX_DEGREE

#define N_MAX_DEGREE   18

Definition at line 205 of file primitivepolynomials.hpp.

Variable Documentation

◆ PrimitivePolynomials

const long* const PrimitivePolynomials[18]
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.