Artifact 315e60ac3605491701a99f0d6860b519bbb090d8de388f9b101a3b2b8807449d:
- Executable file
r37/lisp/csl/html/r37_0591.html
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 960) [annotate] [blame] [check-ins using] [more...]
<A NAME=gram_schmidt> <TITLE>gram_schmidt</TITLE></A> <b><a href=r37_idx.html>INDEX</a></b><p><p> <B>GRAM_SCHMIDT</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P> <P> <P> <P> <P> <H3> syntax: </H3> <em>gram_schmidt</em>({<vec\_list>}) <P> <P> <P> (If you are feeling lazy then the braces can be omitted.) <P> <P> <vec\_list> :- linearly independent vectors. Each vector must be written as a list, eg:{1,0,0}. <P> <P> <em>gram_schmidt</em>performs the gram_schmidt orthonormalization on the input vectors. <P> <P> It returns a list of orthogonal normalized vectors. <P> <P> <P> <H3> examples: </H3> <P><PRE><TT> gram_schmidt({{1,0,0},{1,1,0},{1,1,1}}); {{1,0,0},{0,1,0},{0,0,1}} gram_schmidt({{1,2},{3,4}}); 1 2 2*sqrt(5) -sqrt(5) {{ ------- , ------- },{ --------- , -------- }} sqrt(5) sqrt(5) 5 5 </TT></PRE><P>