--- /dev/null
+function even = even(integer_n)
+ ## Returns true if its argument is even; false otherwise.
+ ##
+ ## INPUTS:
+ ##
+ ## * ``integer_n`` - The integer whose parity you're determining.
+ ##
+ ##
+ ## OUTPUTS:
+ ##
+ ## * ``even`` - True if `integer_n` is even, false otherwise.
+ ##
+ even = rem(integer_n, 2) == 0;
+end
--- /dev/null
+function odd = odd(integer_n)
+ ## Returns true if its argument is odd; false otherwise.
+ ##
+ ## INPUTS:
+ ##
+ ## * ``integer_n`` - The integer whose parity you're determining.
+ ##
+ ##
+ ## OUTPUTS:
+ ##
+ ## * ``odd`` - True if `integer_n` is odd, false otherwise.
+ ##
+
+ odd = !even(integer_n);
+end