Extreme Optimization™: Complexity made simple.

Math and Statistics
Libraries for .NET

  • Home
  • Features
    • Math Library
    • Vector and Matrix Library
    • Statistics Library
    • Performance
    • Usability
  • Documentation
    • Introduction
    • Math Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Resources
    • Downloads
    • QuickStart Samples
    • Sample Applications
    • Frequently Asked Questions
    • Technical Support
  • Blog
  • Order
  • Company
    • About us
    • Testimonials
    • Customers
    • Press Releases
    • Careers
    • Partners
    • Contact us
Introduction
Deployment Guide
Nuget packages
Configuration
Using Parallelism
Expand Mathematics Library User's GuideMathematics Library User's Guide
Expand Vector and Matrix Library User's GuideVector and Matrix Library User's Guide
Expand Data Analysis Library User's GuideData Analysis Library User's Guide
Expand Statistics Library User's GuideStatistics Library User's Guide
Expand Data Access Library User's GuideData Access Library User's Guide
Expand ReferenceReference
  • Extreme Optimization
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Nuget packages
    • Configuration
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Data Analysis Library User's Guide
    • Statistics Library User's Guide
    • Data Access Library User's Guide
    • Reference
  • Reference
    • Extreme
    • Extreme.Collections
    • Extreme.Data
    • Extreme.Data.Json
    • Extreme.Data.Matlab
    • Extreme.Data.R
    • Extreme.Data.Stata
    • Extreme.Data.Text
    • Extreme.DataAnalysis
    • Extreme.DataAnalysis.Linq
    • Extreme.DataAnalysis.Models
    • Extreme.Mathematics
    • Extreme.Mathematics.Algorithms
    • Extreme.Mathematics.Calculus
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations
    • Extreme.Mathematics.Curves
    • Extreme.Mathematics.Curves.Nonlinear
    • Extreme.Mathematics.Distributed
    • Extreme.Mathematics.EquationSolvers
    • Extreme.Mathematics.Generic
    • Extreme.Mathematics.LinearAlgebra
    • Extreme.Mathematics.LinearAlgebra.Implementation
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners
    • Extreme.Mathematics.Optimization
    • Extreme.Mathematics.Optimization.LineSearches
    • Extreme.Mathematics.Random
    • Extreme.Mathematics.SignalProcessing
    • Extreme.Providers
    • Extreme.Providers.InteropServices
    • Extreme.Statistics
    • Extreme.Statistics.Distributions
    • Extreme.Statistics.Multivariate
    • Extreme.Statistics.Tests
    • Extreme.Statistics.TimeSeriesAnalysis
  • Extreme.Mathematics
    • AccuracyGoal Structure
    • AlgorithmStatus Enumeration
    • ArrayAttributes Structure
    • ArrayMath Class
    • ArrayMutability Enumeration
    • BigFloat Class
    • BigInteger Structure
    • BigRational Structure
    • CategoricalVector(T) Class
    • Complex(T) Structure
    • Constants Class
    • ConvergenceCriterion Enumeration
    • CoreImplementations(T) Class
    • DecimalMath Class
    • Dimension Enumeration
    • DimensionMismatchException Class
    • DimensionType Enumeration
    • DistributedDataLocation Enumeration
    • DoubleComparer Class
    • Elementary Class
    • ElementType(T) Class
    • FunctionMath Class
    • FunctionWithDerivative Delegate
    • GenericCoreProvider(T) Class
    • GenericImplementations Class
    • ICategoricalVector Interface
    • IDistributed Interface
    • InsufficientDataException Class
    • IntegerMath Class
    • Intent Enumeration
    • Interval Structure
    • Interval(T) Structure
    • IPermutable Interface
    • ISummarizable Interface
    • Iterators Class
    • IVector Interface
    • MachineConstants Class
    • ManagedCoreProviderOfSingle Class
    • Math(T) Class
    • Matrix Class
    • Matrix(T) Class
    • MatrixDiagonal Enumeration
    • MatrixElementOrder Enumeration
    • MatrixExtensions Class
    • MatrixNorm Enumeration
    • MatrixOperationSide Enumeration
    • MatrixStructure Enumeration
    • MatrixTriangle Enumeration
    • MutabilityBehaviour Enumeration
    • NumericsConfiguration Class
    • Operations(T) Class
    • Permutation Class
    • Quad Structure
    • RandomExtensions Class
    • Range Structure
    • RoundingMode Enumeration
    • SingleConstants Class
    • SinglePrecisionImplementations Class
    • Slice Structure
    • SolutionReport(T) Class
    • SolutionReport(T, TError) Class
    • Special Class
    • SummaryOptions Class
    • SymbolicMath Class
    • TotalLossOfPrecisionException Class
    • TransposeOperation Enumeration
    • TypedVectorWrapper(K, T) Structure
    • Vector Class
    • Vector(T) Class
    • VectorExtensions Class
  • Vector(T) Class
    • Vector(T) Constructors
    • Properties
    • Methods
    • Operators and Type Conversions

VectorT Class

Extreme Optimization Numerical Libraries for .NET Professional
Represents a vector, a one-dimensional array of real numbers.
Inheritance Hierarchy

SystemObject
  Extreme.MathematicsVectorT
    More...

Namespace:  Extreme.Mathematics
Assembly:  Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
Syntax

C#
VB
C++
F#
Copy
public abstract class Vector<T> : IEnumerable, 
	IFormattable, IList<T>, ICollection<T>, IEnumerable<T>, IEquatable<Vector<T>>, 
	IDisposable, ISummarizable, IVector, IDataFrame, ICloneable, 
	ISerializable, IStructuralEquatable
Public MustInherit Class Vector(Of T)
	Implements IEnumerable, IFormattable, IList(Of T), 
	ICollection(Of T), IEnumerable(Of T), IEquatable(Of Vector(Of T)), 
	IDisposable, ISummarizable, IVector, IDataFrame, ICloneable, 
	ISerializable, IStructuralEquatable
generic<typename T>
public ref class Vector abstract : IEnumerable, 
	IFormattable, IList<T>, ICollection<T>, IEnumerable<T>, IEquatable<Vector<T>^>, 
	IDisposable, ISummarizable, IVector, IDataFrame, ICloneable, 
	ISerializable, IStructuralEquatable
[<AbstractClassAttribute>]
type Vector<'T> =  
    class
        interface IEnumerable
        interface IFormattable
        interface IList<'T>
        interface ICollection<'T>
        interface IEnumerable<'T>
        interface IEquatable<Vector<'T>>
        interface IDisposable
        interface ISummarizable
        interface IVector
        interface IDataFrame
        interface ICloneable
        interface ISerializable
        interface IStructuralEquatable
    end

Type Parameters

T

The VectorT type exposes the following members.

Constructors

  NameDescription
Protected methodVectorT(Int32, ArrayAttributes)
Constructs a new vector with the specified number of elements.
Protected methodVectorT(SerializationInfo, StreamingContext)
Constructs a new vector from serialization values.
Top
Properties

  NameDescription
