Re: Accelerating a one-line program doing matrix multiplication [message #72755 is a reply to message #72696] |
Wed, 29 September 2010 08:45   |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Sep 29, 12:24 pm, Axel M <axe...@gmail.com> wrote:
> Great, I did not know about this construction, and honestly I do not
> understand how it works (is there any documentation about it?).
> Anyways, I tried it, and unfortunately I saw that it needed ~20%
> longer (the complete function, not the rebin only). So, it is not
> faster.. but it is great though.
It is replicating a structure of a single field which contains the
array input ({temp:input}), then selecting only a single field (the
first, 0) of the resulting structure array. Documentation for this
would be on creation and use of structures.
|
|
|