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 Class
    • Methods
  • Methods
    • Abs(T) Method
    • AbsInto(T) Method
    • AbsoluteMax Method Overloads
    • AbsoluteMaxIndex(T) Method
    • AbsoluteMin Method Overloads
    • AbsoluteMinIndex(T) Method
    • Acos(T) Method
    • Acosh(T) Method
    • AcoshInto(T) Method
    • AcosInto(T) Method
    • Add Method Overloads
    • AddInto Method Overloads
    • AddProduct Method Overloads
    • AddProductInto(T) Method
    • AddScaled(T) Method
    • AddScaledInto(T) Method
    • AddScaledProduct Method Overloads
    • AddScaledProductInto(T) Method
    • Align Method Overloads
    • All Method Overloads
    • And Method
    • Angle(T) Method
    • Any Method Overloads
    • Asin(T) Method
    • Asinh(T) Method
    • AsinhInto(T) Method
    • AsinInto(T) Method
    • Atan(T) Method
    • Atan2(T) Method
    • Atan2Into(T) Method
    • Atanh(T) Method
    • AtanhInto(T) Method
    • AtanInto(T) Method
    • Bin Method Overloads
    • BrayCurtisDistance(T) Method
    • CanberraDistance(T) Method
    • Ceiling(T) Method
    • CeilingInto(T) Method
    • Clip(T) Method
    • ClipInto(T) Method
    • Conjugate(T) Method
    • ConjugateInto(T) Method
    • Convolution Method Overloads
    • CorrelationDistance(T) Method
    • Cos(T) Method
    • Cosh(T) Method
    • CoshInto(T) Method
    • CosineDistance(T) Method
    • CosInto(T) Method
    • CountFalse Method
    • CountTrue Method
    • Create Method Overloads
    • CreateBanded Method Overloads
    • CreateCategorical Method Overloads
    • CreateConstant(T) Method
    • CreateIndexed Method Overloads
    • CreateLogarithmicRange Method Overloads
    • CreateRandom Method Overloads
    • CreateRandomNormal Method Overloads
    • CreateRange Method Overloads
    • CreateSparse Method Overloads
    • CreateSparseUnitVector(T) Method
    • CrossProduct(T) Method
    • Difference(T) Method
    • DifferenceInto(T) Method
    • Divide(T) Method
    • DotProduct(T) Method
    • ElementwiseConjugateMultiply(T) Method
    • ElementwiseConjugateMultiplyInto(T) Method
    • ElementwiseDivide Method Overloads
    • ElementwiseDivideInto Method Overloads
    • ElementwiseMultiply(T) Method
    • ElementwiseMultiplyInto(T) Method
    • ElementwisePow Method Overloads
    • ElementwisePowInto Method Overloads
    • EqualTo Method Overloads
    • EqualToInto Method Overloads
    • EuclideanDistance(T) Method
    • Exp(T) Method
    • ExpInto(T) Method
    • Floor(T) Method
    • FloorInto(T) Method
    • FourierTransform Method Overloads
    • GreaterThan Method Overloads
    • GreaterThanInto Method Overloads
    • GreaterThanOrEqualTo Method Overloads
    • GreaterThanOrEqualToInto Method Overloads
    • Hypot(T) Method
    • HypotInto(T) Method
    • InverseComplexFourierTransform(T) Method
    • InverseFourierTransform(T) Method
    • Join Method Overloads
    • LessThan Method Overloads
    • LessThanInto Method Overloads
    • LessThanOrEqualTo Method Overloads
    • LessThanOrEqualToInto Method Overloads
    • Log Method Overloads
    • Log10(T) Method
    • Log10Into(T) Method
    • LogInto Method Overloads
    • ManhattanDistance(T) Method
    • Map Method Overloads
    • MapInto Method Overloads
    • Max Method Overloads
    • MaximumDistance(T) Method
    • MaxIndex(T) Method
    • MaxInto Method Overloads
    • Min Method Overloads
    • MinIndex(T) Method
    • MinInto Method Overloads
    • MinkowskiMeasure(T) Method
    • Multiply Method Overloads
    • MultiplyInto Method Overloads
    • Negate(T) Method
    • NegateInto(T) Method
    • Not Method
    • NotEqualTo Method Overloads
    • NotEqualToInto Method Overloads
    • Or Method
    • Permute(T) Method
    • Product(T) Method
    • Project(T) Method
    • Reciprocal(T) Method
    • ReciprocalInto(T) Method
    • Round(T) Method
    • Sin(T) Method
    • Sinh(T) Method
    • SinhInto(T) Method
    • SinInto(T) Method
    • Sort Method Overloads
    • SplitBy Method Overloads
    • Sqrt(T) Method
    • SqrtInto(T) Method
    • SquaredDifference(T) Method
    • SquaredEuclideanDistance(T) Method
    • Subtract Method Overloads
    • SubtractInto Method Overloads
    • Sum(T) Method
    • Swap(T) Method
    • Tan(T) Method
    • Tanh(T) Method
    • TanhInto(T) Method
    • TanInto(T) Method
    • Xor Method
  • Create Method Overloads
    • Create(T) Method (T[])
    • Create(T, K) Method (IDictionary(K, T))
    • Create(T) Method (Int32)
    • Create(T, K) Method (IDictionary(K, T), IList(K))
    • Create(T) Method (IList(T), ArrayMutability)
    • Create(T, K) Method (Int32, Index(K))
    • Create(T) Method (T[], Boolean, ArrayMutability)
    • Create(T, K) Method (IList(T), IList(K), ArrayMutability)
    • Create(T) Method (Int32, ArraySlice(T), ArrayMutability)
    • Create(T) Method (Int32, Func(Int32, T), ArrayMutability)
    • Create(T) Method (Int32, T[], Boolean, ArrayMutability)
    • Create(T) Method (Int32, T[], Int32, Int32, ArrayMutability)
  • Create(T, K) Method (Int32, Index(K))

VectorCreateT, K Method (Int32, IndexK)

Extreme Optimization Numerical Libraries for .NET Professional
Creates an indexed vector of the specified length with the specified index.

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

C#
VB
C++
F#
Copy
public static Vector<T> Create<T, K>(
	int length,
	Index<K> index
)
Public Shared Function Create(Of T, K) ( 
	length As Integer,
	index As Index(Of K)
) As Vector(Of T)
public:
generic<typename T, typename K>
static Vector<T>^ Create(
	int length, 
	Index<K>^ index
)
static member Create : 
        length : int * 
        index : Index<'K> -> Vector<'T> 

Parameters

length
Type: SystemInt32
The length of the new vector.
index
Type: Extreme.DataAnalysisIndexK
An index of values of type K.

Type Parameters

T
The element type of the vector.
K
The type of the keys of the index.

Return Value

Type: VectorT
A vector of the specified lenght.
See Also

Reference

Vector Class
Create Overload
Extreme.Mathematics Namespace

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.