odd: Check whether a vector or matrix of numbers are odd.

Description Usage Arguments Value Author(s) See Also

Description

Credit goes to Gregory Warnes, since this is copied from gtools, so as to avoid loading an entire library for just one function

Usage

1
odd(x)

Arguments

x

a vector or matrix of numbers

Value

a logical vector or matrix, same size and dimensions as x

Author(s)

Gregory Warnes, Mark Cowley, 2/5/08

See Also

even


drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.