/usr/share/freemat/help/text/eig.mdc is in freemat-help 4.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | EIG EIG Eigendecomposition of a Matrix
Usage
Computes the eigendecomposition of a square matrix. The eig function
has several forms. The first returns only the eigenvalues of the matrix:
s = eig(A)
The second form returns both the eigenvectors and eigenvalues as two
matrices (the eigenvalues are stored in a diagonal matrix):
[V,D] = eig(A)
where D is the diagonal matrix of eigenvalues, and V is the
matrix of eigenvectors.
Eigenvalues and eigenvectors for asymmetric matrices A normally
are computed with balancing applied. Balancing is a scaling step
that normaly improves the quality of the eigenvalues and eigenvectors.
In some instances (see the Function Internals section for more details)
it is necessary to disable balancing. For these cases, two additional
forms of eig are available:
s = eig(A,'nobalance'),
which computes the eigenvalues of A only, and does not balance
the matrix prior to computation. Similarly,
[V,D] = eig(A,'nobalance')
recovers both the eigenvectors and eigenvalues of A without balancing.
Note that the 'nobalance' option has no affect on symmetric matrices.
FreeMat also provides the ability to calculate generalized eigenvalues
and eigenvectors. Similarly to the regular case, there are two forms
for eig when computing generalized eigenvector (see the Function
Internals section for a description of what a generalized eigenvector is).
The first returns only the generalized eigenvalues of the matrix
pair A,B
s = eig(A,B)
The second form also computes the generalized eigenvectors, and is
accessible via
[V,D] = eig(A,B)
|