n-by-value-and-aliasing" class="level3 unnumbered">
<h3 class="unnumbered anchored" data-anchor-id="assign-by-value-and-aliasing">Assign-by-value and aliasing</h3>
<p>Aliasing issues arise when there are references to the same data structure on the right-hand and left-hand side of an assignment. For example, consider the array <code>a</code> in the following code fragment.</p>
<div class="sourceCode" id="cb17"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb17-1"><a hre