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
  • Matrix Class
    • Methods
  • Methods
    • Abs(T) Method
    • AbsInto(T) Method
    • Acos(T) Method
    • Acosh(T) Method
    • AcoshInto(T) Method
    • AcosInto(T) Method
    • Add Method Overloads
    • AddInto Method Overloads
    • AddProduct(T) Method
    • AddProductInto(T) Method
    • AddScaled Method Overloads
    • AddScaledInto Method Overloads
    • AddScaledProduct Method Overloads
    • AddScaledProductInto Method Overloads
    • Align(T, U) Method
    • AlignColumns Method Overloads
    • AlignRows 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
    • Ceiling(T) Method
    • CeilingInto(T) Method
    • Conjugate(T) Method
    • ConjugateInto(T) Method
    • Cos(T) Method
    • Cosh(T) Method
    • CoshInto(T) Method
    • CosInto(T) Method
    • Create Method Overloads
    • CreateBanded Method Overloads
    • CreateConstant(T) Method
    • CreateDiagonal Method Overloads
    • CreateHermitian Method Overloads
    • CreateLowerBanded Method Overloads
    • CreateLowerTriangular Method Overloads
    • CreateRandom Method Overloads
    • CreateSparse Method Overloads
    • CreateSparseSymmetric Method Overloads
    • CreateSymmetric Method Overloads
    • CreateSymmetricBanded(T) Method
    • CreateUpperBanded Method Overloads
    • CreateUpperTriangular Method Overloads
    • Divide(T) Method
    • ElementwiseConjugateMultiply(T) Method
    • ElementwiseConjugateMultiplyInto(T) Method
    • ElementwiseDivide Method Overloads
    • ElementwiseDivideInto Method Overloads
    • ElementwiseMultiply Method Overloads
    • ElementwiseMultiplyInto Method Overloads
    • ElementwisePow Method Overloads
    • ElementwisePowInto Method Overloads
    • EqualTo Method Overloads
    • EqualToInto Method Overloads
    • Exp(T) Method
    • ExpInto(T) Method
    • ExtractHermitian Method Overloads
    • ExtractLowerTriangle Method Overloads
    • ExtractSymmetric Method Overloads
    • ExtractUpperTriangle Method Overloads
    • Floor(T) Method
    • FloorInto(T) Method
    • FromColumns(T) Method
    • FromRows(T) Method
    • GreaterThan Method Overloads
    • GreaterThanInto Method Overloads
    • GreaterThanOrEqualTo Method Overloads
    • GreaterThanOrEqualToInto Method Overloads
    • Hypot(T) Method
    • HypotInto(T) Method
    • JoinHorizontal(T) Method
    • JoinVertical(T) Method
    • LessThan Method Overloads
    • LessThanInto Method Overloads
    • LessThanOrEqualTo Method Overloads
    • LessThanOrEqualToInto Method Overloads
    • Log Method Overloads
    • Log10(T) Method
    • Log10Into(T) Method
    • LogInto Method Overloads
    • Map Method Overloads
    • MapInto Method Overloads
    • Max Method Overloads
    • MaxInto Method Overloads
    • Min Method Overloads
    • MinInto Method Overloads
    • Multiply Method Overloads
    • MultiplyInto Method Overloads
    • Negate(T) Method
    • NegateInto(T) Method
    • NotEqualTo Method Overloads
    • NotEqualToInto Method Overloads
    • Reciprocal(T) Method
    • ReciprocalInto(T) Method
    • Round(T) Method
    • ScaleColumns(T) Method
    • ScaleColumnsInto(T) Method
    • ScaleRows(T) Method
    • ScaleRowsInto(T) Method
    • Sin(T) Method
    • Sinh(T) Method
    • SinhInto(T) Method
    • SinInto(T) Method
    • Sqrt(T) Method
    • SqrtInto(T) Method
    • Subtract Method Overloads
    • SubtractInto Method Overloads
    • SubtractProduct(T) Method
    • SubtractProductInto(T) Method
    • Tan(T) Method
    • Tanh(T) Method
    • TanhInto(T) Method
    • TanInto(T) Method
    • UnscaleColumns(T) Method
    • UnscaleColumnsInto(T) Method
    • UnscaleRows(T) Method
    • UnscaleRowsInto(T) Method
  • Align(T, U) Method

MatrixAlignT, U Method

Extreme Optimization Numerical Libraries for .NET Professional
Aligns a matrix and a vector on their indexes along the specified dimension.

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

C#
VB
C++
F#
Copy
public static IIndex Align<T, U>(
	ref Matrix<T> matrix,
	ref Vector<U> vector,
	Dimension axis,
	JoinType joinType
)
Public Shared Function Align(Of T, U) ( 
	ByRef matrix As Matrix(Of T),
	ByRef vector As Vector(Of U),
	axis As Dimension,
	joinType As JoinType
) As IIndex
public:
generic<typename T, typename U>
static IIndex^ Align(
	Matrix<T>^% matrix, 
	Vector<U>^% vector, 
	Dimension axis, 
	JoinType joinType
)
static member Align : 
        matrix : Matrix<'T> byref * 
        vector : Vector<'U> byref * 
        axis : Dimension * 
        joinType : JoinType -> IIndex 

Parameters

matrix
Type: Extreme.MathematicsMatrixT
The matrix to align. On return the matrix with columns aligned to the combined index.
vector
Type: Extreme.MathematicsVectorU
The vector to align. On return the vector aligned to the combined index.
axis
Type: Extreme.MathematicsDimension
joinType
Type: Extreme.DataAnalysisJoinType
The type of join to use to join the indexes.

Type Parameters

T
The element type of the matrix1 matrix.
U
The element type of the matrix2 matrix.

Return Value

Type: IIndex
The combined index.
Remarks

The type specified by AutoAlignJoinType is used to join the indexes.
See Also

Reference

Matrix Class
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.