Hello all,
Thank you for your help and the [tabset] object _is_ in zexy!
Cheers,
Stephanie and Alexandre
From: IOhannes zmoelnig zmoelnig@iem.kug.ac.at Date: 2004/01/09 Fri AM 11:58:40 EST To: stephaniebrodeur@rogers.com CC: pd-list@iem.at Subject: Re: [PD] [list /], [list -]?
stephaniebrodeur@rogers.com wrote:
Hello all,
We are working on getting values from an image to a pd
array. We are using maxlib's [tabset] to write the
values
to an array but the values are ints ranging from 0-255
and
we'd like to get floats from -1 to 1. Since gridflow
deals
only with ints currently, are operations on lists
possible
in pd?
not in the core pd.
but there are libraries like Gem, providing [v+] [v*]
(for
adding/multiplication vectors and scalars), zexy [.] (in
product of
either 2 vectors or 1 vector and 1 scalar; note: zexy
also provides a
[tabset] so you might get a name-clash)
furthermore there should be johannes taelman's SMlib,
which provides a
lot of objects for dealing with vectors (and very
complex operations too)
if you don't want to use any other lib, you could copy
the content of
one table to another table (with [tabread] & [tabwrite]
and doing the
math on scalars)
mfg.asd.r IOhannes