I have this code that must be from an old version
function column_norms(X, i)
M = size(X)[2]
X_diff = X .- X[:, i]
norm_vector = [vecnorm(X_diff[:, k]) for k=1:M]
norm_vector[i] = 10^10
return(norm_vector)
ERROR:
UndefVarError: vecnorm not defined
Stacktrace:
[1] (::var"#9#10"{Array{Float64,2}})(::Int64) at .\none:0
[2] collect(::Base.Generator{UnitRange{Int64},var"#9#10"{Array{Float64,2}}}) at .\generator.jl:47
[3] column_norms(::Array{Float64,2}, ::Int64) at .\In[21]:65
[4] compute_norms(::Array{Float64,2}) at .\In[21]:56
[5] lyaponuv_k(::Array{Float64,1}, ::Int64, ::Int64, ::Int64) at .\In[21]:3
[6] lyaponuv(::Array{Float64,1}, ::Int64, ::Int64, ::Int64) at .\In[21]:81
[7] top-level scope at .\In[24]:31