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: Emanuel Berg
Subject: Re: why are there [v e c t o r s] in Lisp?
Date: Sat, 17 Oct 2015 06:22:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Aurélien Aptel <aurelien.aptel+emacs@gmail.com>
writes:

> The direction and the position you're talking about
> are geometry concepts. Linear algebra is just a tool

What do you mean "just" a tool?

> that can be used to model many things e.g.
> in mechanics to represent forces, in euclidian
> geometry to represent positions *or* directions, you
> can even used them to model text documents [1] etc.
> In pure linear algebra, "direction" and "position"
> are not defined for vectors. You could argue that
> elisp is using vectors to model a specific concept
> (constant time random access objects) and as such
> deserves its own notation, different from the list.

It seems to be like this:

- in terms of linear algebra, a plain, finite list
  with one and the same base data type as elements is
  a vector as good as any

- in terms of modeling, you can do all sorts of things
  with this concept

- in terms of Elisp programming, the vector type
  shouldn't necessarily be thought of as a linear
  algebra concept but rather another data structure
  that can be used for many purposes, just like the
  Elisp list, only most often specific purposes are
  better suited for one or the other

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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