thub or similar, we can see what else you
> could try)
>
> saludos,
> Boyd
>
> On Wed, 22 Jan 2025 at 16:24, Guillermo P. Ortiz
> wrote:
>
>> Hello again,
>> I find some a not pretty solution using whereND
>>
>>
>> $r=(zeroes(3,3)->ndcoords/2-pdl(0
7;s
> stupid but it works, it's not stupid." But I am interested to know if
> whichND_both is helpful.
>
> Best regards,
> Ed
>
> --
> *From:* Guillermo P. Ortiz
> *Sent:* 22 January 2025 21:06
> *To:* Ed .
> *Cc:* pdl-devel@lis
2)
> Because where_both does *not* work n-dimensionally; it takes ($data,
> $mask), calls which_both on the mask (which for a multi-dimensional input
> will broadcast), then indexes (using index1d) a flattened version of $data
> with
> that.
>
> Do those points make sense?
>slice("(1)"),$rr->abs>=0.2)
Then. modifying
$r1.= f($r1)
$r3.= f($r2,$r4)
...
Perform back dataflow to $r that I am looking for
Maybe a better solution is possible?
Best regards
El mié, 22 ene 2025 a las 12:39, Guillermo P. Ortiz ()
escribió:
> Hello,
> the
these facts?
Regards
El mar, 21 ene 2025 a las 20:35, Guillermo P. Ortiz ()
escribió:
> Hi Ed,
> yes, just I was trying with where_both
> But I get unexpected behaviour for me in 2D case
>
> 1) first in 1D
>
> pdl> $r=zeroes(3)->ndcoords/2-pdl(0.5)
>
> pdl
ndarray, but instead do something on a $pdl->where(condition...). What do
> you think?
>
> Best regards,
> Ed
>
> --
> *From:* Guillermo P. Ortiz
> *Sent:* 21 January 2025 19:07
> *To:* Ed .
> *Cc:* pdl-devel@lists.sourceforge.net ;
>
For instance, I am trying with $r, like below
$r=(zeroes(2*$N+1,2*$N+1)->ndcoords-pdl($N,$N))/(2*$N+1)
Regards
El mar, 21 ene 2025 a las 14:39, Guillermo P. Ortiz ()
escribió:
> Yes Ed, you are right.
> I want to perform different operations on $r
> depending on its distance to a
, but I'm
> afraid I still have absolutely no idea what it is. Please help me help you!
>
> Best regards,
> Ed
>
> --
> *From:* Guillermo P. Ortiz
> *Sent:* 21 January 2025 01:19
> *To:* Ed .
> *Cc:* pdl-devel@lists.sourceforge.net
:-)
>
> Best regards,
> Ed
>
> ------
> *From:* Guillermo P. Ortiz
> *Sent:* 20 January 2025 23:35
> *To:* Ed .
> *Cc:* pdl-devel@lists.sourceforge.net ;
> perldl
> *Subject:* Re: [Pdl-devel] conditional inline
>
> Thanks Ed,
> Using ternary conditional expression
> I
$pdl->approx_artol(0.5, 0.2)
>
> Best regards,
> Ed
>
> --
> *From:* Guillermo P. Ortiz
> *Sent:* 20 January 2025 19:39
> *To:* pdl-devel@lists.sourceforge.net ;
> perldl
> *Subject:* [Pdl-devel] conditional inline
>
> Hello !
>
>
Hello !
I am not sure, but maybe It is possible to do with perl PDL something
like this?
$ndarray= condition on $ndarray ? assign when true : assign when false
for example:
$x=zeroes(20)->xlinvals(0,1);
$y=(all abs($x-0.5)<0.2)?$x**2:$x;
Thanks in advance
Regards
--
Dr. Guill
::FAQ>
> Frequently asked questions about PDL
> metacpan.org
> Best regards,
> Ed
> --
> *From:* Guillermo P. Ortiz
> *Sent:* 28 October 2024 1:24 AM
> *To:* Ed .
> *Cc:* perldl
> *Subject:* Re: [Pdl-devel] project ordered sequence
if there were, it would operate over the whole image-stack in one
> go, which would probably be optimally quick, especially since it would
> shortcut. Also with the miracle of auto-pthreading and broadcasting, it
> could use POSIX threads.
>
> Any volunteers to write a "firstnonzer
pixel (or channel
> value) to the final image where its numerical value * the alpha value was
> >0 (or, if you're doing addition or "or"-ing, just add/or the value * the
> alpha, which if 0 does nothing).
>
> Best regards,
> Ed
> ------
>
overlapping.
Regards,
El jue, 24 oct 2024 a las 9:57, Guillermo P. Ortiz ()
escribió:
> Hello Ed,
> thanks for your reply.
> That I trying to mean with 'reduce' is some of
> projection operation (op) like in PDL::Reduce module
> that performs "(op)over"
onvert via for example pnmtopng using options for it.
> There are hashes like {FLAGS => options} used for options
> {CONVERTER => 'pnmtopng'} indicating which conversor to use.
> But is seems to be intended of rgb 3(4) X s_x X s_y
>
> Thanks for your attention in adva
ns
{CONVERTER => 'pnmtopng'} indicating which conversor to use.
But is seems to be intended of rgb 3(4) X s_x X s_y
Thanks for your attention in advance
Regards
--
Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional
-Chris
>
>
> On 6/13/2024 8:33 AM, Ed . wrote:
>
> Hi Guillermo,
>
> Try https://metacpan.org/pod/PDL::Transform#match ?
>
> Best regards,
> Ed
> --
> *From:* Guillermo P. Ortiz
>
> *Sent:* 13 June 2024 12:04 AM
> *To:* pdl-devel@lists.
use the PDL::GSL::INTERP module
for inward interpolation, but it seems that no threading
(broadcasting) is possible with it
Thank you in advance,
Regards
--
Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional del Nordeste
Avda Liber
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
> *Sent:* Friday, April 19
=(-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
Dt
Dear pdl folks,
doing $x=pdl(-3)
with PDL v2.081 we obtain $x**2-9==0
but, defining $z=-3+0*i
$z**2-9 =! 0
while
$z*$z-9 ==0
May be integer power are computed differently for real
but not for intrinsic complex? (logarithmically for any power)
Regards
--
Dr. Guillermo P. Ortiz
:
>
> Dear Guillermo,
> I guess the eigenvectors are the rows, not the columns, and they are
> normalized!
> Regards,
> Luis
>
>
> On Tue, Jul 05, 2022 at 03:05:16PM -0300, Guillermo P. Ortiz wrote:
> > Dear PDL developers,
> >
> > Trying to use meigen() f
0.740148659165145]
[-9.44955412328967e-09 1.04009885164584e-08 0.672443278155145
0.740148659165145]
]
Thank you in advance.
Regards
--
Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional del Nordeste
Avda Libertad 5460, W3404AAS
Regards
--
Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional del Nordeste
Avda Libertad 5460, W3404AAS Corrientes,
Argentina.
(+54) 379-4424678 interno 4613
gortiz* at *unne edu ar
___
pdl
he suggested solution taken by Zaki idea work, but I am
afraid for a bug in meigen().
Regards
Regards
El jue, 5 may 2022 a las 12:21, Zakariyya Mughal ()
escribió:
> On 2022-05-05 at 10:57:53 -0300, Guillermo P. Ortiz wrote:
> > Hello,
> > somebody know if there are a qu
Hello,
somebody know if there are a quick way
to set all very small number to zero into a ndarray?
Regards
--
Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional del Nordeste
Avda Libertad 5460, W3404AAS Corrientes,
Argentina.
(+54
lation isn’t finding OpenGL (in
> fact, you probably don’t have OpenGL::GLUT installed, which is now needed
> to build and use OpenGL type stuff).
>
>
>
> Best regards,
>
> Ed
>
>
>
> *From: *Guillermo P. Ortiz
> *Sent: *17 February 2022 22:48
> *To: *pdl-de
ank you in advance for your comments
Regards
--
Dr. Guillermo P. Ortiz
Electromagnetismo Aplicado
Dto. Física, Facultad de Ciencias Exactas
Universidad Nacional del Nordeste
Avda Libertad 5460, W3404AAS Corrientes,
Argentina.
(+54) 379-4424678 interno 4613
gortiz* at *unne edu
29 matches
Mail list logo