Represents a vector of numbers.

Namespace:  Meta.Numerics.Matrices
Assembly:  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  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()
Returns a String that represents the current Object.
(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

See Also