julia> function foo(a, b, c)
return (sum(a) + sum(b)) / c
end
julia> foo.(eachrow(a),eachrow(b),c)
2-element Vector{Float64}:
10.0
26.0
btw, you probably should drop any and all type annotation, the c::Float64 is clearly too restrictive, and the minimal fix you need is Vector → AbstractVector