randomly generates a non-negative number , i.e. from the set 0.0 , 1.0 . concode_field_sep double DELTA concode_field_sep void assertEqualElementWise concode_elem_sep void assertEqualElementWise concode_elem_sep double randNonZero concode_elem_sep SimpleMatrix randMatrix concode_elem_sep double randPositive concode_elem_sep SimpleMatrix randSpecialOrthogonalMatrix concode_elem_sep double randNonPositive concode_elem_sep SimpleMatrix randUpperTriangularMatrix concode_elem_sep SimpleMatrix randRotationMatrix3D concode_elem_sep SimpleMatrix randRotationMatrix2D concode_elem_sep double rand concode_elem_sep int rand concode_elem_sep SimpleMatrix randLowerTriangularMatrix concode_elem_sep SimpleMatrix randOrthogonalMatrix concode_elem_sep double randPmOne concode_elem_sep double randNotPmOne concode_elem_sep double randNegative concode_elem_sep SimpleVector randVector concode_elem_sep SimpleMatrix randMatrixNonSingular concode_elem_sep double randAng
double function ( ) { return ( Math . random ( ) < 0.5 ) ? 0.0 : Math . random ( ) ; }