Contains additional numeric types that complement the numeric primitives (such as Byte, Double, and Int32) that are defined by .NET. This includes:
- The
BigIntegerstructure, which is a non-primitive integral type that supports arbitrarily large integers. - The
Complexstructure, which represents a complex number. A complex number is a number in the form a + bi, where a is the real part, and b is the imaginary part. - The SIMD-enabled vector types, which include
Vector2,Vector3,Vector4,Matrix3x2,Matrix4x4,Plane, andQuaternion.
Documentation can be found here: https://learn.microsoft.com/dotnet/api/system.numerics.
This area also includes all of the interfaces that make up Generic Math, which is discussed more here: https://learn.microsoft.com/dotnet/standard/generics/math.
See the Help Wanted issues.
BigIntegerandComplex: ./src/System/Numerics.- Everything else: ../System.Private.CoreLib/src/System/Numerics
System.Numerics.Vectors: ../System.Numerics.Vectors/tests- Everything else: ./tests
System.Runtime.Numerics is included in the shared framework. The package does not need to be installed into any project compatible with .NET Standard 2.0.