This is trivial to write myself but I wanted to check that I am not missing an already-defined function. I need to scan an Int32 array replacing all instances of typemin(Int32), which is the missing value sentinel used by R, with zero(Int32). Is such substitution implemented by a function in Base?
- [julia-users] in-place substitution for an array? Douglas Bates
- [julia-users] Re: in-place substitution for an arra... Steven G. Johnson