Click or drag to resize

DVector Methods

The DVector type exposes the following members.

Methods
 NameDescription
Public methodAbsGets the absolute values of the vector's items.
Public methodACFComputes autocorrelation for all lags.
Public methodAllChecks whether the predicate is satisfied by all items.
Public methodAMaxGets the cell with the maximum absolute value.
Public methodAMinGets the cell with the minimum absolute value.
Public methodAnyChecks whether the predicate is satisfied by at least one item.
Public methodARModelCreates an AR model from a vector and a degree.
Public methodAutoCorrelationComputes the autocorrelation for a fixed lag.
Public methodAutoRegressionFinds the coefficients for an autoregressive model.
Public methodCloneCreates an identical vector.
Public methodStatic memberCombineLow-level method to linearly combine vectors with weights.
Public methodStatic memberCombine2Low-level method to linearly combine two vectors with weights.
Public methodContainsChecks if the vector contains the given value.
Public methodCorrelogramComputes autocorrelation for a range of lags.
Public methodDistanceComputes the maximum difference between cells.
Public methodDistinctReturns a new vector with the distinct values in the original one.
Public methodEquals(DVector)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 methodStatic memberEquals(DVector, DVector, Double)Compares two vectors for equality within a tolerance.
Public methodFftComputes the real discrete Fourier transform.
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(Double)Returns all indexes containing ocurrences of a value.
Public methodFind(FuncDouble, Boolean)Returns all indexes satisfying a condition.
Public methodFullLinearModelCreates a linear model a set of predictors.
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(Double)Returns the zero-based index of the first occurrence of a value.
Public methodIndexOf(Double, 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 methodLinearModelMultilinear regression based in Ordinary Least Squares.
Public methodMAModelCreates an MA model from a vector and a degree.
Public methodMap Creates a new vector by transforming each item with the given function.
Public methodMaximumGets the item with the maximum value.
Public methodMeanComputes the mean of the vector's items.
Public methodMinimumGets the item with the minimum value.
Public methodMovingAverageFinds the coefficients for a moving average model.
Public methodMultiplyAdd(Double, DVector)Optimized vector multiplication and addition.
Public methodMultiplyAdd(DVector, DVector)Optimized vector multiplication and addition.
Public methodMultiplySubtract(Double, DVector)Optimized vector scaling and subtraction.
Public methodMultiplySubtract(DVector, DVector)Optimized vector multiplication and subtraction.
Public methodNormGets the Euclidean norm of this vector.
Public methodPACFComputes the partial autocorrelation for all lags.
Public methodPACFRawComputes the partial autocorrelation for all lags.
Public methodPlotCreates a plot for this vector.
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 methodSqrtPointwise squared root.
Public methodSquaredGets the squared norm of this vector.
Public methodStatsGets statistics on the vector values.
Public methodSubtractMultiplyOptimized subtraction of scaled vector.
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 methodZipCombines the common prefix of two vectors.
Top
Extension Methods
 NameDescription
Public Extension MethodCreateDiagonalCreates a diagonal matrix given its diagonal.
(Defined by Vec)
Top
See Also