IVector Interface
Represents the common methods and properties for indexed collections.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public interface IVector
Properties
Element | Gets the element type of the vector. |
Format | Gets a format string used when formatting elements of the vector. |
Index |
Gets the index of the object.
Preliminary |
Length | Gets the length of the vector. |
Name |
Gets the name of the object.
Preliminary |
Methods
Append | Appends a vector at the end of this vector and returns the result. |
Append | Appends the specified number of missing values to this vector and returns the result. |
As<U> | Returns the object as a strongly typed vector of the specified type. |
AsCategorical | Converts the vector to a categorical vector. |
Get | Returns a new object that contains the values at the specified positions. |
Get | Gets the value at the specified index. |
Get | Returns a new object that contains the values at the specified positions. |
Get | Returns a new object that contains the values at the specified positions. |
IsMissing | Indicates whether the value at the specified index is missing. |
Protect | Returns a shallow read-only copy of the vector. |
Replace | Replaces all missing values in a vector with the previous or next non-missing value. |
Sort | Returns a permutation that can be used to sort the data in the vector in the specified order. |
Extension Methods
Bin<T> |
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector) |
Bin<T> |
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector) |
Unstack<R, C> |
Transforms a vector with a two-level index into a data frame whose columns
correspond to the second level in the index.
(Defined by DataFrame) |