next up previous index
Next: Equivalence of Variable Names Up: Expressions Previous: Unary Functions for Opus   Index


Operators for Opus Expressions

All of the numpy operators can be used in Opus expressions, including + - * / ** . Note the numpy semantics for these -- for example, * does elementwise multiplication of two numpy arrays, or with a scalar argument, scales all the elements in an array, e.g. 1.2*household.income.


next up previous index
Next: Equivalence of Variable Names Up: Expressions Previous: Unary Functions for Opus   Index
info (at) urbansim.org