Public propertyAttributes
Gets attributes associated with the vector.
Public propertyCanReshape
Gets whether the vector can be reshaped into a matrix.
Public propertyCount
Gets the number of items that are not missing.
Public propertyElementType
Gets the element type of the vector.
Public propertyFormatString
Gets or sets the format to use for each element when creating a string representation of the vector.
Public propertyIndex
Gets or sets the index of labels for the vector.
Public propertyIsImmutable
Gets whether the vector's elements are immutable.
Public propertyIsReadOnly
Gets whether the vector can be written to.
Public propertyIsSparse
Gets a value that indicates whether the vector is sparse.
Public propertyItemFuncT, Boolean
Gets or sets the elements of a vector that match the specified condition.
Public propertyItemIEnumerableInt32
Gets or sets the elements of the vector with the specified indexes.
Public propertyItemIndex
Gets or sets a specific element of this vector.
Public propertyItemInt32
Gets or sets a specific element of this vector.
Public propertyItemRange
Gets or sets a range of elements of the vector.
Public propertyItemRange
Gets or sets a range of elements of the vector.
Public propertyItemVectorBoolean
Gets or sets the elements of a vector that match the specified condition.
Public propertyLength
Gets the number of elements in the vector.
Public propertyMayHaveMissingValues
Gets or sets whether the vector may contain missing values that require special handling in calculations.
Public propertyMissingValue
Gets or sets the value that is used to represent missing values.
Public propertyName
Gets or sets the name of the vector.
Public propertyNonzeroComponents Obsolete.
Gets a collection of IndexValuePairT objects representing the nonzero elements of this instance.
Public propertyNonzeroCount
Gets the number of nonzero elements in the vector.
Public propertyNonzeroElements
Gets a collection of IndexValuePairT objects representing the nonzero elements of this instance.
Public propertyPrecedence
Infrastructure. This property supports the Numerical Libraries for .NET infrastructure and is not intended to be used directly from your code.
Top
Methods

  NameDescription
