UNPKG

835 BJavaScriptView Raw
1export var DEFAULT_CONFIG = {
2 // minimum relative difference between two compared values,
3 // used by all comparison functions
4 epsilon: 1e-12,
5 // type of default matrix output. Choose 'matrix' (default) or 'array'
6 matrix: 'Matrix',
7 // type of default number output. Choose 'number' (default) 'BigNumber', or 'Fraction
8 number: 'number',
9 // number of significant digits in BigNumbers
10 precision: 64,
11 // predictable output type of functions. When true, output type depends only
12 // on the input types. When false (default), output type can vary depending
13 // on input values. For example `math.sqrt(-4)` returns `complex('2i')` when
14 // predictable is false, and returns `NaN` when true.
15 predictable: false,
16 // random seed for seeded pseudo random number generation
17 // null = randomly seed
18 randomSeed: null
19};
\No newline at end of file