Hello,
I would like to use copyto! in my code. So I created a
_copyto!!(x::AbstractArray, y::AbstractArray) = copyto!(x,y)
_copyto!!(x,y) = VI.add!!(x, y, VI.One(), VI.Zero())
I would like to use _copyto!! on StaticArrays but it will fall back to copyto!(x,y) in the above code because they are AbstractArray.
Apart from adding StaticArray as a dependecny and adding the methods _copyto!!(x::SA,y::SA), do you see a better way using the framework of VectorInterface?
Hello,
I would like to use
copyto!in my code. So I created aI would like to use
_copyto!!on StaticArrays but it will fall back tocopyto!(x,y)in the above code because they areAbstractArray.Apart from adding
StaticArrayas a dependecny and adding the methods_copyto!!(x::SA,y::SA), do you see a better way using the framework of VectorInterface?