Re: [Pdl-devel] conditional inline

2025-01-22 Thread Boyd Duffee
I'll throw some confusion into the mix with a different approach, which may not suit you. I would think of the conditional as applying a series of binary masks to your ndarray. Maybe something like $r = rvals(9,9) $mask = $r > 2 $r2 = $r**2 * $mask + $r * (! $mask) where $mask is the binary value

Re: [Pdl-devel] curl of vector

2025-01-07 Thread Boyd Duffee
hip_chic which offers more control of boundary >conditions. Feedback welcome. > > Best regards, > Ed > > -- > *From:* Luis Mochan > *Sent:* 21 November 2024 15:55 > *To:* Ed . > *Cc:* Boyd Duffee ; pdl-devel < > pdl-devel@lists.sourceforge.net>; perldl < >

[Pdl-devel] Advent Calendar Success

2024-12-25 Thread Boyd Duffee
Ed hadn't got behind this mad idea, putting up with my Pull Requests and general git-foolishness all the while making a borrowed blogging engine serve our needs. Merry Christmas and Happy and Safe Holidays to you all, Boyd -- Boyd Duffee Lance is an uncommon name nowadays, but in medie

[Pdl-devel] Advent Calendar

2024-12-04 Thread Boyd Duffee
.com/PDLPorters/pdl/issues/503 Please think about getting involved. It's great exposure for PDL and helps expand the points of entry for people coming to the project. thanks, Boyd [0] https://xkcd.com/3019/ [1] https://lenjaffe.com/AdventPlanet/ -- Boyd Duffee Lance is an uncommon name now

Re: [Pdl-devel] curl of vector

2024-11-20 Thread Boyd Duffee
Hi Ingo, I'm quite interested in what your use case is. It sounds like a great Advent Calendar entry (simple question, complete answer) if I could base it on an actual need. People don't get excited about "an exercise" as much as they do about someone trying to solve a problem, whether it's circul

Re: [Pdl-devel] benchmarks

2021-09-30 Thread Boyd Duffee
t;(*) > Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\ > Av. Universidad s/n CP 62210 | (*)/\/ \ > Cuernavaca, Morelos, México | moc...@fis.unam.mx /\_/\__/ > GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A