function complex( out, data, stride, offset ) {
	var v;
	var s;
	var i;

	s = stride * 2;
	i = offset * 2;
	v = 1.0;
	while ( i >= 0 && i < data.length ) {
		data[ i ] = v;     // real component
		data[ i+1 ] = 0.0; // imaginary component
		i += s;
		v += 1.0;
	}
	return out;
}
Fills a complex number array with linearly spaced numeric elements which increment by 1 starting from one.

@private
@param {(Complex128Array|Complex64Array)} out - output complex number array
@param {(Float64Array|Float32Array)} data - output array data
@param {integer} stride - output array stride
@param {NonNegativeInteger} offset - output array index offset
@returns {(Complex128Array|Complex64Array)} output array

@example
var Complex128Array = require( '@stdlib/array/complex128' );
var reinterpret128 = require( '@stdlib/strided/base/reinterpret-complex128' );

var out = new Complex128Array( [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] );
// returns <Complex128Array>

var data = reinterpret128( out, 0 );
// returns <Float64Array>[ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ]

var arr = complex( out, data, 1, 0 );
// returns <Complex128Array>

var bool = ( arr === out );
// returns true

data = reinterpret128( out, 0 );
returns <Float64Array>[ 1.0, 0.0, 2.0, 0.0, 3.0, 0.0 ]