public static Matrix reduce ( Matrix source ) { Matrix response = Matrix . Factory . zeros ( source . getRowCount ( ) , 1 ) ; for ( int row = 0 ; row < source . getRowCount ( ) ; ++ row ) { response . setAsDouble ( row , row , 0 ) ; } return source . getRowCount ( ) == source . getColumnCount ( ) ? Ginv . reduce ( source , response ) : response ; }
Mathematical operator to reduce the bandwidth of a HusoMatrix . The HusoMatrix must be a square HusoMatrix or no operations are performed .