Skip to content
Prev 140508 / 398506 Next

generate random numbers subject to constraints

On Thu, 27 Mar 2008, Robert A LaBudde wrote:

            
The ratio is zero.

The subspace of the solution has lower dimension than the space you are 
sampling from.

So you will repeat '4' forever. (Up to machine accuracy, of course.)

And as I pointed out in my response to Ala' Jaouni, the 'solution' may lie 
in the null space. When it does not it will be a point, a line segment, a 
piece of a plane, or a 3 dimensional simplex.

Chuck
Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901