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
argumentsImmutableArray<IExpression>The argument of function.
- See Also
TrigonometricExpression(IExpression)
Initializes a new instance of the TrigonometricExpression class.
protected TrigonometricExpression(IExpression expression)
Parameters
expressionIExpressionThe argument of function.
Methods
Execute(ExpressionParameters?)
Executes this expression.
public override object Execute(ExpressionParameters? parameters)
Parameters
parametersExpressionParametersAn 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
complexComplexThe 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
angleValueAngleValueThe angle.
Returns
- NumberValue
A result of the calculation.