
{{alias}}( N, alpha, x, strideX )
    Adds a scalar constant to each single-precision floating-point strided
    array element and computes the sum using a second-order iterative
    Kahan–Babuška algorithm.

    The `N` and stride parameters determine which elements in the strided array
    are accessed at runtime.

    Indexing is relative to the first index. To introduce an offset, use a typed
    array view.

    If `N <= 0`, the function returns `0.0`.

    Parameters
    ----------
    N: integer
        Number of indexed elements.

    alpha: number
        Scalar constant.

    x: Float32Array
        Input array.

    strideX: integer
        Stride length.

    Returns
    -------
    out: number
        Sum.

    Examples
    --------
    // Standard Usage:
    > var x = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 2.0 ] );
    > {{alias}}( x.length, 5.0, x, 1 )
    16.0

    // Using `N` and stride parameters:
    > x = new {{alias:@stdlib/array/float32}}( [ -2.0, 1.0, 1.0, -5.0, 2.0, -1.0 ] );
    > {{alias}}( 3, 5.0, x, 2 )
    16.0

    // Using view offsets:
    > var x0 = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0 ] );
    > var x1 = new {{alias:@stdlib/array/float32}}( x0.buffer, x0.BYTES_PER_ELEMENT*1 );
    > {{alias}}( 3, 5.0, x1, 2 )
    14.0


{{alias}}.ndarray( N, alpha, x, strideX, offsetX )
    Adds a scalar constant to each single-precision floating-point strided
    array element and computes the sum using a second-order iterative
    Kahan–Babuška algorithm and alternative indexing semantics.

    While typed array views mandate a view offset based on the underlying
    buffer, the offset parameter supports indexing semantics based on a
    starting index.

    Parameters
    ----------
    N: integer
        Number of indexed elements.

    alpha: number
        Scalar constant.

    x: Float32Array
        Input array.

    strideX: integer
        Stride length.

    offsetX: integer
        Starting index.

    Returns
    -------
    out: number
        Sum.

    Examples
    --------
    // Standard Usage:
    > var x = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 2.0 ] );
    > {{alias}}.ndarray( x.length, 5.0, x, 1, 0 )
    16.0

    // Using offset parameter:
    > x = new {{alias:@stdlib/array/float32}}( [ 1.0, -2.0, 3.0, 2.0, 5.0, -1.0 ] );
    > {{alias}}.ndarray( 3, 5.0, x, 2, 1 )
    14.0

    See Also
    --------

