BigFloat.Cosh Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Cosh(BigFloat) Returns the hyperbolic cosine of a number.
Cosh(BigFloat, AccuracyGoal) Returns the hyperbolic cosine of a number with the specified accuracy.
Cosh(BigFloat, AccuracyGoal, RoundingMode) Returns the hyperbolic cosine of a number with the specified accuracy.

Cosh(BigFloat)

Returns the hyperbolic cosine of a number.
C#
public static BigFloat Cosh(
	BigFloat value
)

Parameters

value  BigFloat
A BigFloat value.

Return Value

BigFloat
The hyperbolic cosine of value.

Implements

IHyperbolicFunctions<TSelf>.Cosh(TSelf)

Remarks

The result has the same relative accuracy as value.

Exceptions

ArgumentNullException

value is null.

Cosh(BigFloat, AccuracyGoal)

Returns the hyperbolic cosine of a number with the specified accuracy.
C#
public static BigFloat Cosh(
	BigFloat value,
	AccuracyGoal accuracyGoal
)

Parameters

value  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.

Return Value

BigFloat
The hyperbolic cosine of value with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

value is null.

Cosh(BigFloat, AccuracyGoal, RoundingMode)

Returns the hyperbolic cosine of a number with the specified accuracy.
C#
public static BigFloat Cosh(
	BigFloat value,
	AccuracyGoal accuracyGoal,
	RoundingMode roundingMode
)

Parameters

value  BigFloat
A BigFloat value.
accuracyGoal  AccuracyGoal
An AccuracyGoal value that specifies the desired accuracy of the result.
roundingMode  RoundingMode
A RoundingMode value that specifies how the result should be rounded.

Return Value

BigFloat
The hyperbolic cosine of value with an accuracy within accuracyGoal.

Exceptions

ArgumentNullException

value is null.

See Also