NAME

SPVM::Matrix::Double - double Matrix

SYNOPSYS

my $values = new double[10]; my $rows_length = 2; my $columns_length = 3; my $matrix = new SPVM::Matrix::Double; $matrix->{values} = $values; $matrix->{rows_length} = $rows_length; $matrix->{columns_length} = $columns_length;

DESCRIPTION

SPVM::Matrix::Double is double Matrix data strcuture.

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

FIELDS

values

has values : public double[];

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.