Home > freetb4matlab > nnet > isposint.m

isposint

PURPOSE ^

% @code{isposint} returns true for positive integer values.

SYNOPSIS ^

function f = isposint(n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} @var{f} = isposint(@var{n})
% @code{isposint} returns true for positive integer values.
% 
% @example
%   isposint(1)   % this returns TRUE
%   isposint(0.5) % this returns FALSE
%   isposint(0)   % this also return FALSE
%   isposint(-1)  % this also returns FALSE
% @end example
%
% 
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003