Next: , Previous: , Up: Internal Routines   [Contents][Index]


15.5.833 zero

zero, var1 [, var2, …]

zero(var [, mask])

The subroutine form fills the specified variables with zeroes. The function form returns a copy of var that is zeroed wherever mask is non-zero, or everywhere if no mask is specified.

The subroutine processes scalars and arrays (both real and complex), strings, and file maps. The function processes numerical scalars and arrays.