Extreme Optimization > User's Guide > Vector and Matrix Library > Matrix Decompositions > Solving Linear Systems and Related Operations

Extreme Optimization User's Guide

User's Guide

Up: Matrix Decompositions Next: Complex Linear Algebra Previous: The Singular Value Decomposition Contents

Solving Linear Systems and Related Operations

All decomposition classes inherit from the LinearTransformation abstract base class, which defines common methods for solving systems of simultaneous linear equations and related operations. All these methods call the Decompose method as needed. Unlike for matrix types, there is no performance penalty for calling several of these methods in succession. The decomposition is only calculated once.

The Solve method is overloaded. To solve for one right-hand side, pass this value as a Vector as the first parameter. To solve for multiple right-hand sides, store the vectors inthe columns of a GeneralMatrix. An optional second parameter specifies whether the right-hand sides should be overwritten with the solution. By default, a new vector or matrix instance is created of the same dimensions as the right-hand side.

A matrix is singular when not all of its rows or columns are linearly independent. The IsSingular method returns a Boolean value that indicates this condition.

The inverse matrix is returned by the GetInverse method.

The condition number of a matrix is defined as the ratio of its largest to its smallest singular value. Because the calculation of singular values is a very expensive operation, an estimate that is cheaper to calculate is usually preferred. The EstimateConditionNumber method returns such an estimate.

The condition number gives an indication ofthe worst case loss of precision when solving a system of simultaneous linear equations. The condition number of a singular matrix is infinite, which is returned as Double.PositiveInfinity.

The determinant of a matrix is returned by the GetDeterminant method. The determinant is only defined for square matrices.

Up: Matrix Decompositions Next: Complex Linear Algebra Previous: The Singular Value Decomposition Contents

Overview
Introduction
Features
Documentation
QuickStart Samples
Sample Applications
Downloads
Get it now!
Download trial version
How to Buy
Information
Resources
Contact Us
Search

"The Extreme Optimization Statistics Library for .NET is a major boon for those doing statistical work in .NET. I strongly recommend this product."
- Marc Brooks

"I have made it my mission to institutionalize the value of good API design.  I strongly believe that this is key to making developers more productive and happy on our platform. It is clear that you value good API design in your work, and take to heart developer productivity and synergy with the .NET framework."
- Brad Abrams,
Lead Program Manager, Microsoft.

This is a partial list of companies who are using our libraries:
ABB Robotics
Allstate
Applied Materials
Arcam
Astra Schedule
Babson College
Canadian Council on Learning
Canyon Associates
Caxton Associates
CECity
Constellation Energy
CreditSights
DeepOcean
Duke University
Dynamotive
Elecsoft
Engelhard Corporation
Epcor
Equipoise Software
Galileo International
GAM UK
Gammex
GlaxoSmithKline
Global Matrix
The Hartford
Infinera Corporation
Intel
JDS Uniphase
LaBranche & Co.
Learning & Skills Council
Jacobs Consultancy
Litman Gregory
Lucas Systems
Malvern Instruments
Medrio
Merck & Co.
Mintera.
Monitor Software
MorningStar
NanoString Technologies
Paletta Invent
Parametric Portfolio Associates
Prosanos
RATA Associates
RiskShield
Ramboll
Standard & Poor's
Strategic Analysis Corporation
Univ. of Alicante
Univ. of South Carolina
vielife
Xerox
US Army