Table of Contents

Class TrigonometricExpression

Namespace
xFunc.Maths.Expressions.Trigonometric
Assembly
xFunc.Maths.dll

The base class for trigonometric functions. This is an abstract class.

public abstract class TrigonometricExpression : UnaryExpression, IExpression
Inheritance
TrigonometricExpression
Implements
Derived
Inherited Members
Extension Methods

Constructors

TrigonometricExpression(ImmutableArray<IExpression>)

Initializes a new instance of the TrigonometricExpression class.

protected TrigonometricExpression(ImmutableArray<IExpression> arguments)

Parameters

arguments ImmutableArray<IExpression>

The argument of function.

See Also

TrigonometricExpression(IExpression)

Initializes a new instance of the TrigonometricExpression class.

protected TrigonometricExpression(IExpression expression)

Parameters

expression IExpression

The argument of function.

Methods

Execute(ExpressionParameters?)

Executes this expression.

public override object Execute(ExpressionParameters? parameters)

Parameters

parameters ExpressionParameters

An object that contains all parameters and functions for expressions.

Returns

object

A result of the calculation.

See Also

ExecuteComplex(Complex)

Calculates the this mathematical expression (complex number).

protected abstract Complex ExecuteComplex(Complex complex)

Parameters

complex Complex

The calculation result of argument.

Returns

Complex

A result of the calculation.

ExecuteInternal(AngleValue)

Calculates this mathematical expression (using radian).

protected abstract NumberValue ExecuteInternal(AngleValue angleValue)

Parameters

angleValue AngleValue

The angle.

Returns

NumberValue

A result of the calculation.

See Also