build/modelscript.umd.js
function(fn) {
            	var elements = [];
            	this.each(function(x, i) {
            	    elements.push(fn(x, i));
            	});
            	return Vector.create(elements);
                }
function(fn) {
            	var elements = [];
            	this.each(function(x, i) {
            	    elements.push(fn(x, i));
            	});
            	return Vector.create(elements);
                }
function ( fn ) { var elements = [ ] ; this . each ( function ( x , i ) { elements . push ( fn ( x , i ) ) ; } ) ; return Vector . create ( elements ) ; }
Maps the vector to another vector according to the given function
Maps the vector to another vector according to the given function