build/modelscript.umd.js
function() {
            	var maxes = [];

            	for(var i = 1; i <= this.rows(); i++) {
            	    var max = null;
            	    var maxIndex = -1;

            	    for(var j = 1; j <= this.cols(); j++) {
            		if(max === null || this.e(i, j) > max) {
            		    max = this.e(i, j);
            		    maxIndex = j;
            		}
            	    }

            	    maxes.push(maxIndex);
            	}

            	return $V(maxes);
                }
function() {
            	var maxes = [];

            	for(var i = 1; i <= this.rows(); i++) {
            	    var max = null;
            	    var maxIndex = -1;

            	    for(var j = 1; j <= this.cols(); j++) {
            		if(max === null || this.e(i, j) > max) {
            		    max = this.e(i, j);
            		    maxIndex = j;
            		}
            	    }

            	    maxes.push(maxIndex);
            	}

            	return $V(maxes);
                }
function ( ) { var maxes = [ ] ; for ( var i = 1 ; i <= this . rows ( ) ; i ++ ) { var max = null ; var maxIndex = - 1 ; for ( var j = 1 ; j <= this . cols ( ) ; j ++ ) { if ( max === null || this . e ( i , j ) > max ) { max = this . e ( i , j ) ; maxIndex = j ; } } maxes . push ( maxIndex ) ; } return $V ( maxes ) ; }
return the indexes of the columns with the largest value for each row
return the indexes of the columns with the largest value for each row