return the diagonal matrix of singular values concode_field_sep int ncu concode_elem_sep double[] s concode_elem_sep double[][] U concode_elem_sep double[][] V concode_elem_sep long serialVersionUID concode_elem_sep int m concode_elem_sep int n concode_elem_sep boolean thin concode_field_sep SimpleMatrix getV concode_elem_sep SimpleMatrix inverse concode_elem_sep double norm2 concode_elem_sep int rank concode_elem_sep double cond concode_elem_sep double[] getSingularValues concode_elem_sep SimpleMatrix getreciprocalS concode_elem_sep SimpleMatrix getU
SimpleMatrix function ( ) { SimpleMatrix loc0 = new SimpleMatrix ( new Matrix ( m >= n ? ( thin ? n : ncu ) : ncu , n ) ) ; for ( int loc1 = Math . min ( m , n ) - 1 ; loc1 >= 0 ; loc1 -- ) loc0 . setElementValue ( loc1 , loc1 , s [ loc1 ] ) ; return loc0 ; }