Re: GramSchmidt function
- To: mathgroup at smc.vnet.net
- Subject: [mg124636] Re: GramSchmidt function
- From: Chris Young <cy56 at comcast.net>
- Date: Fri, 27 Jan 2012 06:13:35 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <jfr2jl$n9f$1@smc.vnet.net>
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}}