Institut de Robòtica i Informàtica Industrial

UniformProbability

PURPOSE ^

Uniform probability value on a continuous space.

SYNOPSIS ^

function p=UniformProbability(CS)

DESCRIPTION ^

   Uniform probability value on a continuous space.

   Returns the value of a uniform probability defined on the bounds of the
   given continuous space.

   See also @CSpace/UniformDistribution.

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function p=UniformProbability(CS)
0002 %   Uniform probability value on a continuous space.
0003 %
0004 %   Returns the value of a uniform probability defined on the bounds of the
0005 %   given continuous space.
0006 %
0007 %   See also @CSpace/UniformDistribution.
0008 
0009   p=prod(ones(1,CS.dim)./CS.range);
0010


Institut de Robòtica i Informàtica Industrial

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