Skip to content

Commit 24c6ea7

Browse files
st--devmotion
andauthored
Apply suggestions from code review
Co-authored-by: David Widmann <[email protected]>
1 parent b9cb3df commit 24c6ea7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/approximations/nystrom.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ function NystromFact(W::Matrix{<:Real}, C::Matrix{<:Real})
6767
end
6868

6969
@doc raw"""
70-
nystrom(k::Kernel, X::Vector, S::Vector)
70+
nystrom(k::Kernel, X::AbstractVector, S::AbstractVector{<:Integer})
7171
72-
Computes a factorization of Nystrom approximation of the square kernel matrix
72+
Compute a factorization of a Nystrom approximation of the square kernel matrix
7373
of data vector `X` with respect to kernel `k`, using indices `S`.
7474
Returns a `NystromFact` struct which stores a Nystrom factorization satisfying:
7575
```math
@@ -83,9 +83,9 @@ function nystrom(k::Kernel, X::AbstractVector, S::AbstractVector{<:Integer})
8383
end
8484

8585
@doc raw"""
86-
nystrom(k::Kernel, X::Vector, r::Real)
86+
nystrom(k::Kernel, X::AbstractVector, r::Real)
8787
88-
Computes a factorization of Nystrom approximation of the square kernel matrix
88+
Compute a factorization of a Nystrom approximation of the square kernel matrix
8989
of data vector `X` with respect to kernel `k` using a sample ratio of `r`.
9090
Returns a `NystromFact` struct which stores a Nystrom factorization satisfying:
9191
```math

0 commit comments

Comments
 (0)