[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Solving Systems Of Linear Equations
From: |
Przemek Klosowski |
Subject: |
Re: Solving Systems Of Linear Equations |
Date: |
Tue, 6 May 2003 10:48:30 -0400 (EDT) |
Octave has a built-in help system, with full Octave manual available
online; it is one of the best things about octave, actually, in my opinion.
In particular, if you did:
octave> help -i
you'd get the table of contents of the manual; then, you could have
searched for 'linear equations:
s <- search command
linear equation<CR> <- search term, ended by Enter key
s <CR> <- first search finds 'NONlinear equations'
whence you find the chapter on 'Solving Linear Equations', which says:
To solve the set of linear equations `aX = b', use the left division
operator, `\':
octave:7> a \ b
This is conceptually equivalent to `inv (a) * b', but avoids computing
the inverse of a matrix directly.
The manual has actually a lot of information on linear algebra and numerical
computations in its own right, and is worth perusing casually from time to time.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------