.NET Matrix Library
GetPivots Method
See Also  Send Feedback



Gets an array of integers containing the pivot indices.

Syntax

Visual Basic (Declaration) 
Public Function GetPivots() As Integer()
Visual Basic (Usage)Copy Code
Dim instance As LU
Dim value() As Integer
 
value = instance.GetPivots()
C# 
public int[] GetPivots()
C++/CLI 
public:
array<int>^ GetPivots(); 

Return Value

An array of type integer.

Remarks

If Pivots()  is the array returned from GetPivots method, then Pivots(i) = k denotes that during factorization row k has moved to row i.

The array that is returned from GetPivots property can be used as a parameter in ReorderRows method in order to reconstruct the original matrix.

This has the same effect as multiplying by the P matrix but it executes faster.

Requirements

Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

.NET Matrix Library