Protected methodAbsCore
Computes the absolute values of the elements of a vector.
Public methodAbsInPlace
Computes the absolute values of the elements of a vector in-place.
Public methodAbsoluteMaxIndex
Returns the index of the element in this vector that has the largest absolute value.
Public methodAbsoluteMinIndex
Returns the index of the element in this vector that has the smallest absolute value.
Protected methodAcosCore
Computes the inverse cosine of the elements of a vector.
Protected methodAcoshCore
Computes the inverse hyperbolic cosine of the elements of a vector.
Public methodAcoshInPlace
Computes the inverse hyperbolic cosine of the elements of a vector in-place.
Public methodAcosInPlace
Computes the inverse cosine of the elements of a vector in-place.
Public methodAdd(VectorT) Obsolete.
Adds another vector to this vector.
Public methodStatic memberAdd(T, VectorT)
Adds a vector and a constant.
Public methodStatic memberAdd(VectorT, T)
Adds a vector and a constant.
Protected methodAddCore(T, VectorT)
Adds a constant to a vector in-place.
Protected methodAddCore(VectorT, VectorT)
Adds two vectors.
Public methodAddInPlace(T)
Adds a constant to a vector.
Public methodAddInPlace(VectorT)
Adds another vector to this vector in-place.
Public methodStatic memberAddInto
Adds a vector and a constant.
Public methodAddProductInPlace(LinearOperatorT, VectorT)
Adds the product of a matrix and a VectorT to this VectorT.
Public methodAddProductInPlace(LinearOperatorT, TransposeOperation, VectorT)
Adds the product of a matrix and a VectorT to this VectorT.
Protected methodAddScaledAsLeftCore
Adds two vectors.
Protected methodAddScaledAsRightCore
Adds two vectors.
Public methodAddScaledInPlace
Adds a scaled vector to this vector.
Public methodAddScaledProductInPlace(T, LinearOperatorT, VectorT)
Adds the scaled product of a matrix and a VectorT to this VectorT.
Public methodAddScaledProductInPlace(T, LinearOperatorT, TransposeOperation, VectorT)
Adds the scaled product of a matrix and a vector in-place to a vector.
Public methodAggregate(TypePreservingAggregatorGroup)
Applies the specified aggregator to the vector.
Public methodAggregateU(AggregatorT, U)
Applies the specified aggregator to the vector.
Public methodAggregateU(AggregatorGroupU)
Applies the specified aggregator to the vector.
Public methodAggregateBy(IGrouping, TypePreservingAggregatorGroup)
Returns a new vector that aggregates the columns according to the specified grouping.
Public methodAggregateByU(IGrouping, AggregatorT, U)
Aggregates the vector according to the specified grouping.
Public methodAggregateByU(IGrouping, AggregatorGroupU)
Returns a new vector that aggregates the columns according to the specified grouping.
Public methodAggregateByU(IPivot, AggregatorT, U)
Returns a new matrix that aggregates the elements according to the specified pivot grouping.
Public methodAggregateByU(IPivot, AggregatorGroupU)
Returns a new matrix that aggregates the elements according to the specified pivot grouping.
Public methodAll
Returns whether all the elements of the vector satisfy a condition.
Public methodStatic memberAngle
Returns the angle between two vectors.
Public methodAny
Returns whether any of the elements of the vector satisfy a condition.
Public methodAsCategorical(IndexT)
Returns a categorical vector containing the same data as this vector.
Public methodAsCategorical(SortOrder)
Returns a categorical vector containing the same data as this vector.
Public methodAsDenseVector
Returns this vector as a dense vector.
Protected methodAsinCore
Computes the inverse sine of the elements of a vector.
Public methodAsIndex
Converts a vector to an index.
Protected methodAsinhCore
Computes the inverse hyperbolic sine of the elements of a vector.
Public methodAsinhInPlace
Computes the inverse hyperbolic sine of the elements of a vector in-place.
Public methodAsinInPlace
Computes the inverse sine of the elements of a vector in-place.
Protected methodAtan2AsXCore
Computes the four-quadrant inverse tangent of the corresponding elements of two matrices.
Protected methodAtan2AsYCore
Computes the four-quadrant inverse tangent of the elements of a vector.
Protected methodAtanCore
Computes the inverse tangent of the elements of a vector.
Protected methodAtanhCore
Computes the inverse hyperbolic tangent of the elements of a vector.
Public methodAtanhInPlace
Computes the inverse hyperbolic tangent of the elements of a vector in-place.
Public methodAtanInPlace
Computes the inverse tangent of the elements of a vector in-place.
Public methodBroadcast
Broadcasts the elements of the vector along the specified dimension.
Public methodBroadcastInto
Broadcasts the elements of the vector along the specified dimension.
Public methodByK
Enables accessing elements of an indexed vector using strongly typed indexes.
Public methodCastU
Casts the elements of the vector to the specified type.
Public methodCastIntoU
Casts the elements of the vector to the specified type.
Protected methodCeilingCore
Computes the smallest integers greater than the elements of a vector.
Public methodCeilingInPlace
Computes the smallest integers greater than the elements of a vector in-place.
Public methodStatic memberClip
Returns a vector whose elements are the components of a vector constrained to be within the specified interval.
Public methodClone
Makes a copy of this vector.
Public methodClone(CloningMethod)
Makes a copy of this vector using the specified method.
Public methodCloneData
If possible, gives this instance its own copy of its elements.
Public methodConjugate
Conjugates the elements of a vector and returns the result.
Public methodStatic memberConjugate(VectorT)
Returns the conjugate of a vector.
Protected methodConjugateCore
Conjugates the elements of a vector.
Public methodConjugateDotProduct
Returns the dot product of this vector with another vector.
Public methodConjugateInPlace
Conjugates all elements of a vector in-place.
Public methodCopyTo(ArraySliceT)
Copies the elements of this vector to an array.
Public methodCopyTo(IVector)
Copies the elements of this vector to an untyped vector.
Public methodCopyTo(T)
Copies the elements of this vector to an array.
Public methodCopyTo(VectorT)
Copies the elements of this vector to another vector.
Public methodCopyTo(T, Int32)
Copies the elements of this vector to an array.
Public methodCopyTo(VectorT, Int32)
Copies the elements of this vector to another vector starting at the specified position.
Public methodCopyToOrClone
Copies the elements of this vector to another vector, if it exists; otherwise clones the vector using the specified method.
Protected methodCosCore
Computes the cosine of the elements of a vector.
Protected methodCoshCore
Computes the hyperbolic cosine of the elements of a vector.
Public methodCoshInPlace
Computes the hyperbolic cosine of the elements of a vector in-place.
Public methodCosInPlace
Computes the cosine of the elements of a vector in-place.
Public methodStatic memberCrossProduct
Returns the cross product of two 3D vectors.
Public methodCumulativeProduct
Gets the product of the elements of the vector.
Public methodCumulativeProductInPlace
Gets the product of the elements of the vector.
Public methodCumulativeProductInto
Gets the product of the elements of the vector.
Public methodCumulativeSum
Gets the sum of the elements of the vector.
Public methodCumulativeSumInPlace
Gets the sum of the elements of the vector.
Public methodCumulativeSumInto
Gets the cumulative sum of the elements of the vector.
Protected methodDifferenceCore
Computes the forward or backward difference of a vector.
Public methodDispose
Releases unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged resources.
Public methodStatic memberDivide
Divides a vector by a constant.
Public methodDivideInPlace
Divides a vector in-place by a constant.
Public methodDotProduct
Returns the dot product of this vector with another vector.
Protected methodElementwiseConjugateMultiplyAsLeftCore
Multiplies two vectors element-wise.
Protected methodElementwiseConjugateMultiplyAsRightCore
Multiplies two vectors element-wise.
Protected methodElementwiseDivideAsLeftCore
Divides two vectors element-wise.
Protected methodElementwiseDivideAsRightCore
Divides two vectors element-wise.
Public methodElementwiseDivideInPlace
Divides this vector in-place element-wise by another vector.
Protected methodElementwiseMultiplyCore
Multiplies two vectors element-wise.
Public methodElementwiseMultiplyInPlace
Multiplies this vector in-place element-wise by another vector.
Protected methodElementwisePowAsLeftCore(VectorT, VectorT)
Raises the elements of a vector to a power from the corresponding elements in another vector.
Protected methodElementwisePowAsLeftCore(VectorInt32, VectorT)
Raises the elements of a vector to a power from the corresponding elements in another vector.
Protected methodElementwisePowAsRightCore
Raises two vectors element-wise.
Protected methodElementwisePowCore(Int32, VectorT)
Raises the element of a vector to a constant power.
Protected methodElementwisePowCore(T, VectorT)
Raises the element of a vector to a constant power.
Public methodElementwisePowInPlace(Int32)
Raises the elements of a vector in-place to a constant power.
Public methodElementwisePowInPlace(T)
Raises the elements of a vector in-place to a constant power.
Public methodElementwisePowInPlace(VectorT)
Raises this vector in-place element-wise by another vector.
Public methodElementwisePowInPlace(VectorInt32)
Raises this vector in-place element-wise by another vector.
Public methodEnsureWritable
Ensures that every element in the vector can be written to.
Public methodEnsureWritable(Int32)
Ensures that the element at the specified index in the vector can be written to.
Public methodEnsureWritable(Range)
Ensures that the element at the specified index in the vector can be written to.
Public methodEnsureWritable(Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current VectorT.
(Overrides ObjectEquals(Object).)
Public methodEquals(VectorT)
Determines whether the specified VectorT is equal to the current VectorT.
Public methodEquals(Object, IEqualityComparer)
Returns whether an object is structurally equal to this instance.
Protected methodEqualToCore(T, VectorBoolean)
Checks if the elements of one vector are equal to a constant.
Protected methodEqualToCore(VectorT, VectorBoolean)
Checks if the elements of one vector are equal to the corresponding elements of another vector.
Protected methodExpCore
Computes the exponential of the elements of a vector.
Public methodExpInPlace
Computes the exponential of the elements of a vector in-place.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFind
Enumerates the indexes that match a condition.
Protected methodFloorCore
Computes the largest integers smaller than the elements of a vector.
Public methodFloorInPlace
Computes the largest integers smaller than the elements of a vector in-place.
Public methodGetK(K)
Gets the value with the specified key.
Public methodGetK1, K2(K1, K2)
Gets the value at the specified key.
Public methodGetEnumerator
Returns a IEnumeratorT of Double for this VectorT.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetHashCode(IEqualityComparer)
Returns a hash code for this instance.
Public methodGetNearestK
Gets the value nearest to the specified key.
Public methodGetNearestValuesK
Returns a vector containing the items nearest to the specified key values.
Public methodGetObjectData
Populates a SerializationInfo with the values needed to serialize the target object.
Public methodGetSlice(Int32)
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSlice(Range)
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSlice(Int32, Int32)
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSlice(Range, Intent)
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSlice(Slice, Intent)
Returns a vector whose elements are a subset of the elements of this instance.
Public methodGetSlice(Int32, Int32, Intent)
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSlice(Int32, Int32, Int32)
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSlice(Int32, Int32, Int32, Intent)
Returns a vector whose elements are a subset of the elements of this instance.
Protected methodGetSliceCore
Returns a vector whose elements are a subset of the elements of this instance.
Public methodGetSubvector(Int32) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSubvector(Range) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSubvector(Int32, Int32) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSubvector(Range, Intent) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSubvector(Slice, Intent) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance.
Public methodGetSubvector(Int32, Int32, Intent) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSubvector(Int32, Int32, Int32) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance
Public methodGetSubvector(Int32, Int32, Int32, Intent) Obsolete.
Returns a vector whose elements are a subset of the elements of this instance.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(Int32)
Gets the vector element at the specified position.
Public methodGetValueK(K)
Gets the value at the specified key.
Protected methodGetValues(VectorBoolean)
Returns the elements of a vector that match the specified condition.
Public methodGetValues(Subset, Intent)
Returns a vector that contains the specified subset of elements of the vector.
Public methodGetValues(Int32, Boolean, Intent)
Returns a new vector that contains the elements of the vector with the specified indexes.
Public methodGetValuesK(IEnumerableK)
Returns a vector containing the items at the specified key values.
Protected methodGreaterThanCore(T, VectorBoolean)
Checks if the elements of one vector are greater than a constant.
Protected methodGreaterThanCore(VectorT, VectorBoolean)
Checks if the elements of one vector are greater than the corresponding elements of another vector.
Protected methodGreaterThanOrEqualToCore(T, VectorBoolean)
Checks if the elements of one vector are greater than or equal to a constant.
Protected methodGreaterThanOrEqualToCore(VectorT, VectorBoolean)
Checks if the elements of one vector are greater than or equal to the corresponding elements of another vector.
Protected methodHypotCore
Computes the square root of the sum of the squared corresponding elements of this vector and another vector.
Public methodIsElementWritable
Gets a value indicating whether the value of the element at the specified index can be changed.
Public methodIsMissing
Returns whether the value at the specified index is missing.
Public methodKeysAndValuesK
Enumerates all keys and associated values.
Protected methodLessThanCore(T, VectorBoolean)
Checks if the elements of one vector are less than a constant.
Protected methodLessThanCore(VectorT, VectorBoolean)
Checks if the elements of one vector are greater than the corresponding elements of another vector.
Protected methodLessThanOrEqualToCore(T, VectorBoolean)
Checks if the elements of one vector are less than or equal to a constant.
Protected methodLessThanOrEqualToCore(VectorT, VectorBoolean)
Checks if the elements of one vector are greater than or equal to the corresponding elements of another vector.
Public methodStatic memberLessThanOrEqualToInto
Checks if the elements of one vector are greater than or equal to the corresponding elements of another vector.
Protected methodLog10Core
Computes the base 10 logarithm of the elements of a vector.
Public methodLog10InPlace
Computes the logarithm of the elements of a vector in-place.
Protected methodLogCore(VectorT)
Computes the logarithm of the elements of a vector.
Protected methodLogCore(T, VectorT)
Computes the logarithm of the elements of a vector.
Public methodLogInPlace
Computes the logarithm of the elements of a vector in-place.
Public methodLogInPlace(T)
Computes the logarithm of the elements of a vector in-place.
Public methodMakeImmutable
Protects the vector from changes in values or structure.
Public methodMapU(FuncT, U)
Applies a function to the elements of a vector and returns the result.
Public methodStatic memberMapU(FuncT, U, VectorT)
Applies a function to the elements of a vector and returns the result in a new vector.
Public methodStatic memberMapU, V(FuncT, U, V, VectorT, VectorU)
Applies a function to the corresponding elements of two vectors and returns the result in a new vector.
Protected methodMapAsFirstCoreU, V
Applies a function to the corresponding elements of two vectors.
Protected methodMapAsSecondCoreU, V
Applies a function to the corresponding elements of two vectors.
Protected methodMapCoreU(FuncT, U, VectorU)
Applies a function to the elements of a vector.
Protected methodMapCoreU(FuncInt32, T, U, VectorU)
Applies a function to the elements of a vector.
Public methodMapInPlace(FuncT, T)
Applies a function in-place to the elements of a vector.
Public methodMapInPlace(FuncInt32, T, T)
Applies a function in-place to the elements of a vector.
Public methodMapInPlaceU(FuncU, T, T, VectorU)
Applies a function in-place to the elements of a vector as the second argument.
Public methodMapInPlaceU(FuncT, U, T, VectorU)
Applies a function to the elements of a vector.
Public methodMapIntoU(FuncT, U, VectorU)
Applies a function to the elements of a vector.
Public methodMapIntoU(FuncInt32, T, U, VectorU)
Applies a function to the elements of a vector.
Public methodMapWhereU(FuncT, Boolean, FuncT, U)
Applies a function to the elements of a vector that meet a condition and returns the result.
Public methodMapWhereU(FuncInt32, T, Boolean, FuncT, U)
Applies a function to the elements of a vector that meet a condition and returns the result.
Protected methodMapWhereCoreU(FuncT, Boolean, FuncT, U, VectorU)
Applies a function to the elements of a vector.
Protected methodMapWhereCoreU(FuncInt32, T, Boolean, FuncT, U, VectorU)
Applies a function to the elements of a vector.
Public methodMax
Returns the value of the largest element in this vector.
Public methodMax(Int32)
Returns the value of the largest element in this vector.
Protected methodMaxCore(T, VectorT)
Returns a vector whose elements are the maximum of the components of a vector and a real number.
Protected methodMaxCore(VectorT, VectorT)
Returns a vector whose elements are the maximums of the components of two vectors.
Public methodMaxIndex
Returns the index of the largest element in this vector.
Public methodMaxInPlace
Returns a vector whose elements are the maximum of the components of a vector and a real number.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMin
Returns the value of the smallest element in this vector.
Public methodMin(Int32)
Returns the value of the smallest element in this vector.
Protected methodMinCore(T, VectorT)
Returns a vector whose elements are the minimum of the components of a vector and a real number.
Protected methodMinCore(VectorT, VectorT)
Returns a vector whose elements are the minimums of the components of two vectors.
Public methodMinIndex
Returns the index of the smallest element in this vector.
Public methodMinInPlace
Returns a vector whose elements are the minimum of the components of a vector and a real number.
Protected methodMultiplyCore
Multiplies a vector by a constant.
Public methodMultiplyInPlace(T)
Multiplies a vector in-place by the specified factor.
Public methodMultiplyInPlace(MatrixT, MatrixOperationSide)
Multiplies a VectorT by a MatrixT.
Public methodNegateInPlace
Negates a vector in-place.
Public methodNorm
Returns the two-norm of the vector.
Public methodNorm(Int32)
Returns the norm of the specified order of this vector.
Public methodNorm(T)
Returns the norm of the specified order of this vector.
Public methodNormalize
Scales the vector to make its two-norm equal to one.
Protected methodNormInternal(Int32)
Returns the norm of the specified order of this vector.
Protected methodNormInternal(T)
Returns the norm of the specified order of this vector.
Public methodNormSquared
Returns the square of the two-norm of this vector.
Protected methodNotEqualToCore(T, VectorBoolean)
Checks if the elements of one vector are not equal to a constant.
Protected methodNotEqualToCore(VectorT, VectorBoolean)
Checks if the elements of one vector are not equal to the corresponding elements of another vector.
Public methodOneNorm
Returns the one-norm of this vector.
Public methodPermuteInPlace(Permutation)
Permutes a vector.
Public methodPermuteInPlace(Permutation, Boolean)
Permutes a vector.
Public methodStatic memberPermuteInPlace(VectorT, Permutation)
Permutes a vector.
Public methodProduct
Gets the product of the elements of the vector.
Public methodStatic memberProject
Returns the projection of one vector onto another.
Public methodProtect
Returns a read-only copy of the vector.
Public methodProtectInPlace
Protects the vector from changes in values or structure.
Protected methodReciprocalCore
Computes the inverses (reciprocals) of the elements of a vector.
Public methodReciprocalInPlace
Computes the inverses (reciprocals) of the elements of a vector in-place.
Public methodRemoveMissingValues
Removes all the missing values from a vector and returns the result.
Public methodReplaceMissingValues(T)
Replaces all missing values in the vector with the specified value.
Public methodReplaceMissingValues(VectorT)
Replaces all missing values in the vector with the corresponding element in another vector.
Public methodReplaceMissingValues(Direction, Int32)
Replaces all missing values in a vector with the specified value.
Public methodReplaceMissingValuesInPlace(T)
Replaces all missing values in the vector with the specified value in-place.
Public methodReplaceMissingValuesInPlace(VectorT)
Replaces all missing values in the vector with the corresponding element in another vector in-place.
Public methodReplaceMissingValuesInPlace(Direction, Int32)
Replaces all missing values in a vector with the specified value in-place.
Public methodReplaceMissingValuesInto(T, VectorT)
Replaces all missing values in a vector with the specified value.
Public methodReplaceMissingValuesInto(VectorT, VectorT)
Replaces all missing values in the vector with the corresponding element in another vector.
Public methodReplaceMissingValuesInto(Direction, VectorT, Int32)
Replaces all missing values in a vector with the previous or next non-missing value.
Public methodReplaceValue
Replaces every occurrence of a value with a new value.
Public methodReplaceValueInPlace
Replaces every occurrence of a value with a new value.
Public methodReplaceValueInto
Replaces every occurrence of a value with a new value.
Public methodResample(Recurrence, Direction, TypePreservingAggregatorGroup)
Returns a new vector that resamples the values in the vector using the specified recurrence pattern and aggregator.
Public methodResampleR(IndexR, Direction, TypePreservingAggregatorGroup)
Returns a new vector that resamples the values in the vector using the specified index and aggregator.
Public methodResampleU(Recurrence, Direction, AggregatorGroupU)
Returns a new vector that resamples the values in the vector using the specified recurrence pattern and aggregator.
Public methodResampleR, U(IndexR, Direction, AggregatorGroupU)
Returns a new vector that resamples the values in the vector using the specified index and aggregator.
Public methodReshape
Returns a matrix that contains the vector elements columnwise.
Public methodSetMissing
Declares that the value at the specified index is missing.
Public methodSetToZero
Sets all the elements of the vector to 0.
Public methodSetValue(T)
Sets all the elements of the vector to the specified value.
Public methodSetValue(T, Int32)
Sets the vector element at the specified position to the specified value.
Public methodSetValueK(T, K)
Sets the value at the specified key value.
Public methodSetValues(T, Range)
Sets a range of elements of the vector to the specified value.
Public methodSetValues(T, VectorBoolean)
Sets the elements of a vector that match the specified condition to the specified value.
Public methodSetValues(T, FuncT, Boolean)
Sets all the elements that meet a condition to the specified value.
Protected methodSetValues(VectorT, VectorBoolean)
Sets the elements of a vector that match the specified condition.
Public methodShallowCopy
Makes a shallow copy of this vector.
Protected methodSinCore
Computes the sine of the elements of a vector.
Protected methodSinhCore
Computes the hyperbolic sine of the elements of a vector.
Public methodSinhInPlace
Computes the hyperbolic sine of the elements of a vector in-place.
Public methodSinInPlace
Computes the sine of the elements of a vector in-place.
Public methodSortInPlace
Sorts the vector in ascending order.
Public methodSortInPlace(SortOrder)
Sorts the vector in the specified order.
Public methodSortInPlace(SortOrder, Permutation)
Sorts the vector in the specified order.
Protected methodSqrtCore
Computes the square root of the elements of a vector.
Public methodSqrtInPlace
Computes the square root of the elements of a vector in-place.
Public methodSubtract Obsolete.
Subtracts the product of a matrix and a VectorT from this VectorT.
Protected methodSubtractAsLeftCore(T, VectorT)
Subtracts a constant from a vector.
Protected methodSubtractAsLeftCore(VectorT, VectorT)
Subtracts one vector from another.
Protected methodSubtractAsRightCore(T, VectorT)
Subtracts a vector from a constant.
Protected methodSubtractAsRightCore(VectorT, VectorT)
Subtracts one vector from another.
Public methodSubtractInPlace(T)
Subtracts a constant value from the elements of this vector in-place.
Public methodSubtractInPlace(VectorT)
Subtracts another vector from this vector in-place.
Public methodSubtractProductInPlace
Subtracts the product of a matrix and a VectorT from this VectorT.
Public methodSum
Gets the sum of the elements of the vector.
Public methodSummarize
Returns a summary of the contents of the matrix using the default summary options.
Public methodSummarize(SummaryOptions)
Returns a summary of the contents of the matrix using the specified options.
Public methodSwapElements
Exchanges two elements of the vector.
Protected methodTanCore
Computes the tangent of the elements of a vector.
Protected methodTanhCore
Computes the hyperbolic tangent of the elements of a vector.
Public methodTanhInPlace
Computes the hyperbolic tangent of the elements of a vector in-place.
Public methodTanInPlace
Computes the tangent of the elements of a vector in-place.
Public methodToArray
Gets the elements of the vector.
Public methodToColumnMatrix
Creates a matrix with the vector as its only column..
Public methodToDataFrameC(C)
Returns a data frame with the current vector as its only column.
Public methodToDataFrameR, C(IndexR, C)
Returns a data frame with the current vector as its only column.
Public methodToDenseVector
Makes a copy of this instance and returns it as a dense vector.
Public methodTop
Returns a vector containing the specified number of elements from the top of the sorted vector.
Public methodToRowMatrix
Creates a matrix with the vector as its only column..
Public methodToSparseVector
Creates a copy of the vector as a SparseVectorT.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodToString(String)
Converts the numeric value of this vector instance to its equivalent string representation, using the specified format.
Public methodToString(String, IFormatProvider)
Returns a String representation of this vector.
Protected methodToStringInternal
Writes a string representation of this VectorT to an instance of StringBuilder using the specified number format.
Public methodTryCastU
Attempts to convert the elements of the vector to the specified type.
Public methodTryEnsureWritable
Ensures that every element in the vector can be written to.
Public methodTryEnsureWritable(Int32)
Ensures that the element at the specified index in the vector can be written to.
Public methodTryEnsureWritable(Int32, Int32)
Ensures that the element at the specified index in the vector can be written to.
Public methodTryGetK
Attempts to get the value with the specified key.
Public methodUnstackR, C
Returns a data frame that contains the values in the vector arranged according to the levels in a hierarchical index.
Public methodWeightedNorm
Returns the weighted two-norm of the vector.
Public methodWeightedNormSquared
Returns the square of the weighted two-norm of the vector.
Public methodWindowU(Int32, AggregatorGroupU)
Returns a new vector that aggregates the values in a sliding window of the specified size.
Public methodWindowU(Int32, Int32, Boolean, AggregatorGroupU)
Returns a new vector that aggregates the values in a sliding window of the specified size.
Public methodWithNameC
Sets the name of a vector to the specified value.
Top
Operators

  NameDescription
Public operatorStatic memberAddition(T, VectorT)
Adds a vector and a constant.
Public operatorStatic memberAddition(VectorT, T)
Adds a vector and a constant.
Public operatorStatic memberAddition(VectorT, VectorT)
Adds two vectors.
Public operatorStatic memberAdditionAssignment(VectorT, T)
Defines the compound addition assignment operator for a vector and a scalar in F#.
Public operatorStatic memberAdditionAssignment(VectorT, VectorT)
Defines the compound addition assignment operator for vectors in F#.
Public operatorStatic memberDivision
Divides a vector by a constant.
Public operatorStatic memberDivisionAssignment
Defines the compound division assignment operator for a vector and a scalar in F#.
Public operatorStatic memberDotDivide
Defines the element-wise division operator for vectors in F#.
Public operatorStatic memberDotDivideAssignment
Defines the element-wise division compound assignment operator for vectors in F#.
Public operatorStatic memberDotEquals(T, VectorT)
Checks if the elements of one vector are equal to a constant.
Public operatorStatic memberDotEquals(VectorT, T)
Checks if the elements of one vector are equal to a constant.
Public operatorStatic memberDotEquals(VectorT, VectorT)
Checks if the elements of one vector are equal to the corresponding elements of another vector.
Public operatorStatic memberDotGreater(T, VectorT)
Checks if the elements of one vector are greater than a constant.
Public operatorStatic memberDotGreater(VectorT, T)
Checks if the elements of one vector are greater than a constant.
Public operatorStatic memberDotGreater(VectorT, VectorT)
Checks if the elements of one vector are greater than the corresponding elements of another vector.
Public operatorStatic memberDotGreaterEquals(T, VectorT)
Checks if the elements of one vector are greater than or equal to a constant.
Public operatorStatic memberDotGreaterEquals(VectorT, T)
Checks if the elements of one vector are greater than or equal to a constant.
Public operatorStatic memberDotGreaterEquals(VectorT, VectorT)
Checks if the elements of one vector are greater than or equal to the corresponding elements of another vector.
Public operatorStatic memberDotLess(T, VectorT)
Checks if the elements of one vector are less than a constant.
Public operatorStatic memberDotLess(VectorT, T)
Checks if the elements of one vector are less than a constant.
Public operatorStatic memberDotLess(VectorT, VectorT)
Checks if the elements of one vector are less than the corresponding elements of another vector.
Public operatorStatic memberDotLessEquals(T, VectorT)
Checks if the elements of one vector are less than or equal to a constant.
Public operatorStatic memberDotLessEquals(VectorT, T)
Checks if the elements of one vector are less than or equal to a constant.
Public operatorStatic memberDotLessEquals(VectorT, VectorT)
Checks if the elements of one vector are less than or equal to the corresponding elements of another vector.
Public operatorStatic memberDotLessGreater(T, VectorT)
Checks if the elements of one vector are not equal to a constant.
Public operatorStatic memberDotLessGreater(VectorT, T)
Checks if the elements of one vector are not equal to a constant.
Public operatorStatic memberDotLessGreater(VectorT, VectorT)
Checks if the elements of one vector are not equal to the corresponding elements of another vector.
Public operatorStatic memberDotMultiply
Defines the element-wise multiplication operator for vectors in F#.
Public operatorStatic memberDotMultiplyAssignment
Defines the element-wise multiplication compound assignment operator for vectors in F#.
Public operatorStatic memberDotMultiplyMultiply(VectorT, T)
Defines the element-wise exponentiation operator for matrices in F#.
Public operatorStatic memberDotMultiplyMultiply(VectorT, VectorT)
Defines the componentwise exponentiation operator for matrices in F#.
Public operatorStatic memberDotMultiplyMultiply(VectorT, VectorInt32)
Defines the componentwise exponentiation operator for matrices in F#.
Public operatorStatic memberDotMultiplyMultiply(VectorT, Int32)
Defines the componentwise exponentiation operator for matrices in F#.
Public operatorStatic memberEquality
Returns a value indicating whether two instances of vector are equal.
Public operatorStatic member(T to VectorT)
Implicitly converts an array of T to a VectorT.
Public operatorStatic memberInequality
Returns a value indicating whether two instances of vector are not equal.
Public operatorStatic memberMultiply(T, VectorT)
Multiplies a vector by a constant.
Public operatorStatic memberMultiply(VectorT, T)
Multiplies a vector by a constant.
Public operatorStatic memberMultiplyAssignment
Defines the compound multiplication assignment operator for a vector and a scalar in F#.
Public operatorStatic memberSubtraction(T, VectorT)
Subtracts a vector from a constant.
Public operatorStatic memberSubtraction(VectorT, T)
Subtracts a constant from a vector.
Public operatorStatic memberSubtraction(VectorT, VectorT)
Subtracts two vectors.
Public operatorStatic memberSubtractionAssignment(VectorT, T)
Defines the compound subtraction assignment operator for a vector and a scalar in F#.
Public operatorStatic memberSubtractionAssignment(VectorT, VectorT)
Defines the compound subtraction assignment operator for vectors in F#.
Public operatorStatic memberUnaryNegation
Negates a vector.
Top
Extension Methods

  NameDescription
Public Extension MethodAbsT
Returns a vector whose elements are the absolute values of the components of another vector.
(Defined by Vector.)
Public Extension MethodAbsIntoT
Computes the absolute values of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAbsoluteMaxTOverloaded.
Returns the value of the element in this vector that has the largest absolute value.
(Defined by Vector.)
Public Extension MethodAbsoluteMaxT(Int32)Overloaded.
Returns the value of the element in this vector that has the largest absolute value.
(Defined by Vector.)
Public Extension MethodAbsoluteMinTOverloaded.
Returns the value of the element in this vector that has the smallest absolute value.
(Defined by Vector.)
Public Extension MethodAbsoluteMinT(Int32)Overloaded.
Returns the value of the element in this vector that has the smallest absolute value.
(Defined by Vector.)
Public Extension MethodAcosT
Computes the inverse cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAcoshT
Computes the inverse hyperbolic cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAcoshIntoT
Computes the inverse hyperbolic cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAcosIntoT
Computes the inverse cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAddIntoT
Adds two vectors.
(Defined by Vector.)
Public Extension MethodAddProductT(LinearOperatorT, VectorT)Overloaded.
Adds the product of a matrix and a vector to a vector.
(Defined by Vector.)
Public Extension MethodAddProductT(LinearOperatorT, TransposeOperation, VectorT)Overloaded.
Adds the product of a matrix and a vector to a vector.
(Defined by Vector.)
Public Extension MethodAddProductIntoT
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector.)
Public Extension MethodAddScaledIntoT
Adds two vectors.
(Defined by Vector.)
Public Extension MethodAddScaledProductT(T, LinearOperatorT, VectorT)Overloaded.
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector.)
Public Extension MethodAddScaledProductT(T, LinearOperatorT, TransposeOperation, VectorT)Overloaded.
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector.)
Public Extension MethodAddScaledProductIntoT
Adds the scaled product of a matrix and a vector to a vector.
(Defined by Vector.)
Public Extension MethodAggregateT(FuncT, T, T)Overloaded.
Applies an accumulator function over the elements of a vector.
(Defined by LinqExtensions.)
Public Extension MethodAggregateT, TAccumulate(TAccumulate, FuncTAccumulate, T, TAccumulate)Overloaded.
Applies an accumulator function over the elements of a vector.
(Defined by LinqExtensions.)
Public Extension MethodAggregateT, TAccumulate, TResult(TAccumulate, FuncTAccumulate, T, TAccumulate, FuncTAccumulate, TResult)Overloaded.
Aggregates the elements of a vector using the specified accumulator and seed value.
(Defined by LinqExtensions.)
Public Extension MethodAllT
Returns whether all values in a vector satisfy the specified predicate.
(Defined by Vector.)
Public Extension MethodAngleT
Returns the angle between two vectors.
(Defined by Vector.)
Public Extension MethodAnyT
Returns whether at least one value in a vector satisfies a predicate.
(Defined by Vector.)
Public Extension MethodAsinT
Computes the inverse sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAsinhT
Computes the inverse hyperbolic sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAsinhIntoT
Computes the inverse hyperbolic sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAsinIntoT
Computes the inverse sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAtanT
Computes the inverse tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAtan2T
Computes the four-quadrant inverse tangent of the corresponding elements of two matrices.
(Defined by Vector.)
Public Extension MethodAtan2IntoT
Computes the four-quadrant inverse tangent of the corresponding elements of two matrices.
(Defined by Vector.)
Public Extension MethodAtanhT
Computes the inverse hyperbolic tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAtanhIntoT
Computes the inverse hyperbolic tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodAtanIntoT
Computes the inverse tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodBinT(IntervalIndexT)Overloaded.
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector.)
Public Extension MethodBinT(IntervalIndexT)Overloaded.
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector.)
Public Extension MethodBinT(IListT, SpecialBins)Overloaded.
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector.)
Public Extension MethodBinT(IListT, SpecialBins)Overloaded.
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector.)
Public Extension MethodBinT(Int32, SpecialBins)Overloaded.
Sorts values into bins and returns the result as a categorical vector.
(Defined by Vector.)
Public Extension MethodCeilingT
Returns a vector whose elements are the components of another vector rounded up to the nearest integer.
(Defined by Vector.)
Public Extension MethodCeilingIntoT
Computes the smallest integers greater than the elements of a vector.
(Defined by Vector.)
Public Extension MethodCentralMomentT
Returns the specified central moment of the elements of a vector.
(Defined by Stats.)
Public Extension MethodClipT
Returns a vector whose elements are the components of a vector constrained to be within the specified interval.
(Defined by Vector.)
Public Extension MethodClipIntoT
Returns a vector whose elements are the components of a vector constrained to be within the specified interval.
(Defined by Vector.)
Public Extension MethodConcatT
Concatenates two vectors.
(Defined by LinqExtensions.)
Public Extension MethodConjugateT
Returns the conjugate of a vector.
(Defined by Vector.)
Public Extension MethodConjugateIntoT
Conjugates the elements of a vector.
(Defined by Vector.)
Public Extension MethodCosT
Computes the cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodCoshT
Computes the hyperbolic cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodCoshIntoT
Computes the hyperbolic cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodCosIntoT
Computes the cosine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodCreateHistogramT
Returns a histogram of a vector using the specified bin arrangement.
(Defined by Histogram.)
Public Extension MethodCrossProductT
Returns the cross product of two 3D vectors.
(Defined by Vector.)
Public Extension MethodDifferenceT
Computes the forward or backward difference of a vector.
(Defined by Vector.)
Public Extension MethodDifferenceIntoT
Computes the forward or backward difference of a vector.
(Defined by Vector.)
Public Extension MethodDotProductT
Returns the dot product of two vectors.
(Defined by Vector.)
Public Extension MethodElementwisePowT(Int32)Overloaded.
Raises the element of a vector to a constant power.
(Defined by Vector.)
Public Extension MethodElementwisePowT(VectorT)Overloaded.
Raises the elements of a vector to a power from the corresponding elements in another vector.
(Defined by Vector.)
Public Extension MethodElementwisePowT(VectorInt32)Overloaded.
Raises the elements of a vector to an integer power from the corresponding elements in another vector.
(Defined by Vector.)
Public Extension MethodElementwisePowT(T)Overloaded.
Raises the element of a vector to a constant power.
(Defined by Vector.)
Public Extension MethodElementwisePowIntoT(Int32, VectorT)Overloaded.
Raises the element of a vector to a constant power.
(Defined by Vector.)
Public Extension MethodElementwisePowIntoT(VectorT, VectorT)Overloaded.
Raises the elements of a vector to a power from the corresponding elements in another vector.
(Defined by Vector.)
Public Extension MethodElementwisePowIntoT(VectorInt32, VectorT)Overloaded.
Raises the elements of a vector to an integer power from the corresponding elements in another vector.
(Defined by Vector.)
Public Extension MethodElementwisePowIntoT(T, VectorT)Overloaded.
Raises the element of a vector to a constant power.
(Defined by Vector.)
Public Extension MethodExpT
Computes the exponential of the elements of a vector.
(Defined by Vector.)
Public Extension MethodExpIntoT
Computes the exponential of the elements of a vector.
(Defined by Vector.)
Public Extension MethodFloorT
Returns a vector whose elements are the components of another vector rounded down to the nearest integer.
(Defined by Vector.)
Public Extension MethodFloorIntoT
Computes the largest integers smaller than the elements of a vector.
(Defined by Vector.)
Public Extension MethodGroupTOverloaded.
Returns a grouping by the unique elements in a list.
(Defined by Grouping.)
Public Extension MethodGroupTOverloaded.
Returns a grouping by the unique elements in a sequence.
(Defined by Grouping.)
Public Extension MethodGroupT(IEqualityComparerT)Overloaded.
Returns a grouping by the unique elements in a list using the specified comparer to determine equality.
(Defined by Grouping.)
Public Extension MethodGroupT(IEqualityComparerT)Overloaded.
Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping.)
Public Extension MethodGroupByT, TKey(FuncT, TKey)Overloaded.
Groups the elements of a vector according to the specified key selector function.
(Defined by LinqExtensions.)
Public Extension MethodGroupByT, TKey(FuncT, TKey, IEqualityComparerTKey)Overloaded.
Groups the elements of a vector according to the specified key selector function and key comparer.
(Defined by LinqExtensions.)
Public Extension MethodGroupByT, TKey, TElement(FuncT, TKey, FuncT, TElement)Overloaded.
Groups the elements of a vector according to the specified key selector and element selector functions.
(Defined by LinqExtensions.)
Public Extension MethodGroupByT, TKey, TResult(FuncT, TKey, FuncTKey, IEnumerableT, TResult)Overloaded.
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.)
Public Extension MethodGroupByT, TKey, TElement(FuncT, TKey, FuncT, TElement, IEqualityComparerTKey)Overloaded.
Groups the elements of a vector according to the specified key selector and element selector functions, and key comparer.
(Defined by LinqExtensions.)
Public Extension MethodGroupByT, TKey, TResult(FuncT, TKey, FuncTKey, IEnumerableT, TResult, IEqualityComparerTKey)Overloaded.
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.)
Public Extension MethodGroupByT, TKey, TElement, TResult(FuncT, TKey, FuncT, TElement, FuncTKey, IEnumerableTElement, TResult)Overloaded.
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.)
Public Extension MethodGroupByT, TKey, TElement, TResult(FuncT, TKey, FuncT, TElement, FuncTKey, IEnumerableTElement, TResult, IEqualityComparerTKey)Overloaded.
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.)
Public Extension MethodHypotT
Computes the square root of the sum of the squared corresponding elements of two matrices.
(Defined by Vector.)
Public Extension MethodHypotIntoT
Computes the square root of the sum of the squared corresponding elements of two matrices.
(Defined by Vector.)
Public Extension MethodInfinityNormT
Returns the infinity norm of a vector.
(Defined by VectorExtensions.)
Public Extension MethodInterQuartileRangeT
Returns the inter-quartile range of the elements of a numerical variable.
(Defined by Stats.)
Public Extension MethodJoinT
Joins two vectors.
(Defined by Vector.)
Public Extension MethodKurtosisT
Returns the kurtosis supplement of the elements of an array.
(Defined by Stats.)
Public Extension MethodLagTOverloaded.
Returns a vector whose observations are moved ahead by one observation.
(Defined by VectorExtensions.)
Public Extension MethodLagT(Int32)Overloaded.
Returns a vector whose observations are moved ahead by the specified number of observations.
(Defined by VectorExtensions.)
Public Extension MethodLagT(Int32, T)Overloaded.
Returns a vector whose observations are moved ahead by the specified number of observations.
(Defined by VectorExtensions.)
Public Extension MethodLogTOverloaded.
Returns a vector whose elements are the logarithms of the components of another vector.
(Defined by Vector.)
Public Extension MethodLogT(T)Overloaded.
Returns a vector whose elements are the logarithms of the components of another vector.
(Defined by Vector.)
Public Extension MethodLog10T
Returns a vector whose elements are the base 10 logarithms of the components of another vector.
(Defined by Vector.)
Public Extension MethodLog10IntoT
Computes the base 10 logarithm of the elements of a vector.
(Defined by Vector.)
Public Extension MethodLogIntoT(VectorT)Overloaded.
Computes the logarithm of the elements of a vector.
(Defined by Vector.)
Public Extension MethodLogIntoT(T, VectorT)Overloaded.
Computes the logarithm of the elements of a vector.
(Defined by Vector.)
Public Extension MethodMakeDistributedT
Returns a distributed version of a vector.
(Defined by DistributedExtensions.)
Public Extension MethodMaxTOverloaded.
Returns the value of the largest component of a vector.
(Defined by Vector.)
Public Extension MethodMaxT(VectorT)Overloaded.
Returns a vector whose elements are the maximums of the components of two vectors.
(Defined by Vector.)
Public Extension MethodMaxT(T)Overloaded.
Returns a vector whose elements are the maximum of the components of a vector and a real number.
(Defined by Vector.)
Public Extension MethodMaxIntoT(VectorT, VectorT)Overloaded.
Returns a vector whose elements are the maximums of the components of two vectors.
(Defined by Vector.)
Public Extension MethodMaxIntoT(T, VectorT)Overloaded.
Returns a vector whose elements are the maximum of the components of a vector and a real number.
(Defined by Vector.)
Public Extension MethodMeanT
Returns the mean of the elements of a vector.
(Defined by Stats.)
Public Extension MethodMedianT
Returns the median of the elements of a vector.
(Defined by Stats.)
Public Extension MethodMinTOverloaded.
Returns the value of the smallest component of a vector.
(Defined by Vector.)
Public Extension MethodMinT(VectorT)Overloaded.
Returns a vector whose elements are the minimums of the components of two vectors.
(Defined by Vector.)
Public Extension MethodMinT(T)Overloaded.
Returns a vector whose elements are the minimum of the components of a vector and a real number.
(Defined by Vector.)
Public Extension MethodMinIntoT(VectorT, VectorT)Overloaded.
Returns a vector whose elements are the minimums of the components of two vectors.
(Defined by Vector.)
Public Extension MethodMinIntoT(T, VectorT)Overloaded.
Returns a vector whose elements are the minimum of the components of a vector and a real number.
(Defined by Vector.)
Public Extension MethodMomentT
Returns the specified raw moment of the elements of an array.
(Defined by Stats.)
Public Extension MethodMultiplyIntoT
Multiplies a vector by a constant.
(Defined by Vector.)
Public Extension MethodNegateIntoT
Negates a vector.
(Defined by Vector.)
Public Extension MethodOneNormT
Returns the one-norm of a vector.
(Defined by VectorExtensions.)
Public Extension MethodPercentileT
Gets the specified percentile.
(Defined by Stats.)
Public Extension MethodPermuteT
Permutes a vector.
(Defined by Vector.)
Public Extension MethodPopulationKurtosisT
Returns the kurtosis supplement of the elements of an array.
(Defined by Stats.)
Public Extension MethodPopulationSkewnessT
Returns the skewness of the elements of an array.
(Defined by Stats.)
Public Extension MethodPopulationStandardDeviationT
Returns the standard deviation of the elements of a vector.
(Defined by Stats.)
Public Extension MethodPopulationVarianceT
Returns the variance of the elements of a vector.
(Defined by Stats.)
Public Extension MethodProductT
Returns the product of the components of a vector.
(Defined by Vector.)
Public Extension MethodProjectT
Returns the projection of one vector onto another.
(Defined by Vector.)
Public Extension MethodQuantileT
Gets the specified quantile.
(Defined by VectorExtensions.)
Public Extension MethodQuantilesT
Gets the specified quantile.
(Defined by VectorExtensions.)
Public Extension MethodRangeT
Returns the range of the elements of a numerical variable.
(Defined by Stats.)
Public Extension MethodReciprocalT
Returns a vector whose elements are the inverses (reciprocals) of the components of another vector.
(Defined by Vector.)
Public Extension MethodReciprocalIntoT
Computes the inverses (reciprocals) of the elements of a vector.
(Defined by Vector.)
Public Extension MethodRoundT(MidpointRounding)Overloaded.
Returns a vector whose elements are the components of another vector rounded to the nearest integer.
(Defined by Vector.)
Public Extension MethodRoundT(MidpointRounding)Overloaded.
Returns a vector whose elements are the components of another vector rounded to the nearest integer.
(Defined by Matrix.)
Public Extension MethodSelectT, TResult(FuncT, TResult)Overloaded.
Projects each element of a vector into a new form.
(Defined by LinqExtensions.)
Public Extension MethodSelectT, TResult(FuncT, Int32, TResult)Overloaded.
Projects each element of a vector into a new form by incorporating the elements index.
(Defined by LinqExtensions.)
Public Extension MethodSelectManyT, TResult(FuncT, IEnumerableTResult)Overloaded.
Projects each element of a vector to a vector and flattens the resulting vectors into one vector.
(Defined by LinqExtensions.)
Public Extension MethodSelectManyT, TResult(FuncT, Int32, IEnumerableTResult)Overloaded.
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.)
Public Extension MethodSelectManyT, TCollection, TResult(FuncT, IEnumerableTCollection, FuncT, TCollection, TResult)Overloaded.
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.)
Public Extension MethodSelectManyT, TCollection, TResult(FuncT, Int32, IEnumerableTCollection, FuncT, TCollection, TResult)Overloaded.
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.)
Public Extension MethodSinT
Computes the sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodSinhT
Computes the hyperbolic sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodSinhIntoT
Computes the hyperbolic sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodSinIntoT
Computes the sine of the elements of a vector.
(Defined by Vector.)
Public Extension MethodSkewnessT
Returns the skewness of the elements of an array.
(Defined by Stats.)
Public Extension MethodSortTOverloaded.
Sorts a vector in ascending order.
(Defined by Vector.)
Public Extension MethodSortT(SortOrder)Overloaded.
Sorts a vector in the specified order.
(Defined by Vector.)
Public Extension MethodSortT(SortOrder, Permutation)Overloaded.
Sorts a vector in the specified order and also returns the sorting permutation.
(Defined by Vector.)
Public Extension MethodSplitByT(ICategoricalVector)Overloaded.
Splits a vector according to the specified grouping.
(Defined by Vector.)
Public Extension MethodSplitByT(IGrouping)Overloaded.
Splits a vector according to the specified grouping.
(Defined by Vector.)
Public Extension MethodSqrtT
Computes the square root of the elements of a vector.
(Defined by Vector.)
Public Extension MethodSqrtIntoT
Computes the square root of the elements of a vector.
(Defined by Vector.)
Public Extension MethodSquaredDifferenceT
Returns the norm of the difference of two vectors.
(Defined by Vector.)
Public Extension MethodStandardDeviationT
Returns the standard deviation of the elements of a vector.
(Defined by Stats.)
Public Extension MethodSubtractIntoT(VectorT, VectorT)Overloaded.
Subtracts one vector from another.
(Defined by Vector.)
Public Extension MethodSubtractIntoT(T, VectorT)Overloaded.
Subtracts two vectors.
(Defined by Vector.)
Public Extension MethodSumTOverloaded.
Computes the sum of the sequence of values.
(Defined by ArrayMath.)
Public Extension MethodSumTOverloaded.
Returns the sum of the components of a vector.
(Defined by Vector.)
Public Extension MethodSumT, U(FuncT, U)Overloaded.
Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath.)
Public Extension MethodTanT
Computes the tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodTanhT
Computes the hyperbolic tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodTanhIntoT
Computes the hyperbolic tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodTanIntoT
Computes the tangent of the elements of a vector.
(Defined by Vector.)
Public Extension MethodToDataTableOverloaded.
Constructs a data table from a data frame.
(Defined by DataExtensions.)
Public Extension MethodToDataTable(String)Overloaded.
Constructs a data table from a data frame.
(Defined by DataExtensions.)
Public Extension MethodToDataTableC(IEnumerableC)Overloaded.
Constructs a data table from the specified columns a data frame.
(Defined by DataExtensions.)
Public Extension MethodToDataTableC(String, IEnumerableC)Overloaded.
Constructs a data table from the specified columns a data frame.
(Defined by DataExtensions.)
Public Extension MethodToJsonT
Returns a string containing a vector in JSON format.
(Defined by JsonFile.)
Public Extension MethodToLookupT, TKey(FuncT, TKey)Overloaded.
Creates a lookup from a vector according to the specified key selector function.
(Defined by LinqExtensions.)
Public Extension MethodToLookupT, TKey(FuncT, TKey, IEqualityComparerTKey)Overloaded.
Creates a lookup from a vector according to the specified key selector function and key comparer.
(Defined by LinqExtensions.)
Public Extension MethodToLookupT, TKey, TElement(FuncT, TKey, FuncT, TElement)Overloaded.
Creates a lookup from a vector according to the specified key selector and element selector functions.
(Defined by LinqExtensions.)
Public Extension MethodToLookupT, TKey, TElement(FuncT, TKey, FuncT, TElement, IEqualityComparerTKey)Overloaded.
Creates a lookup from a vector according to the specified key selector and element selector functions, and key comparer.
(Defined by LinqExtensions.)
Public Extension MethodTrimmedMeanT
Returns the trimmed mean of the elements of a numerical variable.
(Defined by Stats.)
Public Extension MethodTwoNormT
Returns the two-norm of a vector.
(Defined by VectorExtensions.)
Public Extension MethodUnstackR, 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.)
Public Extension MethodVarianceT
Returns the variance of the elements of a vector.
(Defined by Stats.)
Public Extension MethodWeightedMeanT
Returns the mean of the variable with observations weighted by the specified vector.
(Defined by Stats.)
Public Extension MethodWeightedStandardDeviationT
Returns the standard deviation of the variable with observations weighted by the specified vector.
(Defined by Stats.)
Public Extension MethodWhereT(FuncT, Boolean)Overloaded.
Filters the elements of a vector based on a predicate.
(Defined by LinqExtensions.)
Public Extension MethodWhereT(FuncT, Int32, Boolean)Overloaded.
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.)
Top
Remarks

