Skip to content

Commit 6f41337

Browse files
authored
Fix some typos (#106)
Closes #103
1 parent 52f0a3d commit 6f41337

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/eigenGeneral.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ function doubleShiftQR!(
248248
Htmp22 = HH[istart+3, istart+1]
249249
HH[istart+3, istart+1] = 0
250250
else
251-
# values doen't matter in this case but variables should be initialized
251+
# values don't matter in this case but variables should be initialized
252252
Htmp21 = Htmp22 = Htmp11
253253
end
254254
G1, r = givens(

src/lapack.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ for (f, elty) in ((:dtgevc_, :Float64), (:stgevc_, :Float32))
670670
if mm != n
671671
throw(
672672
DimensionMismatch(
673-
"the number of columne in the output matrices are $mm, but should be $n",
673+
"the number of columns in the output matrices are $mm, but should be $n",
674674
),
675675
)
676676
end

src/svd.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ A generic singular value decomposition (SVD). The implementation only uses Julia
572572
573573
- `tol`: The relative tolerance for determining convergence. The default value is `eltype(T)` where `T` is the element type of the input matrix bidiagonal (i.e. after converting the matrix to bidiagonal form).
574574
575-
- `full`: Sepcifies if all the left and right singular vectors be returned or if only the vectors us to the number of rows and columns of the input matrix `A` should be returned (the default).
575+
- `full`: If set to `true` then all the left and right singular vectors are returned. If set to `false` then only the vectors corresponding to the number of rows and columns of the input matrix `A` are returned (the default).
576576
577577
- `debug`: A Boolean flag to activate debug information during the executions of the algorithm. The default is false.
578578
@@ -613,7 +613,7 @@ function LinearAlgebra.svd!(
613613
# Convert the input matrix A to bidiagonal form and return a BidiagonalFactorization object
614614
BF = bidiagonalize!(A)
615615

616-
# The location of the super/sub-diagonal of the bidiagonal matrix depends on the aspect ratio of the input. For tall and square matrices, the bidiagonal matrix is upper whereas it is lower for wide input matrices as illustrated below. The 'O' entried indicate orthogonal (unitary) matrices.
616+
# The location of the super/sub-diagonal of the bidiagonal matrix depends on the aspect ratio of the input. For tall and square matrices, the bidiagonal matrix is upper whereas it is lower for wide input matrices as illustrated below. The 'O' entries indicate orthogonal (unitary) matrices.
617617

618618
# A = Q_l * B * Q_r^H
619619

test/qr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using GenericLinearAlgebra: qrBlocked!
1919
AqrQ = Aqr[Tuple{:QBlocked}]
2020
if m >= n
2121
@test (AqrQ'A)[1:min(m, n), :] Aqr[Tuple{:R}]
22-
else # For type stbility getindex(,Tuple{:R}) throw when the output is trapezoid
22+
else # For type stability getindex(,Tuple{:R}) throw when the output is trapezoid
2323
@test (AqrQ'A) triu(Aqr.factors)
2424
end
2525
@test AqrQ' * (AqrQ * A) A

test/rectfullpacked.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using Test
22
import GenericLinearAlgebra
33
import GenericLinearAlgebra: Ac_mul_A_RFP, TriangularRFP
44

5-
@testset "Rectuangular Full Pack Format" begin
5+
@testset "Rectangular Full Pack Format" begin
66

77
@testset "Core generic functionality" for n in (6, 7), uplo in (:U, :L)
88

0 commit comments

Comments
 (0)