help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: why are there [v e c t o r s] in Lisp?


From: Pascal J. Bourguignon
Subject: Re: why are there [v e c t o r s] in Lisp?
Date: Sat, 17 Oct 2015 17:18:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> "Pascal J. Bourguignon" <pjb@informatimago.com>
> writes:
>
>> The essence of vector is to define a direction and
>> a magnitude. Notably for vector spaces without
>> a finite basis, V/|V| is still the direction of the
>> vector V, intrinsically (every unitary vector is
>> a distinct direction).
>
> Yes, but perhaps what Aurélien Aptel said (vectors in
> linear algebra being a tool concept to model just
> about anything) is analogous to the vectors of Elisp
> being data structures that can hold data for virtually
> any purpose? And then, why aren't the Elisp vectors
> simply called "arrays" like everywhere else?

Because everybody else got it wrong: they don't have (multidimensional)
arrays, they only have vectors (even when they have syntactic sugar to
make vectors of vectors, they aren't arrays).

-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


reply via email to

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