Skip to content

Commit

Permalink
Merge pull request #57 from frankebel/main
Browse files Browse the repository at this point in the history
docs: add documentation for sampling_points
  • Loading branch information
SamuelBadr authored Nov 25, 2024
2 parents 8cad759 + fb46bc6 commit 35f6721
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/abstract.jl
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ function LinearAlgebra.cond(sampling::AbstractSampling)
first(sampling.matrix_svd.S) / last(sampling.matrix_svd.S)
end

"""
sampling_points(sampling::AbstractSampling)
Return sampling points.
"""
sampling_points(sampling::AbstractSampling) = sampling.sampling_points

function Base.show(io::IO, ::MIME"text/plain", smpl::S) where {S<:AbstractSampling}
Expand Down

0 comments on commit 35f6721

Please sign in to comment.