lindahua / Devectorize.jl

A Julia framework for delayed expression evaluation
MIT License
115 stars 17 forks source link

Support for sign() #42

Closed ZacCranko closed 1 month ago

ZacCranko commented 9 years ago

Are there plans to support sign()? Just experimented with Devectorize.jl with a little function to implement soft thresholding and got the following error

julia> @inspect_devec y = sign(x) .* max(abs(x) .- λ,0)
ERROR: Devectorize.DeError("Unrecognized function sign with 1 arguments (in Devectorize)")