function createVector( N, bool ) {
	var strides;
	var buffer;
	var shape;
	var f;

	if ( bool ) {
		f = bctor;
	} else {
		f = ctor;
	}
	buffer = new Float64Array( N );
	shape = [ N ];
	strides = [ 1 ];
	return f( 'float64', buffer, shape, strides, 0, 'row-major' );
}
Returns a vector.

@private
@param {PositiveInteger} N - number of elements
@param {boolean} bool - boolean indicating whether to create a low-level ndarray
@returns {ndarray} vector