Julia でベクトルとスカラーの演算をしたいのですができません。
julia> x = collect(1:10) + 10 ERROR: MethodError: no method matching +(::Array{Int64,1}, ::Int64) Closest candidates are: +(::Any, ::Any, ::Any, ::Any...) at operators.jl:502 +(::Complex{Bool}, ::Real) at complex.jl:292 +(::Missing, ::Number) at missing.jl:93 ... Stacktrace: [1] top-level scope at none:0
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。