Represents a vector of numbers.
Namespace:
Meta.Numerics.MatricesAssembly: Meta.Numerics (in Meta.Numerics.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class Vector<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : struct, new()
Public Class Vector(Of T As {Structure, New}) _ Implements IList(Of T), ICollection(Of T), _ IEnumerable(Of T), IEnumerable
generic<typename T> where T : value class, gcnew() public ref class Vector : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
- T
- The type of numbers the vector contins.
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| Vector<(Of <(T>)>)(IList<(Of <(T>)>)) |
Instantiates a new vector containing the given elements.
| |
| Vector<(Of <(T>)>)(Int32) |
Instantiates a new vector of the given dimension.
| |
| Dimension |
Gets the dimension of the vector.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Item[([(Int32])]) |
Gets or sets the specified vector component.
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToArray()()() |
Converts the vector to an array.
| |
| ToString()()() | (Inherited from Object.) |
Remarks
For matrix operations, you will usually want to define a ColumnVector or RowVector instead.
Inheritance Hierarchy
System..::.Object
Meta.Numerics.Matrices..::.Vector<(Of <(T>)>)
Meta.Numerics.Matrices..::.ColumnVector
Meta.Numerics.Matrices..::.RowVector
Meta.Numerics.Matrices..::.Vector<(Of <(T>)>)
Meta.Numerics.Matrices..::.ColumnVector
Meta.Numerics.Matrices..::.RowVector