function idamax( N, x, strideX ) {
	var ox = stride2offset( N, strideX );
	return ndarray( N, x, strideX, ox );
}
Finds the index of the first element having the maximum absolute value.

@param {PositiveInteger} N - number of indexed elements
@param {Float64Array} x - input array
@param {integer} strideX - `x` stride length
@returns {integer} index value

@example
var Float64Array = require( '@stdlib/array/float64' );

var x = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0 ] );

var idx = idamax( x.length, x, 1 );
// returns 4