randomly generates either +1.0 or -1.0 , i.e. from the set -1 , +1 . concode_field_sep double DELTA concode_field_sep void assertEqualElementWise concode_elem_sep void assertEqualElementWise concode_elem_sep double randNonZero concode_elem_sep double randNonNegative 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 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 ) ? - 1.0 : 1.0 ; }