Fix typos

This commit is contained in:
Mike Taves
2024-08-02 00:06:24 +00:00
committed by Charles Schlosser
parent fd98cc49f1
commit c593e9e948
26 changed files with 38 additions and 38 deletions

View File

@@ -70,7 +70,7 @@ bool bicgstabl(const MatrixType &mat, const Rhs &rhs, Dest &x, const Preconditio
rHat.col(0) = rhs - mat * x0; // r_0
x.setZero(); // This will contain the updates to the solution.
// rShadow is arbritary, but must never be orthogonal to any residual.
// rShadow is arbitrary, but must never be orthogonal to any residual.
VectorType rShadow = VectorType::Random(N);
VectorType x_prime = x;
@@ -313,7 +313,7 @@ class BiCGSTABL : public IterativeSolverBase<BiCGSTABL<MatrixType_, Precondition
/** \internal */
/** Loops over the number of columns of b and does the following:
1. sets the tolerence and maxIterations
1. sets the tolerance and maxIterations
2. Calls the function that has the core solver routine
*/
template <typename Rhs, typename Dest>

View File

@@ -150,7 +150,7 @@ bool idrstabl(const MatrixType &mat, const Rhs &rhs, Dest &x, const Precondition
without any additional MV.
Contrary to what one would suspect, the comparison with ==0.0 for
floating-point types is intended here. Any arbritary non-zero u is fine
floating-point types is intended here. Any arbitrary non-zero u is fine
to continue, however if u contains either NaN or Inf the algorithm will
break down.
*/