Click or drag to resize

NVector Methods

The NVector type exposes the following members.

Methods
 NameDescription
Public methodAbsGets the absolute values of the vector's items.
Public methodAllChecks whether the predicate is satisfied by all items.
Public methodAnyChecks whether the predicate is satisfied by at least one item.
Public methodCloneCreates an identical vector.
Public methodContainsChecks if the vector contains the given value.
Public methodDistinctReturns a new vector with the distinct values in the original one.
Public methodEquals(NVector)Checks if the provided argument is a vector with the same values.
Public methodEquals(Object)Checks if the provided argument is a vector with the same values.
(Overrides ValueTypeEquals(Object))
Public methodFilterCreates a new vector by filtering items with the given predicate.
Public methodFilterMapCreates a new vector by filtering and mapping at the same time.
Public methodFind(FuncInt32, Boolean)Returns all indexes satisfying a condition.
Public methodFind(Int32)Returns all indexes containing ocurrences of a value.
Public methodGetEnumeratorRetrieves an enumerator to iterate over components.
Public methodGetHashCodeReturns the hashcode for this vector.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf(Int32)Returns the zero-based index of the first occurrence of a value.
Public methodIndexOf(Int32, Int32)Returns the zero-based index of the first occurrence of a value.
Public methodInplaceAddInplace addition of two vectors.
Public methodInplaceNegateInplace negation of the vector.
Public methodInplaceSubInplace substraction of two vectors.
Public methodLongProductCalculates the product of the vector's items as a long integer.
Public methodMap Creates a new vector by transforming each item with the given function.
Public methodMapReal Creates a new real vector by transforming each item with the given function.
Public methodMaximumGets the item with the maximum value.
Public methodMinimumGets the item with the minimum value.
Public methodStatic memberOnesCreates a vector with a given size, and fills it with ones.
Public methodPointwiseDividePointwise division.
Public methodPointwiseMultiplyPointwise multiplication.
Public methodProductCalculates the product of the vector's items.
Public methodReduceCreates an aggregate value by applying the reducer to each item.
Public methodReverseCreates a reversed copy of the vector.
Public methodSafeThis Safe access to the vector's components. If the index is out of range, a zero is returned.
Public methodSortReturns a new vector with sorted values.
Public methodSortDescendingReturns a new vector with sorted values.
Public methodStatsGets statistics on the vector values.
Public methodSumCalculates the sum of the vector's items.
Public methodToStringGets a textual representation of this vector.
(Overrides ValueTypeToString)
Public methodToString(String, IFormatProvider)Gets a textual representation of this vector.
Public methodToVectorConvert this vector to a vector of reals.
Public methodZipCombines the common prefix of two vectors.
Top
See Also