GenericExtensions.Sech<T> Method

Returns the hyperbolic secant of a real number.

Definition

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static T Sech<T>(
	this IRealOperations<T> ops,
	T value
)

Parameters

ops  IRealOperations<T>
A IRealOperations<T> instance that performs basic arithmetic operations.
value  T
A real number.

Type Parameters

T

Return Value

T
The hyperbolic secant of value.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRealOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also