MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: operations with lists


Jonathan Lee wrote:
> 
> Hello,
> 
> I need help for three things:
> 
> 1) are there any tips for operating with large lists/matrices (in the
> order of 512*512 or so)
> 

MathLink to MatLab or C librraries, maybe?


> and
> 
> 2) is it possible to thread a compiled function over several lists.

One list at a time, you mean? That should be immediate. At the same 
time? Combine the lists in the appropriate way.

> 
> 3) is there any way to "intertwine" two lists?
> 
> i.e., if a and b are lists, is there a simple way to make a list that is
> {a[[1]], b[[1]],a[[2]],b[[2]],...}?
> 
> Thanks for any and all help.
> 

Flatten[ Transpose[{a, b}] ]

-- 
_______________________________________________________________
Harald Berndt                          University of California
Research Specialist                  Forest Products Laboratory
Phone: 510-215-4224                            FAX:510-215-4299
_______________________________________________________________



==== [MESSAGE SEPARATOR] ====


  • Prev by Date: how to read real numbers in 1.0000e+00 notation
  • Next by Date: Re: Series problem
  • Previous by thread: Re: operations with lists
  • Next by thread: Mathlink