Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

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}}



  • 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