p function

Synopsis

bool p(float prob)

Parameters

Returns

true or false, depending on prob and the current shape's seedian. if prob < 0 false is returned, and if prob > 1 true is returned.

 

This function returns true with probablity prob or false with probability (1 - prob).

Related

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.