Indexed Vector<T> Class
Represents a vector whose elements are arbitrary components of another vector.
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public sealed class IndexedVector<T> : Vector<T>
Type Parameters
- T
Remarks
Use the IndexedVector<T> class to represent a vector whose components are taken from another vector. An indexed vector is defined by an array containing the elements, and an integer array containing indices into the component array.
Properties
Attributes |
Gets attributes associated with the vector.
(Inherited from Vector<T>) |
Can |
Gets whether the vector can be reshaped into a matrix.
(Inherited from Vector<T>) |
Count |
Gets the number of items that are not missing.
(Inherited from Vector<T>) Preliminary |
Element |
Gets the element type of the vector.
(Inherited from Vector<T>) |
Format |
Gets or sets the format to use for each element
when creating a string representation of the vector.
(Inherited from Vector<T>) |
Index |
Gets or sets the index of labels for the vector.
(Inherited from Vector<T>) Preliminary |
IsImmutable |
Gets whether the vector's elements are immutable.
(Inherited from Vector<T>) |
IsRead |
Gets whether the vector can be written to.
(Inherited from Vector<T>) |
IsSparse |
Gets a value that indicates whether the vector is sparse.
(Inherited from Vector<T>) |
Item[Func<T, Boolean>] |
Gets or sets the elements of a vector that match the specified condition.
(Inherited from Vector<T>) |
Item[IEnumerable<Int32>] |
Gets or sets the elements of the vector with the specified indexes.
(Inherited from Vector<T>) |
Item[Index] |
Gets or sets a specific element of this vector.
(Inherited from Vector<T>) |
Item[Int32] |
Gets or sets a specific element of this vector.
(Inherited from Vector<T>) |
Item[Range] |
Gets or sets a range of elements of the vector.
(Inherited from Vector<T>) |
Item[Range] |
Gets or sets a range of elements of the vector.
(Inherited from Vector<T>) |
Item[Vector<Boolean>] |
Gets or sets the elements of a vector that match the specified condition.
(Inherited from Vector<T>) |
Length |
Gets the number of elements in the vector.
(Inherited from Vector<T>) |
May |
Gets or sets whether the vector may contain missing values
that require special handling in calculations.
(Inherited from Vector<T>) |
Missing |
Gets or sets the value that is used to represent missing values.
(Inherited from Vector<T>) |
Missing |
Gets how missing values are represented in the vector.
(Inherited from Vector<T>) |
Name |
Gets or sets the name of the vector.
(Inherited from Vector<T>) |
Nonzero |
Gets the number of nonzero elements in the vector.
(Inherited from Vector<T>) |
Nonzero |
Gets a collection of IndexValuePair<T> objects
representing the nonzero elements of this instance.
(Inherited from Vector<T>) |
Precedence |
Infrastructure. This property supports the Numerics.NET
infrastructure and is not intended to be used directly from your code.
(Inherited from Vector<T>) |
Methods
Abs |
Computes the absolute values of the elements of a vector in-place.
(Inherited from Vector<T>) |
Absolute |
Returns the index of the element in this
vector that has the largest absolute
value.
(Inherited from Vector<T>) |
Absolute |
Returns the index of the element in this
vector that has the smallest absolute
value.
(Inherited from Vector<T>) |
Accumulate<TAccumulator>(TAccumulator) |
Adds the elements of the vector to the specified accumulator.
(Inherited from Vector<T>) |
Accumulate<TAccumulator>(TAccumulator, Int32, Int32) |
Adds the elements of the vector to the specified accumulator.
(Inherited from Vector<T>) |
Accumulate |
Adds the elements of the vector that match a predicate to the specified accumulator.
(Inherited from Vector<T>) |
Accumulate |
Adds the elements of the vector that match a predicate to the specified accumulator.
(Inherited from Vector<T>) |
Acosh |
Computes the inverse hyperbolic cosine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Acos |
Computes the inverse cosine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Add |
Adds a constant to a vector.
(Inherited from Vector<T>) |
Add |
Adds another vector to this vector in-place.
(Inherited from Vector<T>) |
Add |
Adds the product of a matrix and a
Vector<T> to this Vector<T>.
(Inherited from Vector<T>) |
Add |
Adds the product of a matrix and a
Vector<T> to this Vector<T>.
(Inherited from Vector<T>) |
Add |
Adds a scaled vector to this vector.
(Inherited from Vector<T>) |
Add |
Adds the scaled product of a matrix and a
Vector<T> to this Vector<T>.
(Inherited from Vector<T>) |
Add |
Adds the scaled product of a matrix and a vector in-place to a vector.
(Inherited from Vector<T>) |
Aggregate( |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Aggregate( |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Aggregate<TResult>(AggregatorGroup<TResult>) |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Aggregate<TResult>(Aggregator<T, TResult>, Nullable<Boolean>) |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Aggregate<TResult>(AggregatorGroup<TResult>, Boolean) |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Aggregate |
Returns a new vector that aggregates the columns according to the specified grouping.
(Inherited from Vector<T>) |
Aggregate |
Aggregates the vector according to the specified grouping.
(Inherited from Vector<T>) |
Aggregate |
Returns a new vector that aggregates the columns according to the specified grouping.
(Inherited from Vector<T>) |
Aggregate |
Returns a new matrix that aggregates the elements according to the specified pivot grouping.
(Inherited from Vector<T>) |
Aggregate |
Returns a new matrix that aggregates the elements according to the specified pivot grouping.
(Inherited from Vector<T>) |
All |
Returns whether all the elements of the vector
satisfy a condition.
(Inherited from Vector<T>) |
Any |
Returns whether any of the elements of the vector
satisfy a condition.
(Inherited from Vector<T>) |
AsCategorical( |
Returns a categorical vector containing the same data as this vector.
(Inherited from Vector<T>) |
AsCategorical( |
Returns a categorical vector containing the same data as this vector.
(Inherited from Vector<T>) |
AsDense |
Returns this vector as a dense vector.
(Inherited from Vector<T>) |
AsIndex |
Converts a vector to an index.
(Inherited from Vector<T>) Preliminary |
Asinh |
Computes the inverse hyperbolic sine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Asin |
Computes the inverse sine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Atanh |
Computes the inverse hyperbolic tangent of the elements of a vector in-place.
(Inherited from Vector<T>) |
Atan |
Computes the inverse tangent of the elements of a vector in-place.
(Inherited from Vector<T>) |
Broadcast |
Broadcasts the elements of the vector along the specified dimension.
(Inherited from Vector<T>) |
Broadcast |
Broadcasts the elements of the vector along the specified dimension.
(Inherited from Vector<T>) |
By<K> |
Enables accessing elements of an indexed vector using strongly typed indexes.
(Inherited from Vector<T>) |
Cast<U> |
Casts the elements of the vector to the specified type.
(Inherited from Vector<T>) |
Cast |
Casts the elements of the vector to the specified type.
(Inherited from Vector<T>) |
Ceiling |
Computes the smallest integers greater than the elements of a vector in-place.
(Inherited from Vector<T>) |
Clone() |
Makes a copy of this vector.
(Inherited from Vector<T>) |
Clone( |
Makes a copy of this vector using the specified
method.
(Overrides Vector<T>.Clone(CloningMethod)) |
Clone |
Gives this instance its own copy of its elements.
(Overrides Vector<T>.CloneData()) |
Conjugate() |
Conjugates the elements of a vector and returns the result.
(Inherited from Vector<T>) |
Conjugate |
Returns the dot product of this vector with another
vector.
(Inherited from Vector<T>) |
Conjugate |
Conjugates all elements of a vector in-place.
(Inherited from Vector<T>) |
Copy |
Copies the elements of this vector
to an array.
(Overrides Vector<T>.CopyTo(ArraySlice<T>)) |
Copy |
Copies the elements of this vector
to an untyped vector.
(Inherited from Vector<T>) |
Copy |
Copies the elements of this vector to a span.
(Inherited from Vector<T>) |
Copy |
Copies the elements of this vector to a span slice.
(Inherited from Vector<T>) |
Copy |
Copies the elements of this vector
to an array.
(Inherited from Vector<T>) |
Copy |
Copies the elements of this vector
to another vector.
(Inherited from Vector<T>) |
Copy |
Copies the components of this vector
to another vector starting at the specified position.
(Overrides Vector<T>.CopyTo(Vector<T>, Int32)) |
Copy |
Copies the elements of this vector
to an array.
(Inherited from Vector<T>) |
Copy |
Copies the elements of this vector to another vector, if it exists;
otherwise clones the vector using the specified method.
(Inherited from Vector<T>) |
Cosh |
Computes the hyperbolic cosine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Cos |
Computes the cosine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Cumulative |
Gets the product of the elements of the vector.
(Inherited from Vector<T>) |
Cumulative |
Gets the product of the elements of the vector.
(Inherited from Vector<T>) |
Cumulative |
Gets the product of the elements of the vector.
(Inherited from Vector<T>) |
Cumulative |
Gets the sum of the elements of the vector.
(Inherited from Vector<T>) |
Cumulative |
Gets the sum of the elements of the vector.
(Inherited from Vector<T>) |
Cumulative |
Gets the cumulative sum of the elements of the vector.
(Inherited from Vector<T>) |
Dispose() |
Releases unmanaged resources.
(Inherited from Vector<T>) |
Divide |
Divides a vector in-place by a constant.
(Inherited from Vector<T>) |
Dot |
Returns the dot product of this vector with another
vector.
(Inherited from Vector<T>) |
Elementwise |
Divides this vector in-place element-wise by another vector.
(Inherited from Vector<T>) |
Elementwise |
Multiplies this vector in-place element-wise by another vector.
(Inherited from Vector<T>) |
Elementwise |
Raises the elements of a vector in-place to a constant power.
(Inherited from Vector<T>) |
Elementwise |
Raises the elements of a vector in-place to a constant power.
(Inherited from Vector<T>) |
Elementwise |
Raises this vector in-place element-wise by another vector.
(Inherited from Vector<T>) |
Ensure |
Ensures that every element in the vector can be written to.
(Inherited from Vector<T>) |
Ensure |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Vector<T>) |
Ensure |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Vector<T>) |
Ensure |
Ensures that the element at the specified index in the vector can be written to.
(Inherited from Vector<T>) |
Equals( |
Determines whether the specified Object
is equal to the current Vector<T>.
(Inherited from Vector<T>) |
Equals( |
Determines whether the specified Vector<T>
is equal to the current Vector<T>.
(Inherited from Vector<T>) |
Equals( |
Returns whether an object is structurally equal to this instance.
(Inherited from Vector<T>) |
Exp |
Computes the exponential of the elements of a vector in-place.
(Inherited from Vector<T>) |
Find |
Enumerates the indexes that match a condition.
(Inherited from Vector<T>) |
Floor |
Computes the largest integers smaller than the elements of a vector in-place.
(Inherited from Vector<T>) |
Get<K>(K) |
Gets the value with the specified key.
(Inherited from Vector<T>) |
Get<K1, K2>(K1, K2) |
Gets the value at the specified key.
(Inherited from Vector<T>) |
Get |
Returns an enumerator over the elements of the vector.
(Overrides Vector<T>.GetEnumerator()) |
Get |
Returns the hash code for this instance.
(Inherited from Vector<T>) |
Get |
Returns a hash code for this instance.
(Inherited from Vector<T>) |
Get |
Gets an integer array that specifies the locations of missing values.
(Inherited from Vector<T>) |
Get |
Gets a boolean array that specifies the locations of missing values.
(Inherited from Vector<T>) |
Get |
Gets the value in the vector whose key in the index is nearest
to the specified key.
(Inherited from Vector<T>) |
Get |
Returns a vector containing the items nearest to the specified key values.
(Inherited from Vector<T>) |
Get |
Populates a SerializationInfo with the values
needed to serialize the target object.
(Inherited from Vector<T>) Obsolete. |
Get |
Returns a vector whose elements are a subset of the elements of
this instance
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance.
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance
(Inherited from Vector<T>) |
Get |
Returns a vector whose elements are a subset of the elements of
this instance.
(Inherited from Vector<T>) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Get |
Gets the vector element at the specified position.
(Overrides Vector<T>.GetValue(Int32)) |
Get |
Gets the value at the specified key.
(Inherited from Vector<T>) Preliminary |
Get |
Returns a vector that contains the specified subset
of elements of the vector.
(Inherited from Vector<T>) |
Get |
Returns a new vector that contains the elements of the vector with the specified indexes.
(Inherited from Vector<T>) |
Get |
Returns a new vector that contains the elements of the vector with the specified indexes.
(Inherited from Vector<T>) |
Get |
Returns a vector containing the items at the specified key values.
(Inherited from Vector<T>) Preliminary |
IsElement |
Gets whether the value of the element at
the specified index can be changed.
(Overrides Vector<T>.IsElementWritable(Int32)) |
IsMissing |
Returns whether the value at the specified index is missing.
(Inherited from Vector<T>) |
Keys |
Enumerates all keys and associated values.
(Inherited from Vector<T>) |
Log10In |
Computes the logarithm of the elements of a vector in-place.
(Inherited from Vector<T>) |
Log |
Computes the logarithm of the elements of a vector in-place.
(Inherited from Vector<T>) |
Log |
Computes the logarithm of the elements of a vector in-place.
(Inherited from Vector<T>) |
Make |
Protects the vector from changes in values or structure.
(Inherited from Vector<T>) |
Map<U>(Func<T, U>) |
Applies a function to the elements of a vector and returns the result.
(Inherited from Vector<T>) |
Map |
Applies a function in-place to the elements of a vector.
(Inherited from Vector<T>) |
Map |
Applies a function in-place to the elements of a vector.
(Inherited from Vector<T>) |
Map |
Applies a function to the elements of a vector.
(Inherited from Vector<T>) |
Map |
Applies a function to the elements of a vector.
(Inherited from Vector<T>) |
Map |
Applies a function to the elements of a vector.
(Inherited from Vector<T>) |
Map |
Applies a function to the elements of a vector that meet a condition and returns the result.
(Inherited from Vector<T>) |
Map |
Applies a function to the elements of a vector that meet a condition and returns the result.
(Inherited from Vector<T>) |
Max() |
Returns the value of the largest element in this
vector.
(Inherited from Vector<T>) |
Max( |
Returns the value of the largest element in this
vector.
(Inherited from Vector<T>) |
Max |
Returns the index of the largest element in this
vector.
(Inherited from Vector<T>) |
Max |
Returns a vector whose elements are the maximum of the components of a vector
and a real number.
(Inherited from Vector<T>) |
Min() |
Returns the value of the smallest element in this
vector.
(Inherited from Vector<T>) |
Min( |
Returns the value of the smallest element in this
vector.
(Inherited from Vector<T>) |
Min |
Returns the index of the smallest element in this
vector.
(Inherited from Vector<T>) |
Min |
Returns a vector whose elements are the minimum of the components of a vector
and a real number.
(Inherited from Vector<T>) |
Multiply |
Multiplies a vector in-place by the specified factor.
(Inherited from Vector<T>) |
Multiply |
Multiplies a Vector<T> by a Matrix<T>.
(Inherited from Vector<T>) |
Negate |
Negates a vector in-place.
(Inherited from Vector<T>) |
Norm() |
Returns the two-norm of the vector.
(Inherited from Vector<T>) |
Norm( |
Returns the norm of the specified order of this
vector.
(Inherited from Vector<T>) |
Norm( |
Returns the norm of the specified order of this
vector.
(Inherited from Vector<T>) |
Normalize |
Scales the vector to make its
two-norm equal to one.
(Inherited from Vector<T>) |
Norm |
Returns the square of the two-norm of this vector.
(Inherited from Vector<T>) |
One |
Returns the one-norm of this vector.
(Inherited from Vector<T>) |
Permute |
Permutes a vector.
(Inherited from Vector<T>) |
Permute |
Permutes a vector.
(Inherited from Vector<T>) |
Product |
Gets the product of the elements of the vector.
(Inherited from Vector<T>) |
Protect |
Returns a read-only copy of the vector.
(Inherited from Vector<T>) |
Protect |
Protects the vector from changes in values or structure.
(Inherited from Vector<T>) |
Reciprocal |
Computes the inverses (reciprocals) of the elements of a vector in-place.
(Inherited from Vector<T>) |
Remove |
Removes all the missing values from a vector and returns the result.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in the vector with the specified value.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in the vector with the
corresponding element in another vector.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in a vector with the specified value.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in the vector with the specified value in-place.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in the vector with the
corresponding element in another vector
in-place.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in a vector with the specified value in-place.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in a vector with the specified value.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in the vector with the
corresponding element in another vector.
(Inherited from Vector<T>) |
Replace |
Replaces all missing values in a vector with
the previous or next non-missing value.
(Inherited from Vector<T>) |
Replace |
Replaces every occurrence of a value with a new value.
(Inherited from Vector<T>) |
Replace |
Replaces every occurrence of a value with a new value.
(Inherited from Vector<T>) |
Replace |
Replaces every occurrence of a value with a new value.
(Inherited from Vector<T>) |
Resample( |
Returns a new vector that resamples the values in the vector using the specified
recurrence pattern and aggregator.
(Inherited from Vector<T>) |
Resample<R>(Index<R>, Direction, TypePreservingAggregatorGroup) |
Returns a new vector that resamples the values in the vector using the specified
index and aggregator.
(Inherited from Vector<T>) |
Resample<U>(Recurrence, Direction, AggregatorGroup<U>) |
Returns a new vector that resamples the values in the vector using the specified
recurrence pattern and aggregator.
(Inherited from Vector<T>) |
Resample<R, U>(Index<R>, Direction, AggregatorGroup<U>) |
Returns a new vector that resamples the values in the vector using the specified
index and aggregator.
(Inherited from Vector<T>) |
Reshape |
Returns a matrix that contains the vector elements columnwise.
(Inherited from Vector<T>) |
Set |
Declares that the value at the specified index is missing.
(Inherited from Vector<T>) |
Set |
Sets all the elements of the vector to 0.
(Inherited from Vector<T>) |
Set |
Sets all the elements of the vector to
the specified value.
(Inherited from Vector<T>) |
Set |
Sets the vector element at the specified position to the specified value.
(Overrides Vector<T>.SetValue(T, Int32)) |
Set |
Sets the value at the specified key value.
(Inherited from Vector<T>) Preliminary |
Set |
Sets a range of elements of the vector to the specified value.
(Inherited from Vector<T>) |
Set |
Sets the elements of a vector that match the specified condition
to the specified value.
(Inherited from Vector<T>) |
Set |
Sets all the elements that meet a condition to
the specified value.
(Inherited from Vector<T>) |
Shallow |
Makes a shallow copy of this vector.
(Inherited from Vector<T>) |
Sinh |
Computes the hyperbolic sine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Sin |
Computes the sine of the elements of a vector in-place.
(Inherited from Vector<T>) |
Sort |
Sorts the vector in ascending order.
(Inherited from Vector<T>) |
Sort |
Sorts the vector in the specified order.
(Inherited from Vector<T>) |
Sort |
Sorts the vector in the specified order.
(Inherited from Vector<T>) |
Sqrt |
Computes the square root of the elements of a vector in-place.
(Inherited from Vector<T>) |
Subtract |
Subtracts a constant value from the elements of this vector in-place.
(Inherited from Vector<T>) |
Subtract |
Subtracts another vector from this vector in-place.
(Inherited from Vector<T>) |
Subtract |
Subtracts the product of a matrix and a
Vector<T> from this Vector<T>.
(Inherited from Vector<T>) |
Sum |
Gets the sum of the elements of the vector.
(Inherited from Vector<T>) |
Summarize() |
Returns a summary of the contents of the matrix using the default summary options.
(Inherited from Vector<T>) |
Summarize( |
Returns a summary of the contents of the matrix using the specified options.
(Inherited from Vector<T>) |
Swap |
Exchanges two elements of the vector.
(Inherited from Vector<T>) |
Tanh |
Computes the hyperbolic tangent of the elements of a vector in-place.
(Inherited from Vector<T>) |
Tan |
Computes the tangent of the elements of a vector in-place.
(Inherited from Vector<T>) |
ToArray |
Gets the elements of the vector.
(Inherited from Vector<T>) |
ToColumn |
Creates a matrix with the vector as its only column..
(Inherited from Vector<T>) |
ToData |
Returns a data frame with the current vector as its only column.
(Inherited from Vector<T>) |
ToData |
Returns a data frame with the current vector as its only column.
(Inherited from Vector<T>) |
ToDense |
Makes a copy of this instance and returns it as a
dense vector.
(Inherited from Vector<T>) |
Top |
Returns a vector containing the specified number of elements
from the top of the sorted vector.
(Inherited from Vector<T>) |
ToRow |
Creates a matrix with the vector as its only column..
(Inherited from Vector<T>) |
ToSparse |
Creates a copy of the vector as a SparseVector<T>.
(Inherited from Vector<T>) |
ToString() | Returns a string that represents the current object. (Inherited from Vector<T>) |
ToString( |
Converts the numeric value of this vector instance
to its equivalent string representation, using the
specified format.
(Inherited from Vector<T>) |
ToString( |
Returns a String representation of this vector.
(Inherited from Vector<T>) |
Try |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Try |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Try |
Applies the specified aggregator to the vector.
(Overrides Vector<T>.TryAggregate<TResult, TPredicate>(Aggregator<T, TResult>, TPredicate, Nullable<Boolean>, TResult)) |
Try |
Applies the specified aggregator to the vector.
(Inherited from Vector<T>) |
Try |
Attempts to convert the elements of the vector to the specified type.
(Inherited from Vector<T>) |
Try |
Ensures that every element in the vector can be written to.
(Overrides Vector<T>.TryEnsureWritable()) |
Try |
Ensures that the element at the specified index in the vector can be written to.
(Overrides Vector<T>.TryEnsureWritable(Int32)) |
Try |
Ensures that the element at the specified index in the vector can be written to.
(Overrides Vector<T>.TryEnsureWritable(Int32, Int32)) |
Try |
Attempts to get the value with the specified key.
(Inherited from Vector<T>) |
Unstack<R, C> |
Returns a data frame that contains the values in the vector
arranged according to the levels in a hierarchical index.
(Inherited from Vector<T>) |
Weighted |
Returns the weighted two-norm of the vector.
(Inherited from Vector<T>) |
Weighted |
Returns the square of the weighted two-norm of the vector.
(Inherited from Vector<T>) |
Window<U>(Int32, AggregatorGroup<U>) |
Returns a new vector that aggregates the values in a sliding window
of the specified size.
(Inherited from Vector<T>) |
Window<U>(Int32, Int32, Boolean, AggregatorGroup<U>) |
Returns a new vector that aggregates the values in a sliding window
of the specified size.
(Inherited from Vector<T>) |
With |
Sets the name of a vector to the specified value.
(Inherited from Vector<T>) |
Extension Methods
Abs<T> |
Returns a vector whose elements are the absolute values of the components of another vector.
(Defined by Vector) |
Abs |
Computes the absolute values of the elements of a vector.
(Defined by Vector) |
Absolute |
Returns the value of the element in this
vector that has the largest absolute
value.
(Defined by Vector) |
Absolute |
Returns the value of the element in this
vector that has the largest absolute
value.
(Defined by Vector) |
Absolute |
Returns the value of the element in this
vector that has the smallest absolute
value.
(Defined by Vector) |
Absolute |
Returns the value of the element in this
vector that has the smallest absolute
value.
(Defined by Vector) |
Acos<T> |
Computes the inverse cosine of the elements of a vector.
(Defined by Vector) |
Acosh<T> |
Computes the inverse hyperbolic cosine of the elements of a vector.
(Defined by Vector) |
Acosh |
Computes the inverse hyperbolic cosine of the elements of a vector.
(Defined by Vector) |
Acos |
Computes the inverse cosine of the elements of a vector.
(Defined by Vector) |
Add |
Adds two vectors.
(Defined by Vector) |
Add |
Adds the product of a matrix and a vector to a vector.
(Defined by Vector) |
Add |
Adds the product of a matrix and a vector to a vector.
(Defined by Vector) |
Add |
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector) |
Add |
Adds two vectors.
(Defined by Vector) |
Add |
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector) |
Add |
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector) |
Add |
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector) |
Aggregate<T> |
Applies an accumulator function over the elements of a vector.
(Defined by LinqExtensions) |
Aggregate<T, TAccumulate> |
Applies an accumulator function over the elements of a vector.
(Defined by LinqExtensions) |
Aggregate<T, TAccumulate, TResult> |
Aggregates the elements of a vector using the specified accumulator
and seed value.
(Defined by LinqExtensions) |
All<T> |
Returns whether all values in a vector satisfy the specified
predicate.
(Defined by Vector) |
Angle<T> |
Returns the angle between two vectors.
(Defined by Vector) |
Any<T> |
Returns whether at least one value in a vector satisfies a predicate.
(Defined by Vector) |
Asin<T> |
Computes the inverse sine of the elements of a vector.
(Defined by Vector) |
Asinh<T> |
Computes the inverse hyperbolic sine of the elements of a vector.
(Defined by Vector) |
Asinh |
Computes the inverse hyperbolic sine of the elements of a vector.
(Defined by Vector) |
Asin |
Computes the inverse sine of the elements of a vector.
(Defined by Vector) |
Atan<T> |
Computes the inverse tangent of the elements of a vector.
(Defined by Vector) |
Atan2<T> |
Computes the four-quadrant inverse tangent of the corresponding elements
of two matrices.
(Defined by Vector) |
Atan2Into<T> |
Computes the four-quadrant inverse tangent of the corresponding elements
of two matrices.
(Defined by Vector) |
Atanh<T> |
Computes the inverse hyperbolic tangent of the elements of a vector.
(Defined by Vector) |
Atanh |
Computes the inverse hyperbolic tangent of the elements of a vector.
(Defined by Vector) |
Atan |
Computes the inverse tangent of the elements of a vector.
(Defined by Vector) |
Ceiling<T> |
Returns a vector whose elements are the components of another vector
rounded up to the nearest integer.
(Defined by Vector) |
Ceiling |
Computes the smallest integers greater than the elements of a vector.
(Defined by Vector) |
Central |
Returns the specified central moment of the elements of a vector.
(Defined by Stats) |
Clip<T> |
Returns a vector whose elements are the components of a vector
constrained to be within the specified interval.
(Defined by Vector) |
Clip |
Returns a vector whose elements are the components of a vector
constrained to be within the specified interval.
(Defined by Vector) |
Concat<T> |
Concatenates two vectors.
(Defined by LinqExtensions) |
Conjugate<T> |
Returns the conjugate of a vector.
(Defined by Vector) |
Conjugate |
Conjugates the elements of a vector.
(Defined by Vector) |
Correlation<T> |
Gets the Pearson correlation coefficient between two sets of values.
(Defined by Stats) |
Correlation |
Gets the Pearson correlation coefficient between two sets of values.
(Defined by Stats) |
Cos<T> |
Computes the cosine of the elements of a vector.
(Defined by Vector) |
Cosh<T> |
Computes the hyperbolic cosine of the elements of a vector.
(Defined by Vector) |
Cosh |
Computes the hyperbolic cosine of the elements of a vector.
(Defined by Vector) |
Cos |
Computes the cosine of the elements of a vector.
(Defined by Vector) |
Covariance<T> |
Gets the covariance between two sets of values.
(Defined by Stats) |
Covariance |
Gets the covariance between two sets of values.
(Defined by Stats) |
Cross |
Returns the cross product of two 3D vectors.
(Defined by Vector) |
Difference<T> |
Computes the forward or backward difference of a vector.
(Defined by Vector) |
Difference |
Computes the forward or backward difference of a vector.
(Defined by Vector) |
Dot |
Returns the dot product of two vectors.
(Defined by Vector) |
Elementwise |
Raises the element of a vector to a constant power.
(Defined by Vector) |
Elementwise |
Raises the element of a vector to a constant power.
(Defined by Vector) |
Elementwise |
Raises the elements of a vector to a power
from the corresponding elements in another vector.
(Defined by Vector) |
Elementwise |
Raises the elements of a vector to an integer power
from the corresponding elements in another vector.
(Defined by Vector) |
Elementwise |
Raises the element of a vector to a constant power.
(Defined by Vector) |
Elementwise |
Raises the element of a vector to a constant power.
(Defined by Vector) |
Elementwise |
Raises the elements of a vector to a power
from the corresponding elements in another vector.
(Defined by Vector) |
Elementwise |
Raises the elements of a vector to an integer power
from the corresponding elements in another vector.
(Defined by Vector) |
Exp<T> |
Computes the exponential of the elements of a vector.
(Defined by Vector) |
Exp |
Computes the exponential of the elements of a vector.
(Defined by Vector) |
Floor<T> |
Returns a vector whose elements are the components of another vector
rounded down to the nearest integer.
(Defined by Vector) |
Floor |
Computes the largest integers smaller than the elements of a vector.
(Defined by Vector) |
Group |
Groups the elements of a vector according to the specified key selector function.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified
key selector function and key comparer.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified
key selector and element selector functions.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified key selector function
and creates a result value from each group and its key.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified
key selector and element selector functions, and key comparer.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified key selector function
and creates a result value from each group and its key. Key values are compared
using the specified comparer.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified key selector function
and creates a result value from each group and its key.
The elements of each group are projected using the specified function.
(Defined by LinqExtensions) |
Group |
Groups the elements of a vector according to the specified key selector function
and creates a result value from each group and its key. Key values are compared
using the specified comparer, and the elements of each group are projected
using the specified function.
(Defined by LinqExtensions) |
Harmonic |
Returns the harmonic mean of the elements of a vector.
(Defined by Stats) |
Harmonic |
Returns the harmonic mean of the elements of a vector.
(Defined by Stats) |
Hypot<T> |
Computes the square root of the sum of the squared corresponding elements
of two matrices.
(Defined by Vector) |
Hypot |
Computes the square root of the sum of the squared corresponding elements
of two matrices.
(Defined by Vector) |
Infinity |
Returns the infinity norm of a vector.
(Defined by VectorExtensions) |
Inter |
Returns the inter-quartile range of the elements of a numerical variable.
(Defined by Stats) |
Join<T> |
Joins two vectors.
(Defined by Vector) |
Kurtosis<T> |
Returns the kurtosis supplement of the elements of a vector.
(Defined by Stats) |
Kurtosis |
Returns the kurtosis supplement of the elements of an array.
(Defined by Stats) |
Lag<T> |
Returns a vector whose observations are moved ahead by
one observation.
(Defined by VectorExtensions) |
Lag<T> |
Returns a vector whose observations are moved ahead by
the specified number of observations.
(Defined by VectorExtensions) |
Lag<T> |
Returns a vector whose observations are moved ahead by
the specified number of observations.
(Defined by VectorExtensions) |
Log<T> |
Returns a vector whose elements are the logarithms of the components of another vector.
(Defined by Vector) |
Log<T> |
Returns a vector whose elements are the logarithms of the components of another vector.
(Defined by Vector) |
Log10<T> |
Returns a vector whose elements are the base 10 logarithms of the components of another vector.
(Defined by Vector) |
Log10Into<T> |
Computes the base 10 logarithm of the elements of a vector.
(Defined by Vector) |
Log |
Computes the logarithm of the elements of a vector.
(Defined by Vector) |
Log |
Computes the logarithm of the elements of a vector.
(Defined by Vector) |
Max<T> |
Returns the value of the largest component of a vector.
(Defined by Vector) |
Max<T> |
Returns a vector whose elements are the maximum of the components of a vector
and a real number.
(Defined by Vector) |
Max<T> |
Returns a vector whose elements are the maximums of the components of two vectors.
(Defined by Vector) |
Max |
Returns a vector whose elements are the maximum of the components of a vector
and a real number.
(Defined by Vector) |
Max |
Returns a vector whose elements are the maximums of the components of two vectors.
(Defined by Vector) |
Mean<T> |
Returns the mean of the elements of a vector.
(Defined by Stats) |
Mean |
Returns the mean of the elements of a vector.
(Defined by Stats) |
Median<T> |
Returns the median of the elements of a vector.
(Defined by Stats) |
Min<T> |
Returns the value of the smallest component of a vector.
(Defined by Vector) |
Min<T> |
Returns a vector whose elements are the minimum of the components of a vector
and a real number.
(Defined by Vector) |
Min<T> |
Returns a vector whose elements are the minimums of the components of two vectors.
(Defined by Vector) |
Min |
Returns a vector whose elements are the minimum of the components of a vector
and a real number.
(Defined by Vector) |
Min |
Returns a vector whose elements are the minimums of the components of two vectors.
(Defined by Vector) |
Moment<T> |
Returns the specified raw moment of the elements of an array.
(Defined by Stats) |
Multiply |
Multiplies a vector by a constant.
(Defined by Vector) |
Negate |
Negates a vector.
(Defined by Vector) |
One |
Returns the one-norm of a vector.
(Defined by VectorExtensions) |
Percentile<T> |
Gets the specified percentile.
(Defined by Stats) |
Permute<T> |
Permutes a vector.
(Defined by Vector) |
Population |
Returns the kurtosis supplement of the elements of an array.
(Defined by Stats) |
Population |
Returns the kurtosis supplement of the elements of an array.
(Defined by Stats) |
Population |
Returns the population skewness of the elements of an array.
(Defined by Stats) |
Population |
Returns the population skewness of the elements of an array.
(Defined by Stats) |
Population |
Returns the population standard deviation of the elements of a vector.
(Defined by Stats) |
Population |
Returns the population standard deviation of the elements of a vector.
(Defined by Stats) |
Population |
Returns the variance of the elements of a vector.
(Defined by Stats) |
Population |
Returns the variance of the elements of a vector.
(Defined by Stats) |
Product<T> |
Returns the product of the components of a vector.
(Defined by Vector) |
Project<T> |
Returns the projection of one vector onto another.
(Defined by Vector) |
Quantile<T> |
Gets the specified quantile.
(Defined by VectorExtensions) |
Quantiles<T> |
Gets the specified quantile.
(Defined by VectorExtensions) |
Range<T> |
Returns the range of the elements of a numerical variable.
(Defined by Stats) |
Ranks<T> |
Returns the ranks of the observations.
(Defined by Stats) |
Reciprocal<T> |
Returns a vector whose elements are the inverses (reciprocals) of the components of another vector.
(Defined by Vector) |
Reciprocal |
Computes the inverses (reciprocals) of the elements of a vector.
(Defined by Vector) |
Round<T> |
Returns a vector whose elements are the components of another vector
rounded to the nearest integer.
(Defined by Vector) |
Round<T> |
Returns a vector whose elements are the components of another vector
rounded to the nearest integer.
(Defined by Matrix) |
Select<T, TResult> |
Projects each element of a vector into a new form.
(Defined by LinqExtensions) |
Select<T, TResult> |
Projects each element of a vector into a new form by incorporating the elements index.
(Defined by LinqExtensions) |
Select |
Projects each element of a vector to a vector and flattens the resulting
vectors into one vector.
(Defined by LinqExtensions) |
Select |
Projects each element of a vector to a vector incorporating the element's index
and flattens the resulting vectors into one vector.
(Defined by LinqExtensions) |
Select |
Projects each element of a vector to a vector
and flattens the resulting vectors into one vector,
and applies a selector function to each element of the flattened vector.
(Defined by LinqExtensions) |
Select |
Projects each element of a vector to a vector incorporating the element's index
and flattens the resulting vectors into one vector,
and applies a selector function to each element of the flattened vector.
(Defined by LinqExtensions) |
Sin<T> |
Computes the sine of the elements of a vector.
(Defined by Vector) |
Sinh<T> |
Computes the hyperbolic sine of the elements of a vector.
(Defined by Vector) |
Sinh |
Computes the hyperbolic sine of the elements of a vector.
(Defined by Vector) |
Sin |
Computes the sine of the elements of a vector.
(Defined by Vector) |
Skewness<T> |
Returns the skewness of the elements of an array.
(Defined by Stats) |
Skewness |
Returns the skewness of the elements of an array.
(Defined by Stats) |
Sort<T> |
Sorts a vector in ascending order.
(Defined by Vector) |
Sort<T> |
Sorts a vector in the specified order.
(Defined by Vector) |
Sort<T> |
Sorts a vector in the specified order and also returns the sorting permutation.
(Defined by Vector) |
Split |
Splits a vector according to the specified grouping.
(Defined by Vector) |
Split |
Splits a vector according to the specified grouping.
(Defined by Vector) |
Sqrt<T> |
Computes the square root of the elements of a vector.
(Defined by Vector) |
Sqrt |
Computes the square root of the elements of a vector.
(Defined by Vector) |
Squared |
Returns the norm of the difference of two vectors.
(Defined by Vector) |
Standard |
Returns the standard deviation of the elements of a vector.
(Defined by Stats) |
Standard |
Returns the standard deviation of the elements of a vector.
(Defined by Stats) |
Subtract |
Subtracts two vectors.
(Defined by Vector) |
Subtract |
Subtracts one vector from another.
(Defined by Vector) |
Sum<T> |
Returns the sum of the components of a vector.
(Defined by Vector) |
Sum |
Returns the sum of the elements of a vector.
(Defined by Stats) |
Tan<T> |
Computes the tangent of the elements of a vector.
(Defined by Vector) |
Tanh<T> |
Computes the hyperbolic tangent of the elements of a vector.
(Defined by Vector) |
Tanh |
Computes the hyperbolic tangent of the elements of a vector.
(Defined by Vector) |
Tan |
Computes the tangent of the elements of a vector.
(Defined by Vector) |
ToJson<T> |
Returns a string containing a vector in JSON format.
(Defined by JsonFile) |
ToLookup<T, TKey> |
Creates a lookup from a vector according to the specified key selector function.
(Defined by LinqExtensions) |
ToLookup<T, TKey> |
Creates a lookup from a vector according to the specified
key selector function and key comparer.
(Defined by LinqExtensions) |
ToLookup<T, TKey, TElement> |
Creates a lookup from a vector according to the specified
key selector and element selector functions.
(Defined by LinqExtensions) |
ToLookup<T, TKey, TElement> |
Creates a lookup from a vector according to the specified
key selector and element selector functions, and key comparer.
(Defined by LinqExtensions) |
Trimmed |
Returns the trimmed mean of the elements of a numerical variable.
(Defined by Stats) |
Truncate<T> |
Returns a vector whose elements are the components of another vector
rounded to the nearest integer towards zero.
(Defined by Matrix) |
Two |
Returns the two-norm of a vector.
(Defined by VectorExtensions) |
Variance<T> |
Returns the variance of the elements of a vector.
(Defined by Stats) |
Variance |
Returns the variance of the elements of a span.
(Defined by Stats) |
Weighted |
Returns the mean of the variable with observations weighted by the specified vector.
(Defined by Stats) |
Weighted |
Returns the standard deviation of the variable with observations weighted by the specified vector.
(Defined by Stats) |
Where<T> |
Filters the elements of a vector based on a predicate.
(Defined by LinqExtensions) |
Where<T> |
Filters the elements of a vector based on a predicate.
Each element's index is used in the logic of the predicate function.
(Defined by LinqExtensions) |