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
  • Methods
    • AbsCore Method
    • AbsInPlace Method
    • AbsoluteMaxIndex Method
    • AbsoluteMinIndex Method
    • AcosCore Method
    • AcoshCore Method
    • AcoshInPlace Method
    • AcosInPlace Method
    • Add Method Overloads
    • AddCore Method Overloads
    • AddInPlace Method Overloads
    • AddInto Method
    • AddProductInPlace Method Overloads
    • AddScaledAsLeftCore Method
    • AddScaledAsRightCore Method
    • AddScaledInPlace Method
    • AddScaledProductInPlace Method Overloads
    • Aggregate Method Overloads
    • AggregateBy Method Overloads
    • All Method
    • Angle Method
    • Any Method
    • AsCategorical Method Overloads
    • AsDenseVector Method
    • AsinCore Method
    • AsIndex Method
    • AsinhCore Method
    • AsinhInPlace Method
    • AsinInPlace Method
    • Atan2AsXCore Method
    • Atan2AsYCore Method
    • AtanCore Method
    • AtanhCore Method
    • AtanhInPlace Method
    • AtanInPlace Method
    • Broadcast Method
    • BroadcastInto Method
    • By(K) Method
    • Cast(U) Method
    • CastInto(U) Method
    • CeilingCore Method
    • CeilingInPlace Method
    • Clip Method
    • Clone Method Overloads
    • CloneData Method
    • Conjugate Method Overloads
    • ConjugateCore Method
    • ConjugateDotProduct Method
    • ConjugateInPlace Method
    • CopyTo Method Overloads
    • CopyToOrClone Method
    • CosCore Method
    • CoshCore Method
    • CoshInPlace Method
    • CosInPlace Method
    • CrossProduct Method
    • CumulativeProduct Method
    • CumulativeProductInPlace Method
    • CumulativeProductInto Method
    • CumulativeSum Method
    • CumulativeSumInPlace Method
    • CumulativeSumInto Method
    • DifferenceCore Method
    • Dispose Method Overloads
    • Divide Method
    • DivideInPlace Method
    • DotProduct Method
    • ElementwiseConjugateMultiplyAsLeftCore Method
    • ElementwiseConjugateMultiplyAsRightCore Method
    • ElementwiseDivideAsLeftCore Method
    • ElementwiseDivideAsRightCore Method
    • ElementwiseDivideInPlace Method
    • ElementwiseMultiplyCore Method
    • ElementwiseMultiplyInPlace Method
    • ElementwisePowAsLeftCore Method Overloads
    • ElementwisePowAsRightCore Method
    • ElementwisePowCore Method Overloads
    • ElementwisePowInPlace Method Overloads
    • EnsureWritable Method Overloads
    • Equals Method Overloads
    • EqualToCore Method Overloads
    • ExpCore Method
    • ExpInPlace Method
    • Find Method
    • FloorCore Method
    • FloorInPlace Method
    • Get Method Overloads
    • GetEnumerator Method
    • GetHashCode Method Overloads
    • GetNearest(K) Method
    • GetNearestValues(K) Method
    • GetObjectData Method
    • GetSlice Method Overloads
    • GetSliceCore Method
    • GetSubvector Method Overloads
    • GetValue Method Overloads
    • GetValues Method Overloads
    • GreaterThanCore Method Overloads
    • GreaterThanOrEqualToCore Method Overloads
    • HypotCore Method
    • IsElementWritable Method
    • IsMissing Method
    • KeysAndValues(K) Method
    • LessThanCore Method Overloads
    • LessThanOrEqualToCore Method Overloads
    • LessThanOrEqualToInto Method
    • Log10Core Method
    • Log10InPlace Method
    • LogCore Method Overloads
    • LogInPlace Method Overloads
    • MakeImmutable Method
    • Map Method Overloads
    • MapAsFirstCore(U, V) Method
    • MapAsSecondCore(U, V) Method
    • MapCore Method Overloads
    • MapInPlace Method Overloads
    • MapInto Method Overloads
    • MapWhere Method Overloads
    • MapWhereCore Method Overloads
    • Max Method Overloads
    • MaxCore Method Overloads
    • MaxIndex Method
    • MaxInPlace Method
    • Min Method Overloads
    • MinCore Method Overloads
    • MinIndex Method
    • MinInPlace Method
    • MultiplyCore Method
    • MultiplyInPlace Method Overloads
    • NegateInPlace Method
    • Norm Method Overloads
    • Normalize Method
    • NormInternal Method Overloads
    • NormSquared Method
    • NotEqualToCore Method Overloads
    • OneNorm Method
    • PermuteInPlace Method Overloads
    • Product Method
    • Project Method
    • Protect Method
    • ProtectInPlace Method
    • ReciprocalCore Method
    • ReciprocalInPlace Method
    • RemoveMissingValues Method
    • ReplaceMissingValues Method Overloads
    • ReplaceMissingValuesInPlace Method Overloads
    • ReplaceMissingValuesInto Method Overloads
    • ReplaceValue Method
    • ReplaceValueInPlace Method
    • ReplaceValueInto Method
    • Resample Method Overloads
    • Reshape Method
    • SetMissing Method
    • SetToZero Method
    • SetValue Method Overloads
    • SetValues Method Overloads
    • ShallowCopy Method
    • SinCore Method
    • SinhCore Method
    • SinhInPlace Method
    • SinInPlace Method
    • SortInPlace Method Overloads
    • SqrtCore Method
    • SqrtInPlace Method
    • Subtract Method
    • SubtractAsLeftCore Method Overloads
    • SubtractAsRightCore Method Overloads
    • SubtractInPlace Method Overloads
    • SubtractProductInPlace Method
    • Sum Method
    • Summarize Method Overloads
    • SwapElements Method
    • TanCore Method
    • TanhCore Method
    • TanhInPlace Method
    • TanInPlace Method
    • ToArray Method
    • ToColumnMatrix Method
    • ToDataFrame Method Overloads
    • ToDenseVector Method
    • Top Method
    • ToRowMatrix Method
    • ToSparseVector Method
    • ToString Method Overloads
    • ToStringInternal Method
    • TryCast(U) Method
    • TryEnsureWritable Method Overloads
    • TryGet(K) Method
    • Unstack(R, C) Method
    • WeightedNorm Method
    • WeightedNormSquared Method
    • Window Method Overloads
    • WithName(C) Method
  • SortInPlace Method Overloads
    • SortInPlace Method
    • SortInPlace Method (SortOrder)
    • SortInPlace Method (SortOrder, Permutation)
  • SortInPlace Method (SortOrder, Permutation)

VectorTSortInPlace Method (SortOrder, Permutation)

Extreme Optimization Numerical Libraries for .NET Professional
Sorts the vector in the specified order.

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

C#
VB
C++
F#
Copy
public virtual Vector<T> SortInPlace(
	SortOrder sortOrder,
	out Permutation permutation
)
Public Overridable Function SortInPlace ( 
	sortOrder As SortOrder,
	<OutAttribute> ByRef permutation As Permutation
) As Vector(Of T)
public:
virtual Vector<T>^ SortInPlace(
	SortOrder sortOrder, 
	[OutAttribute] Permutation^% permutation
)
abstract SortInPlace : 
        sortOrder : SortOrder * 
        permutation : Permutation byref -> Vector<'T> 
override SortInPlace : 
        sortOrder : SortOrder * 
        permutation : Permutation byref -> Vector<'T> 

Parameters

sortOrder
Type: Extreme.DataAnalysisSortOrder
A SortOrder value that specifies whether the elements should be sorted in ascending or descending order.
permutation
Type: Extreme.MathematicsPermutation
On return, the permutation that sorts the elements of the vector.

Return Value

Type: VectorT
See Also

Reference

VectorT Class
SortInPlace 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.