glmdenoise.utils.choose module
function f = choose(flag,yes,no)
function f = choose(flag,yes,no)
<flag> is a truth value (0 or 1)
<yes> is something
<no> is something
if <flag>, return <yes>. otherwise, return <no>.
-
glmdenoise.utils.choose.choose(flag, yes, no)[source]