Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: can we call c++ in perl to process PDL arrays?

by etj (Deacon)
on Apr 25, 2022 at 10:50 UTC ( [id://11143263]=note: print w/replies, xml ) Need Help??


in reply to Re^2: can we call c++ in perl to process PDL arrays?
in thread can we call c++ in perl to process PDL arrays?

You'd need to use Inline with => 'PDL' to make available PDL's C functions. Then, to know what PDL C functions to actually call, consult PDL::API.

The imminent PDL::OpenCV (not on CPAN yet, but see https://github.com/PDLPorters/pdl/issues/362) shows how to call from PDL C code into C++ via a wrapper, if that's any use.

EDIT: "how to" is too strong - "one way to" would be better.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-20 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found