NVector Methods |
The NVector type exposes the following members.
| Name | Description | |
|---|---|---|
| Abs | Gets the absolute values of the vector's items. | |
| All | Checks whether the predicate is satisfied by all items. | |
| Any | Checks whether the predicate is satisfied by at least one item. | |
| Clone | Creates an identical vector. | |
| Contains | Checks if the vector contains the given value. | |
| Distinct | Returns a new vector with the distinct values in the original one. | |
| Equals(NVector) | Checks if the provided argument is a vector with the same values. | |
| Equals(Object) | Checks if the provided argument is a vector with the same values. (Overrides ValueTypeEquals(Object)) | |
| Filter | Creates a new vector by filtering items with the given predicate. | |
| FilterMap | Creates a new vector by filtering and mapping at the same time. | |
| Find(FuncInt32, Boolean) | Returns all indexes satisfying a condition. | |
| Find(Int32) | Returns all indexes containing ocurrences of a value. | |
| GetEnumerator | Retrieves an enumerator to iterate over components. | |
| GetHashCode | Returns the hashcode for this vector. (Overrides ValueTypeGetHashCode) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IndexOf(Int32) | Returns the zero-based index of the first occurrence of a value. | |
| IndexOf(Int32, Int32) | Returns the zero-based index of the first occurrence of a value. | |
| InplaceAdd | Inplace addition of two vectors. | |
| InplaceNegate | Inplace negation of the vector. | |
| InplaceSub | Inplace substraction of two vectors. | |
| LongProduct | Calculates the product of the vector's items as a long integer. | |
| Map | Creates a new vector by transforming each item with the given function. | |
| MapReal | Creates a new real vector by transforming each item with the given function. | |
| Maximum | Gets the item with the maximum value. | |
| Minimum | Gets the item with the minimum value. | |
| Ones | Creates a vector with a given size, and fills it with ones. | |
| PointwiseDivide | Pointwise division. | |
| PointwiseMultiply | Pointwise multiplication. | |
| Product | Calculates the product of the vector's items. | |
| Reduce | Creates an aggregate value by applying the reducer to each item. | |
| Reverse | Creates a reversed copy of the vector. | |
| SafeThis | Safe access to the vector's components. If the index is out of range, a zero is returned. | |
| Sort | Returns a new vector with sorted values. | |
| SortDescending | Returns a new vector with sorted values. | |
| Stats | Gets statistics on the vector values. | |
| Sum | Calculates the sum of the vector's items. | |
| ToString | Gets a textual representation of this vector. (Overrides ValueTypeToString) | |
| ToString(String, IFormatProvider) | Gets a textual representation of this vector. | |
| ToVector | Convert this vector to a vector of reals. | |
| Zip | Combines the common prefix of two vectors. |