Hi Guillermo,

The two Sourceforge lists are still in operation; the JACH one went away years 
ago so I’ve removed it from the “To” list.

Please can you expand on this by giving a small amount of sample data input, 
with the output you’d like?

Best regards,
Ed

________________________________
From: Guillermo P. Ortiz <gor...@exa.unne.edu.ar>
Sent: Friday, April 19, 2024 9:49:46 PM
To: PDL Forum <pdl-port...@jach.hawaii.edu>; pdl-gene...@lists.sourceforge.net 
<pdl-gene...@lists.sourceforge.net>; pdl-devel@lists.sourceforge.net 
<pdl-devel@lists.sourceforge.net>
Subject: [Pdl-devel] histogram data-flow version?

Dear Perl Folks,
Maybe did you have solved this kind of question?

I have to use two related $a. $b ndarray performing
some computation on $b that could be
used to map with $a

I have a horrible solution for my specifique problem
but it is sure that PDL has a cleaver version for solving it

@step=(-3..3);
$delta=0.2;
@res= map {$a->index(which(abs($_-$b)<$delta))->sum} @step ;

Then, the list @res cumulates data of $a for which $b are
in a desire intervals

Regards

PS: sorry if I sent my post to a wrong email list






--


Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional del Nordeste
Avda Libertad 5460, Campus UNNE.
W3404AAS Corrientes, Argentina.
(+54) 379-4424678 interno 4613
gortiz at unne edu ar
_______________________________________________
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel

Reply via email to