powered by
this function checks if the input is an integer scalar (integer-like value -- i.e., both 1L and 1.0 pass this check)
is_integer(x, n)
is the input
is the number of inputs