config.js 982 B

1234567891011121314151617181920212223242526
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.DEFAULT_CONFIG = void 0;
  6. var DEFAULT_CONFIG = {
  7. // minimum relative difference between two compared values,
  8. // used by all comparison functions
  9. epsilon: 1e-12,
  10. // type of default matrix output. Choose 'matrix' (default) or 'array'
  11. matrix: 'Matrix',
  12. // type of default number output. Choose 'number' (default) 'BigNumber', or 'Fraction
  13. number: 'number',
  14. // number of significant digits in BigNumbers
  15. precision: 64,
  16. // predictable output type of functions. When true, output type depends only
  17. // on the input types. When false (default), output type can vary depending
  18. // on input values. For example `math.sqrt(-4)` returns `complex('2i')` when
  19. // predictable is false, and returns `NaN` when true.
  20. predictable: false,
  21. // random seed for seeded pseudo random number generation
  22. // null = randomly seed
  23. randomSeed: null
  24. };
  25. exports.DEFAULT_CONFIG = DEFAULT_CONFIG;