Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/math/_base.js

  • Provides:

    • dojox.math._base
  • dojox.math.toRadians

    • parameters:
      • n: (typeof Number)
    • returns
      Number
    • summary
      Convert the passed number to radians.
    • type
      Function
  • dojox.math.toDegrees

    • parameters:
      • n: (typeof Number)
    • returns
      Number
    • summary
      Convert the passed number to degrees.
    • type
      Function
  • dojox.math.degreesToRadians

    • parameters:
      • n: (typeof Number)
    • returns
      Number
    • summary
      Deprecated.  Use dojox.math.toRadians.
    • type
      Function
  • dojox.math.radiansToDegrees

    • parameters:
      • n: (typeof Number)
    • returns
      Number
    • summary
      Deprecated.  Use dojox.math.toDegrees.
    • type
      Function
  • dojox.math._gamma

    • parameters:
      • z
    • returns
      normal integer quick return|undefined at nonpositive integers since sin() below will return 0|popular gamma(1/2)|reflection
    • summary
      Compute the gamma function for the passed number.
      Approximately 14 dijits of precision with non-integers.
    • type
      Function
  • dojox.math.factorial

    • parameters:
      • n: (typeof Number)
    • returns
      Number
    • summary
      Return the factorial of n
    • type
      Function
  • dojox.math.permutations

    • parameters:
      • n: (typeof Number)
      • k: (typeof Number)
    • returns
      Number
    • summary
      TODO
    • type
      Function
  • dojox.math.combinations

    • parameters:
      • n: (typeof Number)
      • r: (typeof Number)
    • returns
      Number
    • summary
      TODO
    • type
      Function
  • dojox.math.bernstein

    • parameters:
      • t: (typeof Number)
      • n: (typeof Number)
      • i: (typeof Number)
    • returns
      Number
    • summary
      TODO
    • type
      Function
  • dojox.math.gaussian

    • returns
      Number
    • summary
      Return a random number based on the Gaussian algo.
    • type
      Function
  • dojox.math.range

    • parameters:
      • a: (typeof Number)
      • b: (typeof Number)
      • step: (typeof Number)
    • returns
      Array
    • summary
      Create a range of numbers based on the parameters.
    • type
      Function
  • dojox.math.distance

    • parameters:
      • a: (typeof Array)
      • b: (typeof Array)
    • returns
      Number
    • summary
      Calculate the distance between point A and point B
    • type
      Function
  • dojox.math.midpoint

    • parameters:
      • a: (typeof Array)
      • b: (typeof Array)
    • returns
      Array
    • summary
      Calculate the midpoint between points A and B.  A and B may be multidimensional.
    • type
      Function
  • dojox.math

    • alias - dojox.math
  • dojox.math._base

    • type
      Object
  • dojox

    • type
      Object