f::prime_p (public)

 f::prime_p n

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Example: f::filter f::prime_p [f::enum_from_to 1 100] = {2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97}

Parameters:
n (required)
Returns:
boolean, 1 if n is prime

Partial Call Graph (max 5 caller/called nodes):
%3 test_functional_api functional_api (test acs-tcl) f::prime_p f::prime_p test_functional_api->f::prime_p f::even_p f::even_p (public) f::prime_p->f::even_p

Testcases:
functional_api
[ show source ]
Show another procedure: