From 1f48c144e0779b0b62a6a5b5f5c5bfaaca7e46d6 Mon Sep 17 00:00:00 2001 From: Alexander Seiler Date: Thu, 6 Apr 2023 03:19:44 +0200 Subject: [PATCH] Correct some typos Signed-off-by: Alexander Seiler --- README.md | 2 +- src/cofactor_det.jl | 2 +- src/homogeneous.jl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4548c3e..e2a1015 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ julia> A = rand(Mod{10},5,5) Mod{10}(5) Mod{10}(4) Mod{10}(5) Mod{10}(9) Mod{10}(0) julia> detx(A) -┌ Warning: Using cofactor expansion to calcuate determinant; may be very slow. +┌ Warning: Using cofactor expansion to calculate determinant; may be very slow. └ @ LinearAlgebraX ~/.julia/dev/LinearAlgebraX/src/detx.jl:41 Mod{10}(4) ``` diff --git a/src/cofactor_det.jl b/src/cofactor_det.jl index fd05f54..526d822 100644 --- a/src/cofactor_det.jl +++ b/src/cofactor_det.jl @@ -4,7 +4,7 @@ export cofactor_det `cofactor(A::AbstractMatrix{T})` computes the determinant of `A` using cofactor expansion (which can be slow). The return type of this method is a number of type `T`. -The entires in `A` can be polynomials and that won't work with +The entries in `A` can be polynomials and that won't work with Julia's `det`. """ function cofactor_det(A::AbstractMatrix{T}) where {T} diff --git a/src/homogeneous.jl b/src/homogeneous.jl index 550af4d..affb10f 100644 --- a/src/homogeneous.jl +++ b/src/homogeneous.jl @@ -25,7 +25,7 @@ HVector(x...) = HVector(collect(x)) HVector(x::HVector) = HVector(x.data) """ -An `HMatrix` is a homogenous matrix; two of these are equal if they are +An `HMatrix` is a homogeneous matrix; two of these are equal if they are nonzero multiples of each other. Given a two-dimensional array `A`, `HMatrix(A)` creates a new homogeneous