QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Variables
primitivepolynomials.cpp File Reference
#include <ql/math/randomnumbers/primitivepolynomials.hpp>

Go to the source code of this file.

Variables

const long *const PrimitivePolynomials [N_MAX_DEGREE]
 

Variable Documentation

◆ PrimitivePolynomials

const long* const PrimitivePolynomials[N_MAX_DEGREE]

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.