Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Classes
Package Loyc.Math

Contains general-purpose math algorithms beyond what is provided in the .NET BCL (Base Class Library). Notable class: Math.MathEx. More...

Classes

interface  IAdditionGroup< T >
 This defines a Group with the operation +, the neutral element Zero, and an operation - that is defined in terms of the inverse. A Negate operation is not provided so that this interface makes more sense for use with unsigned types. More...
 
interface  IBinaryMath< T >
 Provides additional bit-oriented integer operations. More...
 
interface  IBitwise< T >
 Provides the standard set of bitwise operators. More...
 
interface  IComplexMath< T >
 Use this interface for types such as complex numbers that satisfy the field axioms but do not have a natural order. complex numbers of course do support IHasRoot. More...
 
interface  IConvertTo< T >
 Provides methods for converting common numeric types to another numeric type "T". More...
 
interface  IExp< T >
 Provides power, logarithm, raise-e-to-exponent (Exp) and logarithm-of-e (Log) operations. More...
 
interface  IField< T >
 This defines a Field with the operations +,-,*,/ More...
 
interface  IFloatMath< T >
 Provides operations available on floating-point types (float and double), including trigonometry and exponentiation. More...
 
interface  IHasRoot< T >
 Provides the Sqrt operation and its inverse, Square. More...
 
interface  IIncrementer< T >
 Provides increment, decrement, and next/previous-representable- value operations. More...
 
interface  IIntMath< T >
 Provides operations available on all unsigned integer types (byte, uint, etc.); see also IMath{T}, IIntMath{T}, and IFloatMath{T}. More...
 
interface  IMath< T >
 Provides operations available on all system numeric types (int, uint, double, etc.); see also ISignedMath{T}, IUIntMath{T}, IIntMath{T} and IFloatMath{T}. More...
 
interface  IMultiplicationGroup< T >
 This defines a Group with the operation *, the neutral element One, the inverse Inverse and an operation / that is defined in terms of the inverse. More...
 
interface  IMultiply< T >
 Provides the multiplication operation and the multiplicative identity, one. More...
 
interface  INumTraits< T >
 This interface provides information about a numeric type T. More...
 
interface  IOneProvider< T >
 Provides the value of "one" for type T. More...
 
interface  IOrdered< T >
 Provides comparison function for type T along with absolute value (Abs), and the minimum or maximum of two values (Min, Max). More...
 
class  IOrderedExt
 Extension methods for IOrdered{T}. More...
 
interface  IRationalMath< T >
 Use this interface for floating-point, fixed-point, and rational types. Rational types support reciprocal and negation. More...
 
interface  IRing< T >
 This defines a Ring with the operations +,* More...
 
interface  ISignedMath< T >
 Provides operations available on all signed numeric types (int, double, etc.); see also IUIntMath{T}, IIntMath{T} and IFloatMath{T}. More...
 
interface  ITrigonometry< T >
 Provides trigonometry operations. More...
 
interface  IUIntMath< T >
 Provides operations available on all unsigned integer types (byte, uint, etc.); see also IMath{T}, IIntMath{T}, and IFloatMath{T}. More...
 
interface  IZeroProvider< T >
 Provides the value of "zero" for type T. More...
 

Detailed Description

Contains general-purpose math algorithms beyond what is provided in the .NET BCL (Base Class Library). Notable class: Math.MathEx.