Skip to content

Commit dae8ca5

Browse files
committed
removed assign and element from Matrix
1 parent a49cf61 commit dae8ca5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pod/Matrix.pod

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,6 @@ sub as_vector($)
453453

454454
}
455455

456-
457456
=head3 get_elem()
458457

459458
Returns an element of a matrix.
@@ -467,8 +466,6 @@ with indice 0.
467466

468467
=cut
469468

470-
sub element { get_elem(@_); } # compatibility with Math::MatrixReal
471-
472469
sub get_elem {
473470
my ($self, $row, $col) = @_;
474471
die __PACKAGE__.'::get_elem($x, $y, $v) - $x must be a valid row number'
@@ -626,8 +623,6 @@ sub zero # brrr!
626623

627624
=head3 set_elem()
628625

629-
=head3 assign()
630-
631626
Sets a specific value in the matrix.
632627

633628
my $matrix = Math::GSL::Matrix->new(2,2);
@@ -642,9 +637,6 @@ with indice 0.
642637

643638
=cut
644639

645-
# added this to add compatibility with Math::RealMatrix. Useful.
646-
sub assign { set_elem(@_); }
647-
648640
sub set_elem {
649641
my ($self, $row, $col, $value) = @_;
650642
die __PACKAGE__.'::set_elem($x, $y, $v) - $x must be a valid row number'

0 commit comments

Comments
 (0)