MathGroup Archive 2012

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

Search the Archive

Re: GramSchmidt function

  • To: mathgroup at
  • Subject: [mg124674] Re: GramSchmidt function
  • From: Murray Eisenberg <murray at>
  • Date: Tue, 31 Jan 2012 05:34:46 -0500 (EST)
  • Delivered-to:
  • References: <jfr2jl$n9f$> <>
  • Reply-to: murray at

You may want to take a look at my notebook GramSchmide.nb on my old Math 
236 (Linear Algebra) course web site:

What's done there is build the Gram Schmidt procedure in a "geometric" 
way that reveals what's really going on in terms of orthogonal 
projection onto vector subspaces.

It's hardly state-of-the-art from a computational view, but rather is 
intended to teach not just the underlying geometric ideas but also some 
basic Mathematica programming techniques, including: modularization of a 
procedure and then using iteration (including doing so in a functional 
way by using Fold) or recursion.

On 1/30/12 5:10 AM, Andie S. wrote:
> Yes, it was a practice exercise that I was able to figure out with
> some trial and error.
> I was aware of the "Orthogonalize" function. And the point of the
> exercise was to compare the two.
> But thanks for the suggestions!
> On Jan 26, 3:24 am, "Andie S."<freefalling... at>  wrote:
>> 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!

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: Function Doesn't Evaluate Local Variables?
  • Next by Date: Re: Function Doesn't Evaluate Local Variables?
  • Previous by thread: Re: GramSchmidt function
  • Next by thread: Re: GramSchmidt function