IReal Operations<T> Interface
Represents the contract for operations on an operand type that represents real numbers.
Definition
Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public interface IRealOperations<T> : IFractionalOperations<T>,
IFieldOperations<T>, IDivisionOperations<T, T>, IRingOperations<T>, IVectorSpaceOperations<T, T>,
IGroupOperations<T>, IComparer<T>, IEqualityComparer<T>
- Implements
- IDivisionOperations<T, T>, IFieldOperations<T>, IFractionalOperations<T>, IGroupOperations<T>, IRingOperations<T>, IVectorSpaceOperations<T, T>, IComparer<T>, IEqualityComparer<T>
Type Parameters
- T
- The type of the operands.
Properties
| Epsilon | Gets the machine precision of the operand type. |
| Max |
Gets the largest possible value of the operand type.
(Inherited from IGroupOperations<T>) |
| Min | Gets the smallest operand type value greater than zero. |
| Min |
Gets the smallest possible value of the operand type.
(Inherited from IGroupOperations<T>) |
| One |
Gets the value of one for the operand type T.
(Inherited from IRingOperations<T>) |
| Pi | Gets the number pi. |
| Zero |
Gets the value of zero for the operand type T.
(Inherited from IGroupOperations<T>) |
Methods
| Abs |
Returns the absolute value of a value.
(Inherited from IGroupOperations<T>) |
| Add |
Adds one value to another.
(Inherited from IGroupOperations<T>) |
| Atan2 | Returns the arc tangent of a pair of values. |
| Ceiling |
Returns the smallest integer greater than or equal to a value.
(Inherited from IFractionalOperations<T>) |
| Compare | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. (Inherited from IComparer<T>) |
| Cos | Returns the cosine of a value. |
| Cosh | Returns the hyperbolic cosine of a value. |
| Divide |
Divides a value by another.
(Inherited from IDivisionOperations<T, TClosure>) |
| Equals | Determines whether the specified objects are equal. (Inherited from IEqualityComparer<T>) |
| Exp | Returns the exponential of a value. |
| Floor |
Returns the largest integer less than or equal to a value.
(Inherited from IFractionalOperations<T>) |
| From | Converts a Double value to the operand type. |
| From |
Converts an integer to the operand type.
(Inherited from IRingOperations<T>) |
| Get | Returns a hash code for the specified object. (Inherited from IEqualityComparer<T>) |
| Log | Returns the natural logarithm of a value. |
| Multiply |
Multiplies a vector by a scalar.
(Inherited from IVectorSpaceOperations<TScalar, TVector>) |
| Negate |
Negates a value.
(Inherited from IGroupOperations<T>) |
| Pow | Returns a number raised to a power.. |
| Reciprocal |
Returns the reciprocal of a value.
(Inherited from IDivisionOperations<T, TClosure>) |
| Round |
Rounds a value to the specified number of decimal digits.
(Inherited from IFractionalOperations<T>) |
| Scale |
Scales the specified number by the specified power of two.
(Inherited from IRingOperations<T>) |
| Sin | Returns the sine of a value. |
| Sinh | Returns the hyperbolic sine of a value. |
| Sqrt | Returns the square root of a value. |
| Subtract |
Subtracts one value from another.
(Inherited from IGroupOperations<T>) |
| ToInt32 |
Converts the operand type to an integer.
(Inherited from IRingOperations<T>) |
Extension Methods
| Acos<T> |
Returns the angle whose cosine is the specified number.
(Defined by GenericExtensions) |
| Acosh<T> |
Returns the inverse hyperbolic cosine of a real number.
(Defined by GenericExtensions) |
| Acoth<T> |
Returns the inverse hyperbolic cotangent of a real number.
(Defined by GenericExtensions) |
| Acsch<T> |
Returns the inverse hyperbolic cosecant of a real number.
(Defined by GenericExtensions) |
| Asech<T> |
Returns the inverse hyperbolic secant of a real number.
(Defined by GenericExtensions) |
| Asin<T> |
Returns the angle whose cosine is the specified number.
(Defined by GenericExtensions) |
| Asinh<T> |
Returns the inverse hyperbolic sine of a real number.
(Defined by GenericExtensions) |
| Atan<T> |
Returns the angle whose tangent is the specified number.
(Defined by GenericExtensions) |
| Atanh<T> |
Returns the inverse hyperbolic tangent of a real number.
(Defined by GenericExtensions) |
| Coth<T> |
Returns the hyperbolic cotangent of a real number.
(Defined by GenericExtensions) |
| Csch<T> |
Returns the hyperbolic cosecant of a real number.
(Defined by GenericExtensions) |
| Hypot<T> |
Gets the length of the hypotenuse of a right-angled
triangle with sides of specified length.
(Defined by GenericExtensions) |
| Log<T> |
Returns the natural logarithm of the specified number.
(Defined by GenericExtensions) |
| Log10<T> |
Returns the base 10 logarithm of the specified number.
(Defined by GenericExtensions) |
| Log1Plus |
Returns the logarithm of 1 plus the argument.
(Defined by GenericExtensions) |
| Max<T> |
Returns the larger of two numbers.
(Defined by GenericExtensions) |
| Max<T> |
Returns the largest of three numbers.
(Defined by GenericExtensions) |
| Min<T> |
Returns the smaller of two numbers.
(Defined by GenericExtensions) |
| Min<T> |
Returns the smallest of three numbers.
(Defined by GenericExtensions) |
| Pow<T> |
Raises a value to the specified power..
(Defined by GenericExtensions) |
| Pow<T> |
Raises a value to the specified power..
(Defined by GenericExtensions) |
| Sech<T> |
Returns the hyperbolic secant of a real number.
(Defined by GenericExtensions) |
| Sinc<T> |
Evaluates the normalized sinc function.
(Defined by GenericExtensions) |
| Tan<T> |
Returns the tangent of the specified angle.
(Defined by GenericExtensions) |
| Tanh<T> |
Returns the hyperbolic tangent of the specified angle.
(Defined by GenericExtensions) |