double function ( ) { double loc0 = 1.0 ; for ( int loc1 = 0 ; loc1 < r . numRows ; loc1 ++ ) { double loc2 = r . get ( loc1 , 0 ) ; loc0 *= Math . exp ( - loc2 * loc2 / 2.0 ) ; } return loc0 ; }
computes the likelihood of the random draw concode_field_sep Random rand concode_elem_sep DenseMatrix64F A concode_elem_sep DenseMatrix64F r concode_field_sep void next