hadamard product
This commit is contained in:
parent
8cf5afdd79
commit
b54281bdea
@ -17,6 +17,8 @@ unstack(xs, dim = 1) = [slicedim(xs, dim, i) for i = 1:size(xs, dim)]
|
||||
convertel(T::Type, xs::AbstractArray) = convert.(T, xs)
|
||||
convertel{T}(::Type{T}, xs::AbstractArray{T}) = xs
|
||||
|
||||
a ∘ b = a .* b
|
||||
|
||||
# Tuples
|
||||
|
||||
mapt(f, x) = f(x)
|
||||
|
Loading…
Reference in New Issue
Block a user