From dae8ca585521575bc25a15e39e6838a8b3101131 Mon Sep 17 00:00:00 2001 From: ambs Date: Mon, 9 Jun 2014 18:24:19 +0100 Subject: [PATCH] removed assign and element from Matrix --- pod/Matrix.pod | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pod/Matrix.pod b/pod/Matrix.pod index 6246464..107f414 100644 --- a/pod/Matrix.pod +++ b/pod/Matrix.pod @@ -453,7 +453,6 @@ sub as_vector($) } - =head3 get_elem() Returns an element of a matrix. @@ -467,8 +466,6 @@ with indice 0. =cut -sub element { get_elem(@_); } # compatibility with Math::MatrixReal - sub get_elem { my ($self, $row, $col) = @_; die __PACKAGE__.'::get_elem($x, $y, $v) - $x must be a valid row number' @@ -626,8 +623,6 @@ sub zero # brrr! =head3 set_elem() -=head3 assign() - Sets a specific value in the matrix. my $matrix = Math::GSL::Matrix->new(2,2); @@ -642,9 +637,6 @@ with indice 0. =cut -# added this to add compatibility with Math::RealMatrix. Useful. -sub assign { set_elem(@_); } - sub set_elem { my ($self, $row, $col, $value) = @_; die __PACKAGE__.'::set_elem($x, $y, $v) - $x must be a valid row number'