lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2D vector code


From: Geoff Horton
Subject: Re: 2D vector code
Date: Fri, 14 Apr 2006 12:21:52 -0400

> The complex numbers form a field.  The 2-D vectors don't.  A complex
> number suggests that the real and imaginary components are of a
> different nature, whereas 2-D vectors are symmetrical in their
> components.  Vectors could be implemented using complex numbers, but I
> think identifying them is ugly.

The question is whether one is viewing things from a mathematician's
standpoint or a programmer's standpoint. To a programmer, they are
functionally equivalent, aren't they?

Geoff




reply via email to

[Prev in Thread] Current Thread [Next in Thread]