# Extended BLAS > Standard library extensions to base basic linear algebra subprograms (BLAS).
## Usage ```javascript var extblas = require( '@stdlib/blas/ext/base' ); ``` #### extblas Standard library extensions to base basic linear algebra subprograms (BLAS). ```javascript var ns = extblas; // returns {...} ```
- [`dapx( N, alpha, x, stride )`][@stdlib/blas/ext/base/dapx]: add a constant to each element in a double-precision floating-point strided array. - [`dapxsum( N, alpha, x, stride )`][@stdlib/blas/ext/base/dapxsum]: add a constant to each double-precision floating-point strided array element and compute the sum. - [`dapxsumkbn( N, alpha, x, stride )`][@stdlib/blas/ext/base/dapxsumkbn]: add a constant to each double-precision floating-point strided array element and compute the sum using an improved Kahan–Babuška algorithm. - [`dapxsumkbn2( N, alpha, x, stride )`][@stdlib/blas/ext/base/dapxsumkbn2]: add a constant to each double-precision floating-point strided array element and compute the sum using a second-order iterative Kahan–Babuška algorithm. - [`dapxsumors( N, alpha, x, stride )`][@stdlib/blas/ext/base/dapxsumors]: add a constant to each double-precision floating-point strided array element and compute the sum using ordinary recursive summation. - [`dapxsumpw( N, alpha, x, stride )`][@stdlib/blas/ext/base/dapxsumpw]: add a constant to each double-precision floating-point strided array element and compute the sum using pairwise summation. - [`dasumpw( N, x, stride )`][@stdlib/blas/ext/base/dasumpw]: calculate the sum of absolute values (_L1_ norm) of double-precision floating-point strided array elements using pairwise summation. - [`dcusum( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dcusum]: calculate the cumulative sum of double-precision floating-point strided array elements. - [`dcusumkbn( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dcusumkbn]: calculate the cumulative sum of double-precision floating-point strided array elements using an improved Kahan–Babuška algorithm. - [`dcusumkbn2( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dcusumkbn2]: calculate the cumulative sum of double-precision floating-point strided array elements using a second-order iterative Kahan–Babuška algorithm. - [`dcusumors( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dcusumors]: calculate the cumulative sum of double-precision floating-point strided array elements using ordinary recursive summation. - [`dcusumpw( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dcusumpw]: calculate the cumulative sum of double-precision floating-point strided array elements using pairwise summation. - [`dfill( N, alpha, x, stride )`][@stdlib/blas/ext/base/dfill]: fill a double-precision floating-point strided array with a specified scalar constant. - [`dnanasum( N, x, stride )`][@stdlib/blas/ext/base/dnanasum]: calculate the sum of absolute values (_L1_ norm) of double-precision floating-point strided array elements, ignoring `NaN` values. - [`dnanasumors( N, x, stride )`][@stdlib/blas/ext/base/dnanasumors]: calculate the sum of absolute values (_L1_ norm) of double-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation. - [`dnannsum( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/dnannsum]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values. - [`dnannsumkbn( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/dnannsumkbn]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using an improved Kahan–Babuška algorithm. - [`dnannsumkbn2( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/dnannsumkbn2]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using a second-order iterative Kahan–Babuška algorithm. - [`dnannsumors( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/dnannsumors]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation. - [`dnannsumpw( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/dnannsumpw]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using pairwise summation. - [`dnansum( N, x, stride )`][@stdlib/blas/ext/base/dnansum]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values. - [`dnansumkbn( N, x, stride )`][@stdlib/blas/ext/base/dnansumkbn]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using an improved Kahan–Babuška algorithm. - [`dnansumkbn2( N, x, stride )`][@stdlib/blas/ext/base/dnansumkbn2]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using a second-order iterative Kahan–Babuška algorithm. - [`dnansumors( N, x, stride )`][@stdlib/blas/ext/base/dnansumors]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation. - [`dnansumpw( N, x, stride )`][@stdlib/blas/ext/base/dnansumpw]: calculate the sum of double-precision floating-point strided array elements, ignoring `NaN` values and using pairwise summation. - [`drev( N, x, stride )`][@stdlib/blas/ext/base/drev]: reverse a double-precision floating-point strided array in-place. - [`dsapxsum( N, alpha, x, stride )`][@stdlib/blas/ext/base/dsapxsum]: add a constant to each single-precision floating-point strided array element and compute the sum using extended accumulation and returning an extended precision result. - [`dsapxsumpw( N, alpha, x, stride )`][@stdlib/blas/ext/base/dsapxsumpw]: add a constant to each single-precision floating-point strided array element and compute the sum using pairwise summation with extended accumulation and returning an extended precision result. - [`dsnannsumors( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/dsnannsumors]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values, using ordinary recursive summation with extended accumulation, and returning an extended precision result. - [`dsnansum( N, x, stride )`][@stdlib/blas/ext/base/dsnansum]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values, using extended accumulation, and returning an extended precision result. - [`dsnansumors( N, x, stride )`][@stdlib/blas/ext/base/dsnansumors]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values, using ordinary recursive summation with extended accumulation, and returning an extended precision result. - [`dsnansumpw( N, x, stride )`][@stdlib/blas/ext/base/dsnansumpw]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values, using pairwise summation with extended accumulation, and returning an extended precision result. - [`dsort2hp( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dsort2hp]: simultaneously sort two double-precision floating-point strided arrays based on the sort order of the first array using heapsort. - [`dsort2ins( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dsort2ins]: simultaneously sort two double-precision floating-point strided arrays based on the sort order of the first array using insertion sort. - [`dsort2sh( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/dsort2sh]: simultaneously sort two double-precision floating-point strided arrays based on the sort order of the first array using Shellsort. - [`dsorthp( N, order, x, stride )`][@stdlib/blas/ext/base/dsorthp]: sort a double-precision floating-point strided array using heapsort. - [`dsortins( N, order, x, stride )`][@stdlib/blas/ext/base/dsortins]: sort a double-precision floating-point strided array using insertion sort. - [`dsortsh( N, order, x, stride )`][@stdlib/blas/ext/base/dsortsh]: sort a double-precision floating-point strided array using Shellsort. - [`dssum( N, x, stride )`][@stdlib/blas/ext/base/dssum]: calculate the sum of single-precision floating-point strided array elements using extended accumulation and returning an extended precision result. - [`dssumors( N, x, stride )`][@stdlib/blas/ext/base/dssumors]: calculate the sum of single-precision floating-point strided array elements using ordinary recursive summation with extended accumulation and returning an extended precision result. - [`dssumpw( N, x, stride )`][@stdlib/blas/ext/base/dssumpw]: calculate the sum of single-precision floating-point strided array elements using pairwise summation with extended accumulation and returning an extended precision result. - [`dsum( N, x, stride )`][@stdlib/blas/ext/base/dsum]: calculate the sum of double-precision floating-point strided array elements. - [`dsumkbn( N, x, stride )`][@stdlib/blas/ext/base/dsumkbn]: calculate the sum of double-precision floating-point strided array elements using an improved Kahan–Babuška algorithm. - [`dsumkbn2( N, x, stride )`][@stdlib/blas/ext/base/dsumkbn2]: calculate the sum of double-precision floating-point strided array elements using a second-order iterative Kahan–Babuška algorithm. - [`dsumors( N, x, stride )`][@stdlib/blas/ext/base/dsumors]: calculate the sum of double-precision floating-point strided array elements using ordinary recursive summation. - [`dsumpw( N, x, stride )`][@stdlib/blas/ext/base/dsumpw]: calculate the sum of double-precision floating-point strided array elements using pairwise summation. - [`gapx( N, alpha, x, stride )`][@stdlib/blas/ext/base/gapx]: add a constant to each element in a strided array. - [`gapxsum( N, alpha, x, stride )`][@stdlib/blas/ext/base/gapxsum]: add a constant to each strided array element and compute the sum. - [`gapxsumkbn( N, alpha, x, stride )`][@stdlib/blas/ext/base/gapxsumkbn]: add a constant to each strided array element and compute the sum using an improved Kahan–Babuška algorithm. - [`gapxsumkbn2( N, alpha, x, stride )`][@stdlib/blas/ext/base/gapxsumkbn2]: add a constant to each strided array element and compute the sum using a second-order iterative Kahan–Babuška algorithm. - [`gapxsumors( N, alpha, x, stride )`][@stdlib/blas/ext/base/gapxsumors]: add a constant to each strided array element and compute the sum using ordinary recursive summation. - [`gapxsumpw( N, alpha, x, stride )`][@stdlib/blas/ext/base/gapxsumpw]: add a constant to each strided array element and compute the sum using pairwise summation. - [`gasumpw( N, x, stride )`][@stdlib/blas/ext/base/gasumpw]: calculate the sum of absolute values (_L1_ norm) of strided array elements using pairwise summation. - [`gcusum( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gcusum]: calculate the cumulative sum of strided array elements. - [`gcusumkbn( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gcusumkbn]: calculate the cumulative sum of strided array elements using an improved Kahan–Babuška algorithm. - [`gcusumkbn2( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gcusumkbn2]: calculate the cumulative sum of strided array elements using a second-order iterative Kahan–Babuška algorithm. - [`gcusumors( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gcusumors]: calculate the cumulative sum of strided array elements using ordinary recursive summation. - [`gcusumpw( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gcusumpw]: calculate the cumulative sum of strided array elements using pairwise summation. - [`gfillBy( N, x, stride, clbk[, thisArg] )`][@stdlib/blas/ext/base/gfill-by]: fill a strided array according to a provided callback function. - [`gfill( N, alpha, x, stride )`][@stdlib/blas/ext/base/gfill]: fill a strided array with a specified scalar constant. - [`gnannsumkbn( N, x, strideX, out, strideOut )`][@stdlib/blas/ext/base/gnannsumkbn]: calculate the sum of strided array elements, ignoring `NaN` values and using an improved Kahan–Babuška algorithm. - [`gnansum( N, x, stride )`][@stdlib/blas/ext/base/gnansum]: calculate the sum of strided array elements, ignoring `NaN` values. - [`gnansumkbn( N, x, stride )`][@stdlib/blas/ext/base/gnansumkbn]: calculate the sum of strided array elements, ignoring `NaN` values and using an improved Kahan–Babuška algorithm. - [`gnansumkbn2( N, x, stride )`][@stdlib/blas/ext/base/gnansumkbn2]: calculate the sum of strided array elements, ignoring `NaN` values and using a second-order iterative Kahan–Babuška algorithm. - [`gnansumors( N, x, stride )`][@stdlib/blas/ext/base/gnansumors]: calculate the sum of strided array elements, ignoring `NaN` values and using ordinary recursive summation. - [`gnansumpw( N, x, stride )`][@stdlib/blas/ext/base/gnansumpw]: calculate the sum of strided array elements, ignoring `NaN` values and using pairwise summation. - [`grev( N, x, stride )`][@stdlib/blas/ext/base/grev]: reverse a strided array in-place. - [`gsort2hp( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gsort2hp]: simultaneously sort two strided arrays based on the sort order of the first array using heapsort. - [`gsort2ins( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gsort2ins]: simultaneously sort two strided arrays based on the sort order of the first array using insertion sort. - [`gsort2sh( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/gsort2sh]: simultaneously sort two strided arrays based on the sort order of the first array using Shellsort. - [`gsorthp( N, order, x, stride )`][@stdlib/blas/ext/base/gsorthp]: sort a strided array using heapsort. - [`gsortins( N, order, x, stride )`][@stdlib/blas/ext/base/gsortins]: sort a strided array using insertion sort. - [`gsortsh( N, order, x, stride )`][@stdlib/blas/ext/base/gsortsh]: sort a strided array using Shellsort. - [`gsum( N, x, stride )`][@stdlib/blas/ext/base/gsum]: calculate the sum of strided array elements. - [`gsumkbn( N, x, stride )`][@stdlib/blas/ext/base/gsumkbn]: calculate the sum of strided array elements using an improved Kahan–Babuška algorithm. - [`gsumkbn2( N, x, stride )`][@stdlib/blas/ext/base/gsumkbn2]: calculate the sum of strided array elements using a second-order iterative Kahan–Babuška algorithm. - [`gsumors( N, x, stride )`][@stdlib/blas/ext/base/gsumors]: calculate the sum of strided array elements using ordinary recursive summation. - [`gsumpw( N, x, stride )`][@stdlib/blas/ext/base/gsumpw]: calculate the sum of strided array elements using pairwise summation. - [`sapx( N, alpha, x, stride )`][@stdlib/blas/ext/base/sapx]: add a constant to each element in a single-precision floating-point strided array. - [`sapxsum( N, alpha, x, stride )`][@stdlib/blas/ext/base/sapxsum]: add a constant to each single-precision floating-point strided array element and compute the sum. - [`sapxsumkbn( N, alpha, x, stride )`][@stdlib/blas/ext/base/sapxsumkbn]: add a constant to each single-precision floating-point strided array element and compute the sum using an improved Kahan–Babuška algorithm. - [`sapxsumkbn2( N, alpha, x, stride )`][@stdlib/blas/ext/base/sapxsumkbn2]: add a constant to each single-precision floating-point strided array element and compute the sum using a second-order iterative Kahan–Babuška algorithm. - [`sapxsumors( N, alpha, x, stride )`][@stdlib/blas/ext/base/sapxsumors]: add a constant to each single-precision floating-point strided array element and compute the sum using ordinary recursive summation. - [`sapxsumpw( N, alpha, x, stride )`][@stdlib/blas/ext/base/sapxsumpw]: add a constant to each single-precision floating-point strided array element and compute the sum using pairwise summation. - [`sasumpw( N, x, stride )`][@stdlib/blas/ext/base/sasumpw]: calculate the sum of absolute values (_L1_ norm) of single-precision floating-point strided array elements using pairwise summation. - [`scusum( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/scusum]: calculate the cumulative sum of single-precision floating-point strided array elements. - [`scusumkbn( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/scusumkbn]: calculate the cumulative sum of single-precision floating-point strided array elements using an improved Kahan–Babuška algorithm. - [`scusumkbn2( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/scusumkbn2]: calculate the cumulative sum of single-precision floating-point strided array elements using a second-order iterative Kahan–Babuška algorithm. - [`scusumors( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/scusumors]: calculate the cumulative sum of single-precision floating-point strided array elements using ordinary recursive summation. - [`scusumpw( N, sum, x, strideX, y, strideY )`][@stdlib/blas/ext/base/scusumpw]: calculate the cumulative sum of single-precision floating-point strided array elements using pairwise summation. - [`sdsapxsum( N, alpha, x, stride )`][@stdlib/blas/ext/base/sdsapxsum]: add a constant to each single-precision floating-point strided array element and compute the sum using extended accumulation. - [`sdsapxsumpw( N, alpha, x, stride )`][@stdlib/blas/ext/base/sdsapxsumpw]: add a constant to each single-precision floating-point strided array element and compute the sum using pairwise summation with extended accumulation. - [`sdsnansum( N, x, stride )`][@stdlib/blas/ext/base/sdsnansum]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using extended accumulation. - [`sdsnansumpw( N, x, stride )`][@stdlib/blas/ext/base/sdsnansumpw]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using pairwise summation with extended accumulation. - [`sdssum( N, x, stride )`][@stdlib/blas/ext/base/sdssum]: calculate the sum of single-precision floating-point strided array elements using extended accumulation. - [`sdssumpw( N, x, stride )`][@stdlib/blas/ext/base/sdssumpw]: calculate the sum of single-precision floating-point strided array elements using pairwise summation with extended accumulation. - [`sfill( N, alpha, x, stride )`][@stdlib/blas/ext/base/sfill]: fill a single-precision floating-point strided array with a specified scalar constant. - [`snansum( N, x, stride )`][@stdlib/blas/ext/base/snansum]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values. - [`snansumkbn( N, x, stride )`][@stdlib/blas/ext/base/snansumkbn]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using an improved Kahan–Babuška algorithm. - [`snansumkbn2( N, x, stride )`][@stdlib/blas/ext/base/snansumkbn2]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using a second-order iterative Kahan–Babuška algorithm. - [`snansumors( N, x, stride )`][@stdlib/blas/ext/base/snansumors]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using ordinary recursive summation. - [`snansumpw( N, x, stride )`][@stdlib/blas/ext/base/snansumpw]: calculate the sum of single-precision floating-point strided array elements, ignoring `NaN` values and using pairwise summation. - [`srev( N, x, stride )`][@stdlib/blas/ext/base/srev]: reverse a single-precision floating-point strided array in-place. - [`ssort2hp( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/ssort2hp]: simultaneously sort two single-precision floating-point strided arrays based on the sort order of the first array using heapsort. - [`ssort2ins( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/ssort2ins]: simultaneously sort two single-precision floating-point strided arrays based on the sort order of the first array using insertion sort. - [`ssort2sh( N, order, x, strideX, y, strideY )`][@stdlib/blas/ext/base/ssort2sh]: simultaneously sort two single-precision floating-point strided arrays based on the sort order of the first array using Shellsort. - [`ssorthp( N, order, x, stride )`][@stdlib/blas/ext/base/ssorthp]: sort a single-precision floating-point strided array using heapsort. - [`ssortins( N, order, x, stride )`][@stdlib/blas/ext/base/ssortins]: sort a single-precision floating-point strided array using insertion sort. - [`ssortsh( N, order, x, stride )`][@stdlib/blas/ext/base/ssortsh]: sort a single-precision floating-point strided array using Shellsort. - [`ssum( N, x, stride )`][@stdlib/blas/ext/base/ssum]: calculate the sum of single-precision floating-point strided array elements. - [`ssumkbn( N, x, stride )`][@stdlib/blas/ext/base/ssumkbn]: calculate the sum of single-precision floating-point strided array elements using an improved Kahan–Babuška algorithm. - [`ssumkbn2( N, x, stride )`][@stdlib/blas/ext/base/ssumkbn2]: calculate the sum of single-precision floating-point strided array elements using a second-order iterative Kahan–Babuška algorithm. - [`ssumors( N, x, stride )`][@stdlib/blas/ext/base/ssumors]: calculate the sum of single-precision floating-point strided array elements using ordinary recursive summation. - [`ssumpw( N, x, stride )`][@stdlib/blas/ext/base/ssumpw]: calculate the sum of single-precision floating-point strided array elements using pairwise summation.
## Examples ```javascript var objectKeys = require( '@stdlib/utils/keys' ); var ns = require( '@stdlib/blas/ext/base' ); console.log( objectKeys( ns ) ); ```