X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fmatrix.cpp;h=3c46b17efa87674b0ab5fbd4a3780ab9899066c0;hp=cfe3d6ecd3dad3a9f64d02d6a321415208c72455;hb=cd0f12f5ce6023812f76d0f6eb40ee83078c2775;hpb=163bdedf89a1796d181bbed44cd18600760e3504 diff --git a/ginac/matrix.cpp b/ginac/matrix.cpp index cfe3d6ec..3c46b17e 100644 --- a/ginac/matrix.cpp +++ b/ginac/matrix.cpp @@ -888,7 +888,7 @@ ex matrix::trace() const /** Characteristic Polynomial. Following mathematica notation the - * characteristic polynomial of a matrix M is defined as the determiant of + * characteristic polynomial of a matrix M is defined as the determinant of * (M - lambda * 1) where 1 stands for the unit matrix of the same dimension * as M. Note that some CASs define it with a sign inside the determinant * which gives rise to an overall sign if the dimension is odd. This method @@ -1118,7 +1118,7 @@ unsigned matrix::rank() const * more than once. According to W.M.Gentleman and S.C.Johnson this algorithm * is better than elimination schemes for matrices of sparse multivariate * polynomials and also for matrices of dense univariate polynomials if the - * matrix' dimesion is larger than 7. + * matrix' dimension is larger than 7. * * @return the determinant as a new expression (in expanded form) * @see matrix::determinant() */ @@ -1496,7 +1496,7 @@ int matrix::fraction_free_elimination(const bool det) * @param co is the column to be inspected * @param symbolic signal if we want the first non-zero element to be pivoted * (true) or the one with the largest absolute value (false). - * @return 0 if no interchange occured, -1 if all are zero (usually signaling + * @return 0 if no interchange occurred, -1 if all are zero (usually signaling * a degeneracy) and positive integer k means that rows ro and k were swapped. */ int matrix::pivot(unsigned ro, unsigned co, bool symbolic)