Skip to content

Commit e799708

Browse files
committed
Fix the documentation for clarity and a few other POD typos.
1 parent 67c1ebd commit e799708

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

lib/Value/Matrix.pm

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Examples:
109109
110110
column(j) : MathObject Matrix or Real or Complex
111111
For a degree 1 Matrix, produces a Real or Complex
112-
For a degree n Matrix with n > 1, produces a degree n Matrix where the 2nd dimesion is length 1
112+
For a degree n Matrix with n > 1, produces a degree n Matrix where the 2nd dimension is length 1
113113
114114
element : Real/Complex/Fraction value when passed the same number of arguments as the degree of the Matrix.
115115
If passed more than n arguments, null. If the degree of the Matrix is n and C<element> is passed
@@ -366,7 +366,7 @@ sub isSquare {
366366

367367
=head3 C<isRow>
368368
369-
Return true if the matix is degree 1 (i.e., is a matrix row)
369+
Return true if the matrix is degree 1 (i.e., is a matrix row)
370370
371371
Usage:
372372
@@ -1052,7 +1052,8 @@ perform row operations.
10521052
10531053
=item * Row Swap
10541054
1055-
To perform a row swap between rows C<i> and C<j>, then C<E(n,[i, j])>.
1055+
The method C<< Value::Matrix->E(n,[i, j]) >> returns the n by n elementary matrix that
1056+
upon right multiplication performs the row swap between rows C<i> and C<j>.
10561057
10571058
Usage:
10581059
@@ -1072,7 +1073,8 @@ where the size of the resulting matrix is the number of rows of C<$A>.
10721073
10731074
=item * Multiply a row by a constant
10741075
1075-
To create the matrix that will multiply a row C<i>, by constant C<k>, then C<E(n,[i],k)>
1076+
The method C<< Value::Matrix->E(n, [i], k) >> returns the n by n elementary matrix that upon
1077+
right multiplication will multiply a row C<i>, by constant C<k>.
10761078
10771079
Usage:
10781080
@@ -1093,7 +1095,8 @@ will generate the elementary matrix of size number of rows of C<$A>, which multi
10931095
10941096
=item * Multiply a row by a constant and add to another row.
10951097
1096-
To create the matrix that will multiply a row C<i>, by constant C<k> and add to row C<j> then C<E(n,[i, j],k)>
1098+
The method C<< Value::Matrix->E(n, [i], k) >> returns the n by n elementary matrix that upon
1099+
right multiplication will multiply a row C<i>, by constant C<k> and add to row C<j>.
10971100
10981101
Usage:
10991102
@@ -1111,7 +1114,7 @@ or if the matrix C<$A> exists of size m by n then
11111114
$A->E([3, 4], -5);
11121115
11131116
will generate the m by m elementary matrix which multiplies row 3 by -5 and adds to row 4.
1114-
If $A does not have at least 4 rows, an error is raised.
1117+
If C<$A> does not have at least 4 rows, an error is raised.
11151118
11161119
=back
11171120

0 commit comments

Comments
 (0)