function dvarmtk( N, mean, correction, x, strideX, offsetX ) {
	var ix;
	var M2;
	var d;
	var n;
	var i;

	n = N - correction;
	if ( N <= 0 || n <= 0.0 ) {
		return NaN;
	}
	if ( N === 1 || strideX === 0 ) {
		return 0.0;
	}
	ix = offsetX;
	M2 = 0.0;
	for ( i = 0; i < N; i++ ) {
		d = x[ ix ] - mean;
		M2 += d * d;
		ix += strideX;
	}
	return M2 / n;
}
Computes the variance of a double-precision floating-point strided array provided a known mean and using a one-pass textbook algorithm.

@param {PositiveInteger} N - number of indexed elements
@param {number} mean - mean
@param {number} correction - degrees of freedom adjustment
@param {Float64Array} x - input array
@param {integer} strideX - stride length
@param {NonNegativeInteger} offsetX - starting index
@returns {number} variance

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

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

var v = dvarmtk( 4, 1.25, 1, x, 2, 1 );
// returns 6.25