David Feuer writes

>On 4/13/06, Jan Nieuwenhuizen <[EMAIL PROTECTED]> wrote:
>> David Feuer writes:
>
>> In C++ we have Offset, which has a number of complex_* functions.  We

>> also have complex-to-offset and use offset pairs in SCM, but I do not

>> know if we have any such functions in SCM.
>
> I don't either.
>
>> Does scm/guile not have such funtions for pairs/complex vectors?
>
> It probably does support complex numbers.  Complex numbers, however,
are conceptually quite > different from 2D vectors, and I don't feel
comfortable conflating them.  It's up to you
> and Han, of course.
>

Actually, complex numbers are nothing more than 2-D vectors, but in the
real-imaginary plane rather than the x-y plane.  In fact, when we use
complex numbers, we draw them in a plane indistinguishable from x-y
(real is x, imaginary is y).  So I think that if guile has built-in
complex numbers, we certainly ought to use them.

Carl Sorensen


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to