NAME

SPVM::Matrix::Float - float Matrix

SYNOPSYS

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;

DESCRIPTION

SPVM::Matrix::Float is float Matrix data strcuture.

See SPVM::Matrix::Util about matrix operations.

CONSTRUCTOR

my $matrix = new SPVM::Matrix::Float;

FIELDS

values

has values : public float[];

Matrix elements. This elements is assumed as Column-Major order.

rows_length

has rows_length : public int;

Matrix rows length.

columns_length

has columns_length : public int;

Matrix columns length.