MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: GramSchmidt function


On 2012-01-26 08:24:21 +0000, Andie S. said:

> I am having trouble creating a function gramSchmidt[vList] to
> construct an orthogonal basis for a list of vectors, vList.
> any pointers on how to do this? Thanks!

I think all you need is Orthogonalize:

 Orthogonalize by default generates a Gram=E2=80=93Schmidt basis.

Find an orthonormal basis for two 3D vectors:
In[1]:= Orthogonalize[{{1, 0, 1}, {1, 1, 1}}]
Out[1]= {{1/Sqrt[2], 0, 1/Sqrt[2]}, {0, 1, 0}}



  • Prev by Date: Re: GramSchmidt function
  • Next by Date: Re: Puzzled by Sum
  • Previous by thread: Re: GramSchmidt function
  • Next by thread: Re: GramSchmidt function