SPVM::NDArray::Long - N-Dimension Array of long
my $ndarray = SPVM::NDArray::Long->new; my $dim1 = 3; my $dim2 = 4; my $length = $dim1 * $dim2; $ndarray->{base} = new long[$length]; $ndarray->{length} = $length; $ndarray->{shape} = [$dim1, $dim2];
SPVM::NDArray::Long is N-Dimension Array of long.
See SPVM::NDArrayDoc about Details of N-Dimension Array.
To install SPVM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM
CPAN shell
perl -MCPAN -e shell install SPVM
For more information on module installation, please visit the detailed CPAN module installation guide.