Institut de Robòtica i Informàtica Industrial

Valid

PURPOSE ^

True for poins inside the discrete space.

SYNOPSIS ^

function b=Valid(DS,s)

DESCRIPTION ^

   True for poins inside the discrete space.

   Returns true if the given 's' is one of the valid values for the
   discrete space 'DS' (i.e., it is an integer from 1 to 'dim').

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function b=Valid(DS,s)
0002 %   True for poins inside the discrete space.
0003 %
0004 %   Returns true if the given 's' is one of the valid values for the
0005 %   discrete space 'DS' (i.e., it is an integer from 1 to 'dim').
0006 
0007   b=(s>0)&&(s<=DS.man)&&(floor(s)==s);
0008


Institut de Robòtica i Informàtica Industrial

Generated on Wed 05-Aug-2009 15:05:21 by m2html © 2003