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
QRDecompositionLeastSquaresSolve Method (Vector)Extreme Optimization Numerical Libraries for .NET Professional
Solves the system of linear equations in the least-squares sense for the specified right-hand side vector.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
Syntax

C#
VB
C++
F#
Copy
public DenseVector LeastSquaresSolve(
	Vector rightHandSide
)
Public Function LeastSquaresSolve ( 
	rightHandSide As Vector
) As DenseVector
public:
virtual DenseVector^ LeastSquaresSolve(
	Vector^ rightHandSide
) sealed
abstract LeastSquaresSolve : 
        rightHandSide : Vector -> DenseVector 
override LeastSquaresSolve : 
        rightHandSide : Vector -> DenseVector 

Parameters

rightHandSide
Type: Extreme.MathematicsVector
A Vector.

Return Value

Type: DenseVector
A DenseVector containing the least squares solution of the system of simultaneous linear equations.

Implements

ILeastSquaresSolverLeastSquaresSolve(Vector)
Exceptions

ExceptionCondition
ArgumentNullExceptionrightHandSide is .
DimensionMismatchExceptionThe length of rightHandSide does not equal the number of rows of the matrix.
Version Information

Numerical Libraries

Supported in: 5.x, 4.x
See Also

Reference

QRDecomposition Class
LeastSquaresSolve Overload
Extreme.Mathematics.LinearAlgebra Namespace

Copyright (c) 2004-2016 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.