# Phase Unwrapping function question

**URL:** <https://discourse.julialang.org/t/phase-unwrapping-function-question/15448>\
**Category:** General Usage\
**Created:** [September 25, 2018, 3:46am UTC](https://discourse.julialang.org/t/phase-unwrapping-function-question/15448 "2018-09-25T03:46:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Nakul\_Tiruviluamala](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nakul_tiruviluamala/32/11228_2.png) [@Nakul\_Tiruviluamala](https://discourse.julialang.org/u/Nakul_Tiruviluamala)\
**Post date:** [September 25, 2018, 9:57pm UTC](https://discourse.julialang.org/t/phase-unwrapping-function-question/15448/5 "2018-09-25T21:57:00Z")

</div>

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](https://docs.julialang.org/en/v0.6.0/manual/functions/) 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](https://discourse.julialang.org/t/for-loop-that-references-two-different-arrays/14782/7). 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:

```julia
unwrapped = inplace ? yphase : copy(yphase)
unwrap(yphase) = unwrap!(copy(yphase))

```

Thanks a bunch!

---

_[View the full topic](https://discourse.julialang.org/t/phase-unwrapping-function-question/15448)._
