diff --git a/xml/System.Numerics/Vector`1.xml b/xml/System.Numerics/Vector`1.xml index 24d0d56f020..eab1a218494 100644 --- a/xml/System.Numerics/Vector`1.xml +++ b/xml/System.Numerics/Vector`1.xml @@ -49,11 +49,11 @@ is an immutable structure that represents a single vector of a specified numeric type. The count of a instance is fixed, but its upper limit is CPU-register dependent. It is intended to be used as a building block for vectorizing large algorithms. + is an immutable structure that represents a single vector of a specified numeric type. The count of instances is fixed, but its upper limit is CPU-register dependent. It is intended to be used as a building block for vectorizing large algorithms, and therefore cannot be used directly as an arbitrary length vector or tensor. - The structure provides support for hardware acceleration. + The structure provides support for hardware acceleration. - The following table shows which primitive numeric data type and operation combination uses intrinsic instructions for faster executions: + The term 'primitive numeric data type' in this document refers to numeric data types that are directly supported by the CPU and have instructions that can manipulate those data types. The following table shows which primitive numeric data type and operation combination uses intrinsic instructions for faster executions: | Primitive type | `+` | `-` | `*` | `/` | | --- | :---: | :---: | :---: | :---: | @@ -72,6 +72,48 @@ + + + System.Numerics.Vectors + 2.0.5.0 + 4.0.0.0 + 4.1.0.0 + 4.1.1.0 + 4.1.2.0 + 4.1.3.0 + 4.1.4.0 + 4.1.5.0 + + + netstandard + 2.0.0.0 + 2.1.0.0 + + + Creates an instance of . + + | +| `byte` | | +| `short` | | +| `ushort` | | +| `int` | | +| `uint` | | +| `long` | | +| `ulong` | | +| `float` | | +| `double` | | + + ]]> + + + + @@ -92,9 +134,19 @@ - A read-only span of bytes that contains the values to add to the vector. The span must contain at least elements. + A read-only span of bytes that contains the values to add to the vector. The span must contain at least elements and only the first elements are used. Constructs a vector from the given read-only span of bytes. - To be added. + + elements are added to the vector. The remainders are ignored. + + ]]> + + + did not contain at least elements. @@ -117,9 +169,19 @@ - The values to add to the vector, as a read-only span of objects of type T. The span must contain at least elements. + The values to add to the vector, as a read-only span of objects of type T. The span must contain at least elements and only the first elements are used. Constructs a vector from the given . - To be added. + + elements are added to the vector. The remainders are ignored. + + ]]> + + + did not contain at least elements. @@ -145,9 +207,19 @@ - The values to add to the vector, as a span of objects of type T. The span must contain at least elements. + The values to add to the vector, as a span of objects of type T. The span must contain at least elements and only the first elements are used. Constructs a vector from the given . - To be added. + + elements are added to the vector. The remainders are ignored. + + ]]> + + + did not contain at least elements. @@ -181,14 +253,7 @@ The numeric type that defines the type of the components in the vector. Creates a vector whose components are of a specified type. - - property returns `true`. - - ]]> - + To be added. @@ -220,13 +285,14 @@ - A numeric array. + The values to add to the vector, as an array of objects of type T. The array must contain at least elements and only the first elements are used. Creates a vector from a specified array. elements. + + Only the first elements are added to the vector. The remainders are ignored. ]]> @@ -264,16 +330,17 @@ - A numeric array. + The values to add to the vector, as an array of objects of type T. The array must contain at least elements from the specified index and only the first elements are used. The starting index position from which to create the vector. Creates a vector from a specified array starting at a specified index position. - elements from the specified index. - - ]]> + + Only the first elements are added to the vector. The remainders are ignored. + + ]]> is .