A vector class represents a one-dimensional array of T precision floating-point numbers.

A vector class provides methods and properties for all the common operations on vectors, including norms, dot products, as well as retrieving extreme values from a vector.

Overloaded versions of the major arithmetic operators are provided for languages that support them. For languages that don't support operator overloading, equivalent methods are supplied.

To allow for greater efficiency, overloaded instance methods are available for many compound operations on vectors.

See Also

Reference

Extreme.Mathematics Namespace
Inheritance Hierarchy

SystemObject
  Extreme.MathematicsVectorT
    Extreme.MathematicsCategoricalVectorT
    Extreme.Mathematics.DistributedDistributedVectorT
    Extreme.Mathematics.LinearAlgebraBlockVectorT
    Extreme.Mathematics.LinearAlgebraComposedComplexVectorT
    Extreme.Mathematics.LinearAlgebraConstantVectorT
    Extreme.Mathematics.LinearAlgebraDenseVectorT
    Extreme.Mathematics.LinearAlgebraIndexedVectorT
    Extreme.Mathematics.LinearAlgebraSparseVectorT
    Extreme.Mathematics.SignalProcessingComplexConjugateSignalVectorT

Copyright (c) 2004-2021 ExoAnalytics Inc.

Send comments on this topic to support@extremeoptimization.com

Copyright © 2004-2021, Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual Studio.NET, and the Optimized for Visual Studio logo
are registered trademarks of Microsoft Corporation.