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?? |
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.
In Section
Seekers of Perl Wisdom
|
|