PandA-2024.02
|
#include "fixedptc.h"
Go to the source code of this file.
Functions | |
fixedpt | asset_path_fixed_simplified (fixedpt s0, fixedpt mu, fixedpt sigma, fixedpt t1, int n, int *seed) |
void | get_two_normal_fixed (int *seed, fixedpt *n1, fixedpt *n2) |
fixedpt | get_uniform_fixed (int *seed) |
|
inline |
Definition at line 5 of file black_scholes.c.
References fixedpt_add, fixedpt_div(), fixedpt_exp(), FIXEDPT_FBITS, fixedpt_mul(), fixedpt_sqrt(), fixedpt_sub, and get_two_normal_fixed().
Referenced by asset_path_test().
Definition at line 22 of file black_scholes.c.
References fixedpt_cos(), fixedpt_ln(), fixedpt_mul(), fixedpt_sin(), fixedpt_sqrt(), FIXEDPT_TWO, get_uniform_fixed(), and twoPI.
Referenced by asset_path_fixed_simplified().
fixedpt get_uniform_fixed | ( | int * | seed | ) |
Definition at line 33 of file black_scholes.c.
References k.
Referenced by get_two_normal_fixed(), and processPhoton().