Skip to content

Commit

Permalink
fix typos (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaette authored Oct 19, 2023
1 parent e29a810 commit 0d6a42e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/src/custom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Base.delete_method(
)
)

# The seconnd option is when your class of linear maps that are modelled by your custom
# The second option is when your class of linear maps that are modelled by your custom
# `LinearMap` subtype are invariant under taking adjoints and transposes.

LinearAlgebra.adjoint(A::MyFillMap) = MyFillMap(adjoint(A.λ), reverse(A.size))
Expand Down
4 changes: 2 additions & 2 deletions docs/src/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@

## What's new in v3.4

* In `WrappedMap` constructors, as implicitly called in addition and mutliplication
* In `WrappedMap` constructors, as implicitly called in addition and multiplication
of `LinearMap`s and `AbstractMatrix` objects, (conjugate) symmetry and positive
definiteness are only determined for matrix types for which these checks are expected
to be very cheap or even known at compile time based on the concrete type. The default
Expand Down Expand Up @@ -160,7 +160,7 @@

## What's new in v3.0

* BREAKING change: Internally, any dependence on former `A*_mul_B!` methods is abandonned.
* BREAKING change: Internally, any dependence on former `A*_mul_B!` methods is abandoned.
For custom `LinearMap` subtypes, there are now two options:
1. In case your type is invariant under adjoint/transposition (i.e.,
`adjoint(L::MyLinearMap)::MyLinearMap` similar to, for instance,
Expand Down
2 changes: 1 addition & 1 deletion docs/src/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ InverseMap

Types for lazy [column-wise](https://en.wikipedia.org/wiki/Khatri%E2%80%93Rao_product#Column-wise_Kronecker_product)
and [row-wise](https://en.wikipedia.org/wiki/Khatri%E2%80%93Rao_product#Face-splitting_product)
Kronecker product, respectively, also referrerd to
Kronecker product, respectively, also referred to
as Khatri-Rao and transposed Khatri-Rao (or face-splitting) product.

```@docs
Expand Down
2 changes: 1 addition & 1 deletion src/LinearMaps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ representation `(M, N)`, i.e., for functions `f` acting on length `N` vectors an
length `M` vectors (with default value `N=M`). Preferably, also the `eltype` `T` of the
corresponding matrix representation needs to be specified, i.e., whether the action of `f`
on a vector will be similar to, e.g., multiplying by numbers of type `T`. If not specified,
the devault value `T=Float64` will be assumed. Optionally, a corresponding function `fc`
the default value `T=Float64` will be assumed. Optionally, a corresponding function `fc`
can be specified that implements the adjoint (or transpose in the real case) of `f`.
The keyword arguments and their default values are:
Expand Down
2 changes: 1 addition & 1 deletion src/khatrirao.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ KhatriRaoMap{T}(maps::As) where {T, As} = KhatriRaoMap{T, As}(maps)
khatrirao(A::MapOrVecOrMat, B::MapOrVecOrMat) -> KhatriRaoMap
Construct a lazy representation of the Khatri-Rao (or column-wise Kronecker) product of two
maps or arrays `A` and `B`. For the application to vectors, the tranpose action of `A` on
maps or arrays `A` and `B`. For the application to vectors, the transpose action of `A` on
vectors needs to be defined.
"""
khatrirao(A::MapOrVecOrMat, B::MapOrVecOrMat) =
Expand Down
2 changes: 1 addition & 1 deletion src/trace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function _tr(A::OOPFunctionMap{T}) where {T}
end
return s
end
# specialiations
# specialisations
_tr(A::AbstractVecOrMat) = tr(A)
_tr(A::WrappedMap) = _tr(A.lmap)
_tr(A::TransposeMap) = _tr(A.lmap)
Expand Down

0 comments on commit 0d6a42e

Please sign in to comment.