comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » array operators - vector processing relevant
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
array operators - vector processing relevant [message #41279] Sun, 03 October 2004 12:39
nasalmon is currently offline  nasalmon
Messages: 33
Registered: August 2003
Member
Does anyone know if there is an array operator that can be used to
multiply to 1D vectors together that results in a final 1D vector that
holds all multiplicative combinations of the individual vector
components?

For example, array A of length m, and array B of length n would result
in a vector C of length m x N. Of course i can use array operators #
or ## to create a 2D array from the individual 1D arrays and then
unfold it back into a 1 D array. However, it would be convenient to
have a straight routine for this.

This would be useful for array address, where you want to replace
nested do loops with vector processing, where you would use such a
routine to calculate the indices to enable fast array addressing.

many thanks,
Neil
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: anonymous structure as member of named event structure
Next Topic: Re: array operators - vector processing relevant

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 05:02:29 PDT 2025

Total time taken to generate the page: 1.20274 seconds