Broadcasting
- Julia allows for not having to always loop through sets through its “broadcasting” (.=).
- Policy files do not use broadcasting to simplify and avoid confusion related to the rules of broadcasting.
- You may see some broadcasting equations still remain in the policy files:
|
Target .= 0 # where Target is defined by Year |
- These instances are being modified to eliminate the broadcasting and use loops instead, such as:
|
for year in Years Target[year] = 0 end |