Extreme Optimization™: Complexity made simple.

Numerical Components
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
    • 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
    • Contact us
Introduction
Deployment Guide
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 Statistics Library User's GuideStatistics Library User's Guide
Expand ReferenceReference
  • Home
    • Features
    • Solutions
    • Documentation
    • QuickStart Samples
    • Sample Applications
    • Downloads
    • Technical Support
    • Download trial
    • How to buy
    • Blog
    • Company
    • Resources
  • Documentation
    • Introduction
    • Deployment Guide
    • Using Parallelism
    • Mathematics Library User's Guide
    • Vector and Matrix Library User's Guide
    • Statistics Library User's Guide
    • Reference
  • Reference
    • Extreme.Mathematics Namespace
    • Extreme.Mathematics.Algorithms Namespace
    • Extreme.Mathematics.Calculus Namespace
    • Extreme.Mathematics.Calculus.OrdinaryDifferentialEquations Namespace
    • Extreme.Mathematics.Curves Namespace
    • Extreme.Mathematics.Curves.Nonlinear Namespace
    • Extreme.Mathematics.EquationSolvers Namespace
    • Extreme.Mathematics.Generic Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra Namespace
    • Extreme.Mathematics.Generic.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex Namespace
    • Extreme.Mathematics.LinearAlgebra.Complex.Decompositions Namespace
    • Extreme.Mathematics.LinearAlgebra.IO Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers Namespace
    • Extreme.Mathematics.LinearAlgebra.IterativeSolvers.Preconditioners Namespace
    • Extreme.Mathematics.LinearAlgebra.Providers Namespace
    • Extreme.Mathematics.LinearAlgebra.Sparse Namespace
    • Extreme.Mathematics.Optimization Namespace
    • Extreme.Mathematics.Optimization.LineSearches Namespace
    • Extreme.Mathematics.SignalProcessing Namespace
    • Extreme.Statistics Namespace
    • Extreme.Statistics.Distributions Namespace
    • Extreme.Statistics.IO Namespace
    • Extreme.Statistics.Multivariate Namespace
    • Extreme.Statistics.Random Namespace
    • Extreme.Statistics.Tests Namespace
    • Extreme.Statistics.TimeSeriesAnalysis Namespace
  • Extreme.Mathematics.LinearAlgebra.Providers Namespace
    • BlasLevel1 Class
    • BlasLevel2 Class
    • BlasLevel3 Class
    • ComplexBlasLevel1 Class
    • ComplexBlasLevel2 Class
    • ComplexBlasLevel3 Class
    • ComplexLapack Class
    • ComplexSparseBlas Class
    • Lapack Class
    • LinearAlgebraProvider Class
    • ManagedBlasLevel1 Class
    • ManagedBlasLevel2 Class
    • ManagedBlasLevel3 Class
    • ManagedComplexBlasLevel1 Class
    • ManagedComplexBlasLevel2 Class
    • ManagedLinearAlgebraProvider Class
    • ManagedSparseBlas Class
    • SingleBlasLevel1 Class
    • SingleBlasLevel2 Class
    • SingleBlasLevel3 Class
    • SingleComplexBlasLevel1 Class
    • SingleComplexBlasLevel2 Class
    • SingleComplexBlasLevel3 Class
    • SingleComplexLapack Class
    • SingleComplexSparseBlas Class
    • SingleLapack Class
    • SingleLinearAlgebraProvider Class
    • SingleManagedBlasLevel1 Class
    • SingleManagedBlasLevel2 Class
    • SingleManagedBlasLevel3 Class
    • SingleManagedComplexBlasLevel1 Class
    • SingleManagedComplexBlasLevel2 Class
    • SingleManagedLinearAlgebraProvider Class
    • SingleManagedSparseBlas Class
    • SingleSparseBlas Class
    • SparseBlas Class
  • SingleLapack Class
    • Members
    • SingleLapack Constructor
    • Methods
  • Methods
    • Sgbcon Method
    • Sgbtrf Method
    • Sgbtrs Method
    • Sgecon Method
    • Sgeev Method
    • Sgeqp3 Method
    • Sgeqrf Method
    • Sgesdd Method
    • Sgetrf Method
    • Sgetri Method
    • Sgetrs Method
    • Slacpy Method
    • Slange Method
    • Slantr Method
    • Sormqr Method
    • Spbcon Method
    • Spbtrf Method
    • Spbtrs Method
    • Spocon Method
    • Spotrf Method
    • Spotri Method
    • Spotrs Method
    • Ssyevr Method
    • Stbtrs Method
    • Strcon Method
    • Strtri Method
    • Strtrs Method
  • Sgetrs Method
