Thank you! I did search the documentation but I could not find anything that explicitly describes “in-place.” The only context I could find it in was described in conjunction with broadcast.
I’m still struggling to wrap my head around the differences. I wanted to clarify a few things. Is broadcasting (using the dot) syntax is the same as operating in-place (using the !) syntax? For some reason I had thought they were different because of a thread I made a while back. On that thread, I was advised not to use push! but to use broadcast operators for the mathematics I was doing. If I properly understand, they are both operating in-place. If that is indeed the case, push! was not recommended for different reasons not to do with operating-in-place.
Also, is inplace just a dated way of using an exclamation point? The original code was written 5 years ago.
If that’s the case, just to be clear, you are saying that these two lines are equivalent:
unwrapped = inplace ? yphase : copy(yphase)
unwrap(yphase) = unwrap!(copy(yphase))
Thanks a bunch!