Table of Contents

Class Cosh

Namespace
xFunc.Maths.Expressions.Hyperbolic
Assembly
xFunc.Maths.dll

Represents the Hyperbolic cosine function.

public class Cosh : HyperbolicExpression, IExpression
Inheritance
Cosh
Implements
Inherited Members
Extension Methods

Constructors

Cosh(IExpression)

Initializes a new instance of the Cosh class.

public Cosh(IExpression expression)

Parameters

expression IExpression

The 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 TContext

The 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 IExpression

The argument of new expression.

Returns

IExpression

Returns the new instance of IExpression that is a clone of this instance.

ExecuteComplex(Complex)

Executes this expression.

protected override Complex ExecuteComplex(Complex complex)

Parameters

complex Complex

The calculation result of argument.

Returns

Complex

A result of the execution.

See Also

ExecuteInternal(AngleValue)

Calculates this mathematical expression (using radian).

protected override NumberValue ExecuteInternal(AngleValue angleValue)

Parameters

angleValue AngleValue

The angle.

Returns

NumberValue

A result of the calculation.

See Also