1414"""
1515 add_conv(out::Vector{T}, E::Vector{T}, k::Vector{T})
1616Returns the vector `out + fastconv(E, k)`. Note that only
17- `MA.mutable_buffered_operate !` is implemented.
17+ `MA.buffered_operate !` is implemented.
1818"""
1919function add_conv end
2020
@@ -24,7 +24,7 @@ function add_conv end
2424function MA. buffer_for (:: typeof (add_conv), :: Type{Vector{T}} , :: Type{Vector{T}} , :: Type{Vector{T}} ) where {T}
2525 return MA. buffer_for (MA. add_mul, T, T, T)
2626end
27- function MA. mutable_buffered_operate ! (buffer, :: typeof (add_conv), out:: Vector{T} , E:: Vector{T} , k:: Vector{T} ) where {T}
27+ function MA. buffered_operate ! (buffer, :: typeof (add_conv), out:: Vector{T} , E:: Vector{T} , k:: Vector{T} ) where {T}
2828 for x in eachindex (E)
2929 for i in eachindex (k)
3030 j = x + i - 1
@@ -56,11 +56,11 @@ macro register_mutable_arithmetic(name)
5656 return MA. buffer_for (add_conv, V, V, V)
5757 end
5858
59- function MA. mutable_buffered_operate ! (buffer, :: typeof (MA. add_mul),
59+ function MA. buffered_operate ! (buffer, :: typeof (MA. add_mul),
6060 p:: $poly , q:: $poly , r:: $poly )
6161 ps, qs, rs = coeffs (p), coeffs (q), coeffs (r)
6262 _resize_zeros! (ps, length (qs) + length (rs) - 1 )
63- MA. mutable_buffered_operate ! (buffer, add_conv, ps, qs, rs)
63+ MA. buffered_operate ! (buffer, add_conv, ps, qs, rs)
6464 return p
6565 end
6666 end
0 commit comments