SPVM::Matrix::Float - float Matrix
my $values = new float[10]; my $rows_length = 2; my $columns_length = 3; my $matrix = new SPVM::Matrix::Float; $matrix->{values} = $values; $matrix->{rows_length} = $rows_length; $matrix->{columns_length} = $columns_length;
SPVM::Matrix::Float is float Matrix data strcuture.
See SPVM::Matrix::Util about matrix operations.
my $matrix = new SPVM::Matrix::Float;
has values : public float[];
Matrix elements. This elements is assumed as Column-Major order.
has rows_length : public int;
Matrix rows length.
has columns_length : public int;
Matrix columns length.
To install SPVM::AI::Util, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM::AI::Util
CPAN shell
perl -MCPAN -e shell install SPVM::AI::Util
For more information on module installation, please visit the detailed CPAN module installation guide.