Skip to content

Commit

Permalink
removed assign and element from Matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ambs committed Jun 9, 2014
1 parent a49cf61 commit dae8ca5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pod/Matrix.pod
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,6 @@ sub as_vector($)

}


=head3 get_elem()

Returns an element of a matrix.
Expand All @@ -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'
Expand Down Expand Up @@ -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);
Expand All @@ -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'
Expand Down

0 comments on commit dae8ca5

Please sign in to comment.