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


15.5.406 one

one, x [, …]

one(x)

The function form returns a copy of numerical variable x in which each element is set equal to 1. The subroutine form replaces all elements of the numerical variables with the value 1. The subroutine form ignores non-numerical arguments; these generate errors in the function form.

See also: zero