• Preparing search index...
  • The search index is not available
emath.js
  • emath.js
  • classes/numericalAnalysis/numericalAnalysis
  • mean

Function mean

  • mean(a, b, mode?): Decimal
  • Calculates the mean of two values using a specified method.

    Parameters

    • a: DecimalSource

      The first value.

    • b: DecimalSource

      The second value.

    • mode: MeanMode = "geometric"

      The mode/mean method to use. See MeanMode

    Returns Decimal

    The mean of the two values, as a Decimal.

    • Defined in classes/numericalAnalysis/numericalAnalysis.ts:56

Settings

Member Visibility
emath.js
  • Loading...

Generated using TypeDoc