SPVM::Math provides math functions.
use Math;
my $sin = Math->sin(Math->PI / 4);
This will be used in the Python/numpy porting to Perl like the following.
my $np = Numpy->new;
$np->sin($x);
What Is SPVM?
SPVM is a static typed language that can be used from Perl. SPVM is the essential part of the Python/numpy porting to Perl. If you haven't heard of Perl's SPVM, Please see also SPVM Language Specification.
This project really needs contributors
This project really needs contributors. I am looking for contributors.
Top comments (0)