Hi,
I guess this is a NiceSlice thing, this one works in the pdl shell:
$f=sub{$_[0]**2};
...
Ingo
On 07.02.24 01:14, Luis Mochan wrote:
On Tue, Jan 30, 2024 at 09:40:59PM -0600, Luis Mochan wrote:
...>
On Mon, Jan 29, 2024 at 10:19:56PM -0500, David Mertens wrote:
Hello Luis,
Ever crafty
Hi,
this module does not find Prima.so (from Prima).
Makefile.PL needs to lock at Prima::Config::Config{dlname} and set the
correct LIBS field. I failed to make it work.
I got the parts necessary extracted, but make seems to ignore it. This
results in unresolved symbols from Prima.
Ingo
Make
could not send mail.
On 27.05.24 5:27 PM, Ingo Schmid wrote:
Hi,
$x->clump (1 .. -1) should work according to the docs, but it
apparently doesn't. boundaries 0 ... ndims -1 work fine.
pdl> help $k2
This variable is Float D [2,772096,1,1,1,1,30,1,1,1,1,1]
pdl> $k2= $k->clump(2 .. ($k->ndims-
Hi,
$x->clump (1 .. -1) should work according to the docs, but it apparently
doesn't. boundaries 0 ... ndims -1 work fine.
pdl> help $k2
This variable is Float D [2,772096,1,1,1,1,30,1,1,1,1,1]
pdl> $k2= $k->clump(2 .. ($k->ndims-1))
Best
Ingo
pdl> help $k2
This variable is Float D [2,1,23
---------------
*From:* Ingo Schmid via pdl-devel
*Sent:* Thursday, May 23, 2024 1:05:37 PM
*To:* pdl-devel ; perldl
; David Mertens
*Subject:* [Pdl-devel] PDL::Drawing::Prima
Hi,
this module does not find Prima.so (from Prima).
Makefile.PL needs to lock at Prima::Config::Config
error you’re showing is because dimensions are numbered in
a zero-based way, so ndims (which is 14) will be the 15^th one, which
is too big, as the error explicitly tells you.
Best regards,
Ed
*From:* Ingo Schmid via pdl-
fig::Config{libs};
What errors did you get? Are you on Ubuntu? Because I’m using Ubuntu, and
building P:D:Prima here doesn’t need to link Prima - the dynamic linker takes
care of it at runtime.
Best regards,
Ed
From: Ingo Schmid via
pdl-devel<mailto:
code below?
$hash{LIBS}[0] .= " $Prima::Config::Config{libs}"
if $Prima::Config::Config{libs};
What errors did you get? Are you on Ubuntu? Because I’m using Ubuntu, and
building P:D:Prima here doesn’t need to link Prima - the dynamic linker takes
care of it at runtime.
Hi Jörg,
this is because they are generated from basic.pd, ufunc.pd, etc. See
PDL::PP! It is a neat feature to generate code for all data types in
both C and Perl level. It is not intuitive for newer folk, though.
Ingo
On 5/31/2024 9:49 PM, Jörg Sommrey wrote:
Hi all,
just realized that prin
Dear Guillermo,
there are a number of ways you can create your images from the N-image
stack.
If you want a series of individual images, you could do something like this
for (my $ii (0..$imn->dim(3)-1)) { $im(,,,$ii;-)->wpic("image_$ii.png"); }
If you want to combine the stack, a mip can be
Hi,
is there any implementations of calculating the curl of a vector field
around?
Best wishes
Ingo
___
pdl-devel mailing list
pdl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-devel
with the same
dims. You can do the partial differentiation numerically by some
mv-ing and then diffover
(https://metacpan.org/pod/PDL::Ufunc#diffover), then the notional
i,j,k above obviously indicate the final components of curl vector
at each point. More to follow after I've
12 matches
Mail list logo