double function ( Matrix < Double > arg0 ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . dim1 * arg0 . dim2 ; loc1 ++ ) loc0 += Math . pow ( ( Double ) arg0 . data [ loc1 ] , 2 ) ; return Math . sqrt ( loc0 ) ; }
compute the frobenius norm square root of the sum of squared entries of a matrix . see http://en.wikipedia.org/wiki/matrix_norm concode_field_sep PlaceHolder placeHolder concode_field_sep double rowAverage concode_elem_sep double maxDouble concode_elem_sep void rowInitNormal concode_elem_sep List<Double> rowDifference concode_elem_sep void columnInitNormal concode_elem_sep int maxInteger concode_elem_sep double rowScalarProduct concode_elem_sep Double rowScalarProduct concode_elem_sep void initNormal concode_elem_sep float maxFloat concode_elem_sep double rowScalarProductWithRowDifference concode_elem_sep void multiply concode_elem_sep void inc concode_elem_sep void inc concode_elem_sep void inc concode_elem_sep void inc concode_elem_sep double columnAverage