Collapse image Expand Image Copy image CopyHover image
         




SingleLapack..::..Sgetrs Method

SingleLapack Class See Also 
Solves a system of linear equations with a general N-by-N matrix A using the LU decomposition computed by [!:Dgetrf].

Namespace: Extreme.Mathematics.LinearAlgebra.Providers
Assembly: Extreme.Numerics.SinglePrecision.Net40 (in Extreme.Numerics.SinglePrecision.Net40.dll) Version: 4.0.10170.0 (4.0.11003.0)

Syntax

C#
                      public abstract void Sgetrs(
	TransposeOperation trans,
	int n,
	int nrhs,
	float[] a,
	int aOffset,
	int lda,
	int[] ipiv,
	float[] b,
	int bOffset,
	int ldb,
	out int info
)
Visual Basic (Declaration)
                      Public MustOverride Sub Sgetrs ( _
	trans As TransposeOperation, _
	n As Integer, _
	nrhs As Integer, _
	a As Single(), _
	aOffset As Integer, _
	lda As Integer, _
	ipiv As Integer(), _
	b As Single(), _
	bOffset As Integer, _
	ldb As Integer, _
	<OutAttribute> ByRef info As Integer _
)
Visual C++
                      public:
virtual void Sgetrs(
	TransposeOperation trans, 
	int n, 
	int nrhs, 
	array<float>^ a, 
	int aOffset, 
	int lda, 
	array<int>^ ipiv, 
	array<float>^ b, 
	int bOffset, 
	int ldb, 
	[OutAttribute] int% info
) abstract
F#
                      abstract Sgetrs : 
        trans:TransposeOperation * 
        n:int * 
        nrhs:int * 
        a:float32[] * 
        aOffset:int * 
        lda:int * 
        ipiv:int[] * 
        b:float32[] * 
        bOffset:int * 
        ldb:int * 
        info:int byref -> unit 

Parameters

trans
Type: Extreme.Mathematics..::..TransposeOperation
A TransposeOperation value that specifies whether the regular or the transposed system should be solved.
n
Type: System..::..Int32
An integer specifying the number of rows and columns of the matrix a. Must be greater than or equal to zero.
nrhs
Type: System..::..Int32
An integer specifying the number of columns in the right-hand side matrix b. Must be greater than or equal to zero.
a
Type: array<System..::..Single>[]()[][]
Double array specifying the n-by-n matrix containing the lower and upper triangular factors as computed by [!:Dgetrf].
aOffset
Type: System..::..Int32
Offset into a of the first element of the matrix.
lda
Type: System..::..Int32
The leading dimension of the array a. Must be greater than or equal to Max(1,m).
ipiv
Type: array<System..::..Int32>[]()[][]
Integer array containing the pivot indexes computed by [!:Dgetrf].
b
Type: array<System..::..Single>[]()[][]
Double array specifying the nrhs-by-n matrix containing the right-hand sides. On exit, this matrix is overwritten with the solution.
bOffset
Type: System..::..Int32
Offset into b of the first element of the matrix.
ldb
Type: System..::..Int32
The leading dimension of the array b. Must be greater than or equal to Max(1,n).
info
Type: System..::..Int32%
Reference to an integer containing a result code. Zero indicates success. Greater than zero indicates U(i,i) is exactly zero. The decomposition has been completed, but the factor U is exactly singular, and division by zero will occur if it is used to solve a system of equations.

See Also

SingleLapack Class
Extreme.Mathematics.LinearAlgebra.Providers Namespace

Send comments on this topic to support@extremeoptimization.com

Copyright (c) 2004-2011 ExoAnalytics Inc.

Copyright © 2003-2013, 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.