double function ( Matrix < Double > arg0 , int arg1 ) { if ( arg0 . dim2 == 0 ) throw new IllegalArgumentException ( "srini_string" ) ; double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . dim2 ; loc1 ++ ) loc0 += ( Double ) arg0 . data [ arg1 * arg0 . dim2 + loc1 ] ; return loc0 / arg0 . dim2 ; }
compute the average value of the entries in a row of a matrix . concode_field_sep PlaceHolder placeHolder concode_field_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 double frobeniusNorm 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