linalg[GramSchmidt] - compute orthogonal vectors
|
Calling Sequence
|
|
GramSchmidt([v1, v2, ... , vn], opt)
GramSchmidt({v1, v2, ... , vn}, opt)
|
|
Parameters
|
|
v[1], v[2], ..., v[n]
|
-
|
linearly independent vectors
|
opt
|
-
|
(optional) the word 'normalized'
|
|
|
|
|
Description
|
|
•
|
The function GramSchmidt computes a list or set of orthogonal vectors from a given list or set of linearly independent vectors, using the Gram-Schmidt orthogonalization process.
|
•
|
The vectors given must be linearly independent, otherwise the vectors returned will also be dependent.
|
•
|
The vectors returned are normalized only if 'normalized' is specified.
|
•
|
The command with(linalg,GramSchmidt) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
| (8) |
>
|
|
| (9) |
|
|
Download Help Document
Was this information helpful?