Learn about Loyc.Math
Articles
Notable math types
MathExMath128- Fixed-point types:
FPI8(intwith 8 fraction bits),FPI16(intwith 16 fraction bits)FPL32(longwith 32 fraction bits) Maths<T>,MathI,MathD, etc.: see “Arithmetic in generic code”Range<T>: supports the EC# range operatorsa..banda...b
Notable geometry types
Point<T>andVector<T>Point3<T>andVector<T>BoundingBox<T>- Classes that contain extension methods for each of the above (e.g. optimized for
intordouble)
Interfaces
Loyc.Essentials defines most of the interfaces implemented by Loyc.Math, such as IPoint<T>, IRectangle<T> and IMath<T>. This way, independent implementations of those interfaces can exist that do not reference Loyc.Math.