dissertation_work/Dissertation/sharktooth_multidimensional.jl

12 lines
311 B
Julia
Raw Normal View History

2024-02-19 17:04:37 +00:00
using Random
using Distributions
using Plots
using LinearAlgebra
# ===============================================================
function max_conv_operator(samples, f_samples, input, L)
return maximum(f_samples .- L .* norm(input .- samples, 1))
end
x = rand(Uniform(0,1),100)
y = rand(Uniform(0,1),100)