| 1 |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Álgebra linear</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Manual do Genius"><link rel="up" href="ch08.html" title="Chapter 8. Matrices in GEL"><link rel="prev" href="ch08s02.html" title="Conjugate Transpose and Transpose Operator"><link rel="next" href="ch09.html" title="Chapter 9. Polynomials in GEL"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Álgebra linear</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a> </td><th width="60%" align="center">Chapter 8. Matrices in GEL</th><td width="20%" align="right"> <a accesskey="n" href="ch09.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="genius-gel-matrix-linalg"></a>Álgebra linear</h2></div></div></div><p lang="en"> |
| 2 |
Genius implements many useful linear algebra and matrix manipulation |
| 3 |
routines. See the <a class="link" href="ch11s09.html" title="Álgebra linear">Linear Algebra</a> and |
| 4 |
<a class="link" href="ch11s08.html" title="Manipulação de matrizes">Matrix Manipulation</a> |
| 5 |
sections of the GEL function listing. |
| 6 |
</p><p lang="en"> |
| 7 |
The linear algebra routines implemented in GEL do not currently come |
| 8 |
from a well tested numerical package, and thus should not be used for critical |
| 9 |
numerical computation. On the other hand, Genius implements very well many |
| 10 |
linear algebra operations with rational and integer coefficients. These are |
| 11 |
inherently exact and in fact will give you much better results than common |
| 12 |
double precision routines for linear algebra. |
| 13 |
</p><p lang="en"> |
| 14 |
For example, it is pointless to compute the rank and nullspace of a |
| 15 |
floating point matrix since for all practical purposes, we need to consider the |
| 16 |
matrix as having some slight errors. You are likely to get a different result |
| 17 |
than you expect. The problem is that under a small perturbation every matrix |
| 18 |
is of full rank and invertible. If the matrix however is of rational numbers, |
| 19 |
then the rank and nullspace are always exact. |
| 20 |
</p><p lang="en"> |
| 21 |
In general when Genius computes the basis of a certain vectorspace |
| 22 |
(for example with the <a class="link" href="ch11s09.html#gel-function-NullSpace"><code class="function">NullSpace</code></a>) it will give the basis as |
| 23 |
a matrix, in which the columns are the vectors of the basis. That is, when |
| 24 |
Genius talks of a linear subspace it means a matrix whose column space is |
| 25 |
the given linear subspace. |
| 26 |
</p><p lang="en"> |
| 27 |
It should be noted that Genius can remember certain properties of a |
| 28 |
matrix. For example, it will remember that a matrix is in row reduced form. |
| 29 |
If many calls are made to functions that internally use row reduced form of |
| 30 |
the matrix, we can just row reduce the matrix beforehand once. Successive |
| 31 |
calls to <a class="link" href="ch11s09.html#gel-function-rref"><code class="function">rref</code></a> will be very fast. |
| 32 |
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch08.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch09.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Conjugate Transpose and Transpose Operator </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Chapter 9. Polynomials in GEL</td></tr></table></div></body></html> |