Class Arctan
- Namespace
- xFunc.Maths.Expressions.Trigonometric
- Assembly
- xFunc.Maths.dll
Represents the Arctangent function.
public class Arctan : InverseTrigonometricExpression, IExpression
- Inheritance
-
Arctan
- Implements
- Inherited Members
- Extension Methods
Constructors
Arctan(IExpression)
Initializes a new instance of the Arctan class.
public Arctan(IExpression expression)
Parameters
expression
IExpressionThe argument of function.
Methods
AnalyzeInternal<TResult>(IAnalyzer<TResult>)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult>(IAnalyzer<TResult> analyzer)
Parameters
analyzer
IAnalyzer<TResult>The analyzer.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)
Parameters
analyzer
IAnalyzer<TResult, TContext>The analyzer.
context
TContextThe context.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
TContext
The type of additional parameter for analyzer.
Clone(IExpression?)
Clones this instance of the IExpression.
public override IExpression Clone(IExpression? argument = null)
Parameters
argument
IExpressionThe argument of new expression.
Returns
- IExpression
Returns the new instance of IExpression that is a clone of this instance.
ExecuteComplex(Complex)
Calculates the this mathematical expression (complex number).
protected override Complex ExecuteComplex(Complex complex)
Parameters
complex
ComplexThe calculation result of argument.
Returns
- Complex
A result of the calculation.
ExecuteInternal(NumberValue)
Calculates this mathematical expression (using radian).
protected override AngleValue ExecuteInternal(NumberValue radian)
Parameters
radian
NumberValueThe calculation result of argument.
Returns
- AngleValue
A result of the calculation.
- See Also