12 lines
311 B
Julia
12 lines
311 B
Julia
|
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)
|