extracting 'pieces' of vector element
- Subject: extracting 'pieces' of vector element
- From: Robert Dodier
- Date: Thu, 1 Nov 2012 17:41:57 +0000 (UTC)
On 2012-11-01, Evan Cooch <evan.cooch at gmail.com> wrote:
> [[N_1=33.7837837837838],[N_2=43.837838]]
How about:
foo : [[N_1=33.7837837837838],[N_2=43.837838]];
map (lambda ([L], map (rhs, L)), foo);
=> [[33.7837837837838], [43.837838]]
flatten (%);
=> [33.7837837837838, 43.837838]
HTH
Robert Dodier