Table of Contents

Class MathHelper

Namespace
NCalc.Helpers
Assembly
NCalc.Core.dll

Utilities for doing mathematical operations between different object types.

public static class MathHelper
Inheritance
MathHelper
Inherited Members

Methods

Abs(object?, MathHelperOptions)

public static object Abs(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Acos(object?, MathHelperOptions)

public static object Acos(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Add(object?, object?)

public static object? Add(object? a, object? b)

Parameters

a object
b object

Returns

object

Add(object?, object?, MathHelperOptions)

public static object? Add(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Asin(object?, MathHelperOptions)

public static object Asin(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Atan(object?, MathHelperOptions)

public static object Atan(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Atan2(object?, object?, MathHelperOptions)

public static object Atan2(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Ceiling(object?, MathHelperOptions)

public static object Ceiling(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Cos(object?, MathHelperOptions)

public static object Cos(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Divide(object?, object?)

public static object? Divide(object? a, object? b)

Parameters

a object
b object

Returns

object

Divide(object?, object?, MathHelperOptions)

public static object? Divide(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Exp(object?, MathHelperOptions)

public static object Exp(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Floor(object?, MathHelperOptions)

public static object Floor(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

IEEERemainder(object?, object?, MathHelperOptions)

public static object IEEERemainder(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Ln(object?, MathHelperOptions)

public static object Ln(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Log(object?, object?, MathHelperOptions)

public static object Log(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Log10(object?, MathHelperOptions)

public static object Log10(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Max(object, object)

public static object? Max(object a, object b)

Parameters

a object
b object

Returns

object

Max(object?, object?, MathHelperOptions)

public static object? Max(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Min(object?, object?)

public static object? Min(object? a, object? b)

Parameters

a object
b object

Returns

object

Min(object?, object?, MathHelperOptions)

public static object? Min(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Modulo(object?, object?)

public static object? Modulo(object? a, object? b)

Parameters

a object
b object

Returns

object

Modulo(object?, object?, MathHelperOptions)

public static object? Modulo(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Multiply(object?, object?)

public static object? Multiply(object? a, object? b)

Parameters

a object
b object

Returns

object

Multiply(object?, object?, MathHelperOptions)

public static object? Multiply(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Pow(object?, object?, MathHelperOptions)

public static object Pow(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Round(object?, object?, MidpointRounding, MathHelperOptions)

public static object Round(object? a, object? b, MidpointRounding rounding, MathHelperOptions options)

Parameters

a object
b object
rounding MidpointRounding
options MathHelperOptions

Returns

object

Sign(object?, MathHelperOptions)

public static object Sign(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Sin(object?, MathHelperOptions)

public static object Sin(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Sqrt(object?, MathHelperOptions)

public static object Sqrt(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Subtract(object?, object?)

public static object? Subtract(object? a, object? b)

Parameters

a object
b object

Returns

object

Subtract(object?, object?, MathHelperOptions)

public static object? Subtract(object? a, object? b, MathHelperOptions options)

Parameters

a object
b object
options MathHelperOptions

Returns

object

Tan(object?, MathHelperOptions)

public static object Tan(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object

Truncate(object?, MathHelperOptions)

public static object Truncate(object? a, MathHelperOptions options)

Parameters

a object
options MathHelperOptions

Returns

object