This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareLinearSolve[m, b] finds an x which solves the matrix equation m.x==b.

FilledSmallSquareLinearSolve works on both numerical and symbolic matrices.

FilledSmallSquare The argument b can be either a vector or a matrix.

FilledSmallSquare The matrix m can be square or rectangular.

FilledSmallSquare For underdetermined systems, LinearSolve will return one of the possible solutions; Solve will return a general solution.

FilledSmallSquare For sparse systems of linear equations, it will usually be much more efficient to use Solve than LinearSolve.

FilledSmallSquare If you need to solve the same approximate numerical linear system many times, it is usually more efficient to use LUDecomposition and LUBackSubstitution.

FilledSmallSquareLinearSolve[m, b, Modulus -> n] takes the matrix equation to be modulo n.

FilledSmallSquareLinearSolve[m, b, ZeroTest -> test] evaluates test[ m[[i, j]] ] to determine whether matrix elements are zero. The default setting is ZeroTest -> (# == 0 &).

FilledSmallSquare A Method option can also be given. Possible settings are CofactorExpansion, DivisionFreeRowReduction and OneStepRowReduction. The default setting of Automatic switches between these methods depending on the matrix given.

FilledSmallSquare See The Mathematica Book: Section 3.7.8.

FilledSmallSquare Implementation Notes: see section A.9.4 and A.9.4.

FilledSmallSquare See also: Inverse, PseudoInverse, Solve, NullSpace.

FilledSmallSquare Related package: LinearAlgebra`Tridiagonal`.

Further Examples