Sunday, November 29, 2015

System.Numerics.Vectors

System.Numerics.Vectors

System.Numerics.Vectors is a library of vector types that can take advantage of SIMD hardware-based acceleration. Hardware acceleration can result in significant performance improvements in mathematical, scientific, and graphics programming. System.Numerics.Vectors includes 2-dimensional, 3-dimensional, and 4-dimensional vectors of type Single. The generic Vector<T> structure allows you to create a vector of any primitive numeric type. (The primitive numeric types include all numeric types in the System namespace except for Decimal.) In addition, the Vector class provides a library of convenience methods that you can call when working with vectors. Also, System.Numerics.Vectors includes two matrix types: Matrix3x2, which represents a 3x2 matrix; and Matrix4x4, which represents a 4x4 matrix. In addition, System.Numerics.Vectors includes a Plane type and a Quaternion type.



Note 1: Vector<T> Structure represents a single vector of a specified numeric type that is suitable for low-level optimization of parallel algorithms. 

Note 2: System.Numerics.Vectors.WindowsRuntime provides extension methods for converting between System.Numerics.Vector2 and Windows.Foundation.Point and Size. Its commonly used type is: System.Numerics.VectorExtensions.

No comments:

Post a Comment