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

Home » Public Forums » archive » Different shifts on rows of matrices
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
Different shifts on rows of matrices [message #2643] Fri, 05 August 1994 10:34
msreeve is currently offline  msreeve
Messages: 3
Registered: June 1994
Junior Member
Does anyone have a quick way of performing a shift
on a matrix where each row or column is shifted by
different amounts? APL has the rotate operator
which allows precisely this.

Having used APL extensively I am continually
frustrated by IDL which seems like a crippled APL
with graphics and some nice math functions. For
example, why doesn't IDL have a "reduce" operator?
In APL, this places an operator between each pair
of elements of a vector, or along rows or columns
of matrices..., and then evaluates in APL's right-
to-left fashion. This is extraordinarily handy.
IDL has "total" for a "plus reduction", but I often
wish to do an "AND reduction" or something else.
APL's inner and outer products are also sorely missed,
as are the general catenation scheme -- it's very
clumsy to catenate matrices across different dimensions
in IDL.

I like IDL very much, in many ways. I just
wish RSI would include more of IDL's APL heritage in
their capabilities.

Mark Reeve
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to read a file in zip or gz format using IDL?
Next Topic: OS/2 support

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

Current Time: Wed Oct 08 20:03:18 PDT 2025

Total time taken to generate the page: 0.00473 seconds