diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/README.md b/lib/node_modules/@stdlib/blas/base/dsyr2k/README.md
new file mode 100644
index 000000000000..174fa62f2a49
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/README.md
@@ -0,0 +1,258 @@
+
+
+# dsyr2k
+
+> Perform one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+
+
+
+## Usage
+
+```javascript
+var dsyr2k = require( '@stdlib/blas/base/dsyr2k' );
+```
+
+#### dsyr2k( ord, uplo, trans, N, K, α, A, lda, B, ldb, β, C, ldc )
+
+Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+
+```javascript
+var Float64Array = require( '@stdlib/array/float64' );
+
+var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+
+dsyr2k( 'row-major', 'upper', 'no-transpose', 3, 3, 1.0, A, 3, B, 3, 1.0, C, 3 );
+// C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+```
+
+The function has the following parameters:
+
+- **ord**: storage layout.
+- **uplo**: specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied.
+- **trans**: specifies whether `C` should be transposed, conjugate-transposed, or not transposed.
+- **N**: order of the matrix `C`.
+- **K**: number of columns or number of rows of the matrices `A` and `B`.
+- **α**: scalar constant.
+- **A**: first input matrix stored in linear memory as a [`Float64Array`][mdn-float64array].
+- **lda**: stride of the first dimension of `A` (leading dimension of `A`).
+- **B**: second input matrix stored in linear memory as a [`Float64Array`][mdn-float64array].
+- **ldb**: stride of the first dimension of `B` (leading dimension of `B`).
+- **β**: scalar constant.
+- **C**: third input matrix stored in linear memory as a [`Float64Array`][mdn-float64array].
+- **ldc**: stride of the first dimension of `C` (leading dimension of `C`).
+
+The stride parameters determine how elements in the input arrays are accessed at runtime. For example, to perform matrix multiplication of two subarrays
+
+
+
+```javascript
+var Float64Array = require( '@stdlib/array/float64' );
+
+var A = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 0.0, 0.0, 4.0, 5.0, 6.0, 0.0, 0.0, 0.0, 7.0, 8.0, 9.0 ] );
+var B = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 0.0, 0.0, 4.0, 5.0, 6.0, 0.0, 0.0, 0.0, 7.0, 8.0, 9.0 ] );
+var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+
+dsyr2k( 'row-major', 'upper', 'no-transpose', 3, 3, 1.0, A, 6, B, 6, 1.0, C, 3 );
+// C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+```
+
+
+
+#### dsyr2k.ndarray( uplo, trans, N, K, α, A, sa1, sa2, oa, B, sb1, sb2, ob, β, C, sc1, sc2, oc )
+
+Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C`, using alternative indexing semantics and where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+
+```javascript
+var Float64Array = require( '@stdlib/array/float64' );
+
+var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+
+dsyr2k.ndarray( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0, 1.0, C, 3, 1, 0 );
+// C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+```
+
+The function has the following additional parameters:
+
+- **sa1**: stride of the first dimension of `A`.
+- **sa2**: stride of the second dimension of `A`.
+- **oa**: starting index for `A`.
+- **sb1**: stride of the first dimension of `B`.
+- **sb2**: stride of the second dimension of `B`.
+- **ob**: starting index for `B`.
+- **sc1**: stride of the first dimension of `C`.
+- **sc2**: stride of the second dimension of `C`.
+- **oc**: starting index for `C`.
+
+While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting indices. For example,
+
+```javascript
+var Float64Array = require( '@stdlib/array/float64' );
+
+var A = new Float64Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+var B = new Float64Array( [ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+var C = new Float64Array( [ 0.0, 0.0, 0.0, 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+
+dsyr2k.ndarray( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 1, B, 3, 1, 2, 1.0, C, 3, 1, 3 );
+// C => [ 0.0, 0.0, 0.0, 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+```
+
+
+
+
+
+
+
+## Notes
+
+- `dsyr2k()` corresponds to the [BLAS][blas] level 3 function [`dsyr2k`][blas-dsyr2k].
+
+
+
+
+
+
+
+## Examples
+
+
+
+```javascript
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var dsyr2k = require( '@stdlib/blas/base/dsyr2k' );
+
+var opts = {
+ 'dtype': 'float64'
+};
+
+var N = 4;
+
+var A = discreteUniform( N*N, 0, 10, opts ); // 4x4
+var B = discreteUniform( N*N, 0, 10, opts ); // 4x4
+var C = discreteUniform( N*N, 0, 10, opts ); // 4x4
+
+dsyr2k( 'row-major', 'lower', 'no-transpose', N, N, 1.0, A, N, B, N, 1.0, C, N );
+console.log( C );
+
+dsyr2k.ndarray( 'lower', 'no-transpose', N, N, 1.0, A, N, 1, 0, B, N, 1, 0, 1.0, C, N, 1, 0 );
+console.log( C );
+```
+
+
+
+
+
+
+
+* * *
+
+
+
+## C APIs
+
+
+
+
+
+
+
+
+
+
+
+### Usage
+
+```c
+#include "stdlib/blas/base/dsyr2k.h"
+```
+
+#### TODO
+
+TODO.
+
+```c
+TODO
+```
+
+TODO
+
+```c
+TODO
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+### Examples
+
+```c
+TODO
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[blas]: http://www.netlib.org/blas
+
+[blas-dsyr2k]: https://www.netlib.org/lapack/explore-html-3.6.1/d1/d54/group__double__blas__level3_ga51f6c38a43599163e670f0f6f5645587.html
+
+[mdn-float64array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array
+
+[mdn-typed-array]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
+
+
+
+
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/benchmark/benchmark.js
new file mode 100644
index 000000000000..a11bb364fbd0
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/benchmark/benchmark.js
@@ -0,0 +1,105 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var floor = require( '@stdlib/math/base/special/floor' );
+var pkg = require( './../package.json' ).name;
+var dsyr2k = require( './../lib/dsyr2k.js' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'float64'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} N - array dimension size
+* @returns {Function} benchmark function
+*/
+function createBenchmark( N ) {
+ var A = uniform( N*N, -10.0, 10.0, options );
+ var B = uniform( N*N, -10.0, 10.0, options );
+ var C = uniform( N*N, -10.0, 10.0, options );
+ return benchmark;
+
+ /**
+ * Benchmark function.
+ *
+ * @private
+ * @param {Benchmark} b - benchmark instance
+ */
+ function benchmark( b ) {
+ var z;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ z = dsyr2k( 'row-major', 'lower', 'no-transpose', N, N, 1.0, A, N, B, N, 1.0, C, N );
+ if ( isnan( z[ i%z.length ] ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( z[ i%z.length ] ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+ }
+}
+
+
+// MAIN //
+
+/**
+* Main execution sequence.
+*
+* @private
+*/
+function main() {
+ var len;
+ var min;
+ var max;
+ var f;
+ var i;
+
+ min = 1; // 10^min
+ max = 4; // 10^max
+
+ for ( i = min; i <= max; i++ ) {
+ len = floor( pow( pow( 10, i ), 1.0/2.0 ) );
+ f = createBenchmark( len );
+ bench( pkg+':size='+(len*len), f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/benchmark/benchmark.ndarray.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/benchmark/benchmark.ndarray.js
new file mode 100644
index 000000000000..3d0f2862c0da
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/benchmark/benchmark.ndarray.js
@@ -0,0 +1,106 @@
+
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var bench = require( '@stdlib/bench' );
+var uniform = require( '@stdlib/random/array/uniform' );
+var isnan = require( '@stdlib/math/base/assert/is-nan' );
+var pow = require( '@stdlib/math/base/special/pow' );
+var floor = require( '@stdlib/math/base/special/floor' );
+var pkg = require( './../package.json' ).name;
+var dsyr2k = require( './../lib/ndarray.js' );
+
+
+// VARIABLES //
+
+var options = {
+ 'dtype': 'float64'
+};
+
+
+// FUNCTIONS //
+
+/**
+* Creates a benchmark function.
+*
+* @private
+* @param {PositiveInteger} N - array dimension size
+* @returns {Function} benchmark function
+*/
+function createBenchmark( N ) {
+ var A = uniform( N*N, -10.0, 10.0, options );
+ var B = uniform( N*N, -10.0, 10.0, options );
+ var C = uniform( N*N, -10.0, 10.0, options );
+ return benchmark;
+
+ /**
+ * Benchmark function.
+ *
+ * @private
+ * @param {Benchmark} b - benchmark instance
+ */
+ function benchmark( b ) {
+ var z;
+ var i;
+
+ b.tic();
+ for ( i = 0; i < b.iterations; i++ ) {
+ z = dsyr2k( 'lower', 'no-transpose', N, N, 1.0, A, N, 1, 0, B, N, 1, 0, 1.0, C, N, 1, 0 );
+ if ( isnan( z[ i%z.length ] ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ }
+ b.toc();
+ if ( isnan( z[ i%z.length ] ) ) {
+ b.fail( 'should not return NaN' );
+ }
+ b.pass( 'benchmark finished' );
+ b.end();
+ }
+}
+
+
+// MAIN //
+
+/**
+* Main execution sequence.
+*
+* @private
+*/
+function main() {
+ var len;
+ var min;
+ var max;
+ var f;
+ var i;
+
+ min = 1; // 10^min
+ max = 4; // 10^max
+
+ for ( i = min; i <= max; i++ ) {
+ len = floor( pow( pow( 10, i ), 1.0/2.0 ) );
+ f = createBenchmark( len );
+ bench( pkg+':ndarray:size='+(len*len), f );
+ }
+}
+
+main();
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/repl.txt
new file mode 100644
index 000000000000..6af43f865e35
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/repl.txt
@@ -0,0 +1,164 @@
+
+{{alias}}( ord, uplo, trans, N, K, α, A, lda, B, ldb, β, C, ldc )
+ Performs one of the symmetric rank `2K` operations
+ `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C`
+ where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and
+ `A` and `B` are `N` by `K` matrices in the first case and `K` by `N`
+ matrices in the second case.
+
+ Indexing is relative to the first index. To introduce an offset, use typed
+ array views.
+
+ If `N` is equal to `0`, the function returns `C` unchanged.
+
+ If `α` or `K` equals `0` and `β` equals `1`, the function returns `C`
+ unchanged.
+
+ Parameters
+ ----------
+ ord: string
+ Row-major (C-style) or column-major (Fortran-style) order.
+
+ uplo: string
+ Specifies whether `A` is an upper or lower triangular matrix.
+
+ trans: string
+ Specifies whether `C` should be transposed, conjugate-transposed, or
+ not transposed.
+
+ N: integer
+ Number of elements along each dimension of `C`.
+
+ K: integer
+ Number of columns or number of rows of the matrices `A` and `B`.
+
+ α: number
+ Scalar constant.
+
+ A: Float64Array
+ First matrix.
+
+ lda: integer
+ Stride of the first dimension of `A` (a.k.a., leading dimension of the
+ matrix `A`).
+
+ B: Float64Array
+ Second matrix.
+
+ ldb: integer
+ Stride of the first dimension of `B` (a.k.a., leading dimension of the
+ matrix `B`).
+
+ β: number
+ Scalar constant.
+
+ C: Float64Array
+ Third matrix.
+
+ ldc: integer
+ Stride of the first dimension of `C` (a.k.a., leading dimension of the
+ matrix `C`).
+
+ Returns
+ -------
+ C: Float64Array
+ Third matrix.
+
+ Examples
+ --------
+ // Standard usage:
+ > var A = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
+ > var B = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
+ > var C = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 0.0, 4.0 ] );
+ > var ord = 'row-major';
+ > var uplo = 'upper';
+ > var trans = 'no-transpose';
+ > {{alias}}( ord, uplo, trans, 2, 2, 1.0, A, 2, B, 2, 1.0, C, 2 )
+ [ 11.0, 24.0, 0.0, 54.0 ]
+
+
+{{alias}}.ndarray( uplo,trans,N,K,α,A,sa1,sa2,oa,B,sb1,sb2,ob,β,C,sc1,sc2,oc )
+ Performs one of the symmetric rank `2K` operations
+ `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C`,
+ using alternative indexing semantics and where `α` and `β` are scalars,
+ `C` is an `N` by `N` symmetric matrix and A` and `B` are `N` by `K`
+ matrices in the first case and `K` by `N` matrices in the second case.
+
+ While typed array views mandate a view offset based on the underlying
+ buffer, the offset parameters support indexing semantics based on starting
+ indices.
+
+ Parameters
+ ----------
+ uplo: string
+ Specifies whether `A` is an upper or lower triangular matrix.
+
+ trans: string
+ Specifies whether `C` should be transposed, conjugate-transposed, or
+ not ransposed.
+
+ N: integer
+ Number of elements along each dimension of `C`.
+
+ K: integer
+ Number of columns or number of rows of the matrices `A` and `B`.
+
+ α: number
+ Scalar constant.
+
+ A: Float64Array
+ First matrix.
+
+ sa1: integer
+ Stride of the first dimension of `A`.
+
+ sa2: integer
+ Stride of the second dimension of `A`.
+
+ oa: integer
+ Starting index for `A`.
+
+ B: Float64Array
+ Second matrix.
+
+ sb1: integer
+ Stride of the first dimension of `B`.
+
+ sb2: integer
+ Stride of the second dimension of `B`.
+
+ ob: integer
+ Starting index for `B`.
+
+ β: number
+ Scalar constant.
+
+ C: Float64Array
+ Third matrix.
+
+ sc1: integer
+ Stride of the first dimension of `C`.
+
+ sc2: integer
+ Stride of the second dimension of `C`.
+
+ oc: integer
+ Starting index for `C`.
+
+ Returns
+ -------
+ C: Float64Array
+ Third matrix.
+
+ Examples
+ --------
+ > var A = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
+ > var B = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
+ > var C = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 0.0, 4.0 ] );
+ > var uplo = 'upper';
+ > var trans = 'no-transpose';
+ > {{alias}}.ndarray( uplo,trans,2,2,1.0,A,2,1,0,B,2,1,0,1.0,C,2,1,0 )
+ [ 11.0, 24.0, 0.0, 54.0 ]
+
+ See Also
+ --------
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/types/index.d.ts
new file mode 100644
index 000000000000..d2d4a59d0de9
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/types/index.d.ts
@@ -0,0 +1,135 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+// TypeScript Version: 4.1
+
+///
+
+import { Layout, MatrixTriangle, TransposeOperation } from '@stdlib/types/blas';
+
+/**
+* Interface describing `dsyr2k`.
+*/
+interface Routine {
+ /**
+ * Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+ *
+ * @param order - storage layout
+ * @param uplo - specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied
+ * @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
+ * @param N - order of the matrix `C`
+ * @param K - number of columns or number of rows of the matrices `A` and `B`
+ * @param alpha - scalar constant
+ * @param A - first matrix
+ * @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
+ * @param B - second matrix
+ * @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`)
+ * @param beta - scalar constant
+ * @param C - third matrix
+ * @param LDC - stride of the first dimension of `C` (a.k.a., leading dimension of the matrix `C`)
+ * @returns `C`
+ *
+ * @example
+ * var Float64Array = require( '@stdlib/array/float64' );
+ *
+ * var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+ * var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+ * var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+ *
+ * dsyr2k( 'row-major', 'upper', 'no-transpose', 3, 3, 1.0, A, 3, B, 3, 1.0, C, 3 );
+ * // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+ */
+ ( order: Layout, uplo: MatrixTriangle, trans: TransposeOperation, N: number, K: number, alpha: number, A: Float64Array, LDA: number, B: Float64Array, LDB: number, beta: number, C: Float64Array, LDC: number ): Float64Array;
+
+ /**
+ * Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C`, using alternative indexing semantics and where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+ *
+ * @param order - storage layout
+ * @param uplo - specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied
+ * @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
+ * @param N - order of the matrix `C`
+ * @param K - number of columns or number of rows of the matrices `A` and `B`
+ * @param alpha - scalar constant
+ * @param A - first matrix
+ * @param strideA1 - stride of the first dimension of `A`
+ * @param strideA2 - stride of the second dimension of `A`
+ * @param offsetA - starting index for `A`
+ * @param beta - scalar constant
+ * @param C - third matrix
+ * @param strideC1 - stride of the first dimension of `C`
+ * @param strideC2 - stride of the second dimension of `C`
+ * @param offsetC - starting index for `C`
+ * @returns `C`
+ *
+ * @example
+ * var Float64Array = require( '@stdlib/array/float64' );
+ *
+ * var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+ * var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+ * var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+ *
+ * dsyr2k( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0, 1.0, C, 3, 1, 0 );
+ * // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+ */
+ ndarray( uplo: MatrixTriangle, trans: TransposeOperation, N: number, K: number, alpha: number, A: Float64Array, strideA1: number, strideA2: number, offsetA: number, B: Float64Array, strideB1: number, strideB2: number, offsetB: number, beta: number, C: Float64Array, strideC1: number, strideC2: number, offsetC: number ): Float64Array;
+}
+
+/**
+* Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+*
+* @param order - storage layout
+* @param uplo - specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied
+* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
+* @param N - order of the matrix `C`
+* @param K - number of columns or number of rows of the matrices `A` and `B`
+* @param alpha - scalar constant
+* @param A - first matrix
+* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
+* @param B - second matrix
+* @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`)
+* @param beta - scalar constant
+* @param C - third matrix
+* @param LDC - stride of the first dimension of `C` (a.k.a., leading dimension of the matrix `C`)
+* @returns `C`
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k( 'row-major', 'upper', 'no-transpose', 3, 3, 1.0, A, 3, B, 3, 1.0, C, 3 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k.ndarray( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0, 1.0, C, 3, 1, 0 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*/
+declare var dsyr2k: Routine;
+
+
+// EXPORTS //
+
+export = dsyr2k;
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/types/test.ts b/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/types/test.ts
new file mode 100644
index 000000000000..ec7d86dc4cb6
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/docs/types/test.ts
@@ -0,0 +1,584 @@
+/*
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import dsyr2k = require( './index' );
+
+
+// TESTS //
+
+// The function returns a Float64Array...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectType Float64Array
+}
+
+// The compiler throws an error if the function is provided a first argument which is not a string...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 10, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( true, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( false, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( null, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( undefined, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( [], 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( {}, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( ( A: number ): number => A, 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a second argument which is not a string...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 10, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', true, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', false, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', null, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', undefined, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', [ '1' ], 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', {}, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', ( A: number ): number => A, 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a third argument which is not a string...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 10, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', true, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', false, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', null, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', undefined, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', [ '1' ], 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', {}, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', ( A: number ): number => A, 5, B, 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a fourth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', '10', 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', true, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', false, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', null, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', undefined, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', [], 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', {}, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', ( A: number ): number => A, 5, B, 5, 1.0, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a fifth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, '10', 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, true, 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, false, 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, null, 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, undefined, 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, [], 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, {}, 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, ( A: number ): number => A, 5, B, 5, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a sixth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, '10', A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, true, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, false, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, null, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, undefined, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, [], A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, {}, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, ( A: number ): number => A, A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an seventh argument which is not a Float64Array...
+{
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, 10, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, '10', 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, true, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, false, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, null, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, undefined, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, [ '1' ], 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, {}, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, ( A: number ): number => A, 5, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a eighth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, '10', B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, true, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, false, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, null, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, undefined, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, [], B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, {}, B, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, ( A: number ): number => A, B, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a ninth argument which is not a Float64Array...
+{
+ const A = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, '10', 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, true, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, false, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, null, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, undefined, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, [], 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, {}, 5, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, ( A: number ): number => A, 5, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a tenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, '10', 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, true, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, false, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, null, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, undefined, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, [], 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, {}, 1.0, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, ( A: number ): number => A, 1.0, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a eleventh argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, '10', C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, true, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, false, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, null, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, undefined, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, [], C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, {}, C, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, ( A: number ): number => A, C, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a twelfth argument which is not a Float64Array...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, 10, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, '10', 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, true, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, false, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, null, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, undefined, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, [ '1' ], 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, {}, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, ( A: number ): number => A, 5 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an thirteenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, '10' ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, true ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, false ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, null ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, undefined ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, [] ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, {} ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, ( A: number ): number => A ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an unsupported number of arguments...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k(); // $ExpectError
+ dsyr2k( 'row-major' ); // $ExpectError
+ dsyr2k( 'row-major', 'lower' ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose' ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0 ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C ); // $ExpectError
+ dsyr2k( 'row-major', 'lower', 'no-transpose', 5, 5, 1.0, A, 5, B, 5, 1.0, C, 5, 10 ); // $ExpectError
+}
+
+// Attached to main export is an `ndarray` method which returns a Float64Array...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectType Float64Array
+}
+
+// The compiler throws an error if the function is provided a first argument which is not a string...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 10, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( true, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( false, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( null, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( undefined, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( [ '1' ], 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( {}, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( ( A: number ): number => A, 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a second argument which is not a string...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 10, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', true, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', false, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', null, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', undefined, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', [ '1' ], 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', {}, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', ( A: number ): number => A, 5, 1, 0, B, 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a third argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', '10', 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', true, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', false, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', null, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', undefined, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', [], 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', {}, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', ( A: number ): number => A, 5, 1, 0, B, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a fourth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, '10', 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, true, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, false, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, null, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, undefined, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, [], 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, {}, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, ( A: number ): number => A, 5, 1, 0, B, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a fifth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, '10', A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, true, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, false, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, null, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, undefined, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, [], A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, {}, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, ( A: number ): number => A, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a sixth argument which is not a Float64Array...
+{
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, 10, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, '10', 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, true, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, false, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, null, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, undefined, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, [ '1' ], 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, {}, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, ( A: number ): number => A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an seventh argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, '10', 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, true, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, false, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, null, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, undefined, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, [], 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, {}, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, ( A: number ): number => A, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an eighth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, '10', 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, true, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, false, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, null, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, undefined, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, [], 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, {}, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, ( A: number ): number => A, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an ninth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, '10', B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, true, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, false, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, null, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, undefined, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, [], B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, {}, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, ( A: number ): number => A, B, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an tenth argument which is not a Float64Array...
+{
+ const A = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, 10, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, '10', 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, true, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, false, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, null, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, undefined, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, [], 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, {}, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, ( A: number ): number => A, 5, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an eleventh argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, '10', 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, true, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, false, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, null, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, undefined, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, [], 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, {}, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, ( A: number ): number => A, 1, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a twelfth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, '10', 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, true, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, false, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, null, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, undefined, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, [], 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, {}, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, ( A: number ): number => A, 0, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a thirteenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, '10', 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, true, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, false, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, null, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, undefined, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, [], 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, {}, 1.0, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, ( A: number ): number => A, 1.0, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a fourteenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, '10', C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, true, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, false, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, null, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, undefined, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, [], C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, {}, C, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, ( A: number ): number => A, C, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided an fifteenth argument which is not a Float64Array...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, 10, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, '10', 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, true, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, false, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, null, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, undefined, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, [ '1' ], 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, {}, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, ( A: number ): number => A, 5, 1, 0, B, 5, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a sixteenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, '10', 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, true, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, false, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, null, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, undefined, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, [], 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, {}, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, ( A: number ): number => A, 1, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a seventeenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, '10', 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, true, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, false, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, null, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, undefined, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, [], 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, {}, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, ( A: number ): number => A, 0 ); // $ExpectError
+}
+
+// The compiler throws an error if the function is provided a eighteenth argument which is not a number...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, '10' ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, true ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, false ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, null ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, undefined ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, [] ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, {} ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, ( A: number ): number => A ); // $ExpectError
+}
+
+// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments...
+{
+ const A = new Float64Array( 25 );
+ const B = new Float64Array( 25 );
+ const C = new Float64Array( 25 );
+
+ dsyr2k.ndarray(); // $ExpectError
+ dsyr2k.ndarray( 'lower' ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose' ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1 ); // $ExpectError
+ dsyr2k.ndarray( 'lower', 'no-transpose', 5, 5, 1.0, A, 5, 1, 0, B, 5, 1, 0, 1.0, C, 5, 1, 0, 10 ); // $ExpectError
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/examples/index.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/examples/index.js
new file mode 100644
index 000000000000..0fe910c8bbee
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/examples/index.js
@@ -0,0 +1,38 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+var discreteUniform = require( '@stdlib/random/array/discrete-uniform' );
+var dsyr2k = require( './../lib' );
+
+var opts = {
+ 'dtype': 'float64'
+};
+
+var N = 4;
+
+var A = discreteUniform( N*N, 0, 10, opts ); // 4x4
+var B = discreteUniform( N*N, 0, 10, opts ); // 4x4
+var C = discreteUniform( N*N, 0, 10, opts ); // 4x4
+
+dsyr2k( 'row-major', 'lower', 'no-transpose', N, N, 1.0, A, N, B, N, 1.0, C, N );
+console.log( C );
+
+dsyr2k.ndarray( 'lower', 'no-transpose', N, N, 1.0, A, N, 1, 0, B, N, 1, 0, 1.0, C, N, 1, 0 );
+console.log( C );
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/base.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/base.js
new file mode 100644
index 000000000000..430ff9ffa204
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/base.js
@@ -0,0 +1,331 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable max-len, max-params */
+
+'use strict';
+
+// MODULES //
+
+var isRowMajor = require( '@stdlib/ndarray/base/assert/is-row-major' );
+
+
+// FUNCTIONS //
+
+/**
+* Fills a upper or lower triangular part of a matrix with zeros.
+*
+* @private
+* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix should be referenced
+* @param {NonNegativeInteger} N - order of the matrix
+* @param {Float64Array} X - matrix to fill
+* @param {integer} strideX1 - stride of the first dimension of `X`
+* @param {integer} strideX2 - stride of the second dimension of `X`
+* @param {NonNegativeInteger} offsetX - starting index for `X`
+* @returns {Float64Array} input matrix
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var X = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+*
+* zeros( 'lower', 3, X, 3, 1, 0 );
+* // X => [ 0.0, 2.0, 3.0, 0.0, 0.0, 6.0, 0.0, 0.0, 0.0 ]
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var X = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+*
+* zeros( 'lower', 3, X, 1, 3, 0 );
+* // X => [ 0.0, 0.0, 0.0, 4.0, 0.0, 0.0, 7.0, 8.0, 0.0 ]
+*/
+function zeros( uplo, N, X, strideX1, strideX2, offsetX ) { // TODO: consider moving to a separate package
+ var isrm;
+ var idx;
+ var x0;
+ var x1;
+ var i1;
+ var i0;
+
+ isrm = isRowMajor( [ strideX1, strideX2 ] );
+
+ if ( isrm ) {
+ x0 = strideX2; // stride for innermost loop
+ x1 = strideX1; // stride for outermost loop
+ } else { // column-major
+ x0 = strideX1; // stride for innermost loop
+ x1 = strideX2; // stride for outermost loop
+ }
+ if (
+ ( isrm && uplo === 'upper' ) || ( !isrm && uplo === 'lower' )
+ ) {
+ for ( i1 = 0; i1 < N; i1++ ) {
+ for ( i0 = i1; i0 < N; i0++ ) {
+ idx = offsetX + ( i1 * x1 ) + ( i0 * x0 );
+ X[ idx ] = 0.0;
+ }
+ }
+ return X;
+ }
+ // ( isrm && uplo === 'lower' ) || ( !isrm && uplo === 'upper' )
+ for ( i1 = 0; i1 < N; i1++ ) {
+ for ( i0 = 0; i0 <= i1; i0++ ) {
+ idx = offsetX + ( i1 * x1 ) + ( i0 * x0 );
+ X[ idx ] = 0.0;
+ }
+ }
+ return X;
+}
+
+/**
+* Scales each element in a the upper or lower triangular part of matrix by a scalar `β`.
+*
+* @private
+* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix should be referenced
+* @param {NonNegativeInteger} N - order of the matrix
+* @param {number} beta - scalar
+* @param {Float64Array} X - matrix to fill
+* @param {integer} strideX1 - stride of the first dimension of `X`
+* @param {integer} strideX2 - stride of the second dimension of `X`
+* @param {NonNegativeInteger} offsetX - starting index for `X`
+* @returns {Float64Array} input matrix
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var X = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+*
+* scal( 'lower', 3, 5.0, X, 3, 1, 0 );
+* // X => [ 5.0, 2.0, 3.0, 20.0, 25.0, 6.0, 35.0, 40.0, 45.0 ]
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var X = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+*
+* scal( 'lower', 3, 5.0, X, 1, 2, 0 );
+* // X => [ 5.0, 10.0, 15.0, 20.0, 25.0, 6.0, 35.0, 8.0, 9.0 ]
+*/
+function scal( uplo, N, beta, X, strideX1, strideX2, offsetX ) { // TODO: consider moving to a separate package
+ var isrm;
+ var idx;
+ var x0;
+ var x1;
+ var i1;
+ var i0;
+
+ isrm = isRowMajor( [ strideX1, strideX2 ] );
+
+ if ( isrm ) {
+ x0 = strideX2; // stride for innermost loop
+ x1 = strideX1; // stride for outermost loop
+ } else {
+ x0 = strideX1; // stride for innermost loop
+ x1 = strideX2; // stride for outermost loop
+ }
+ if (
+ ( isrm && uplo === 'upper' ) || ( !isrm && uplo === 'lower' )
+ ) {
+ for ( i1 = 0; i1 < N; i1++ ) {
+ for ( i0 = i1; i0 < N; i0++ ) {
+ idx = offsetX + ( i1 * x1 ) + ( i0 * x0 );
+ X[ idx ] *= beta;
+ }
+ }
+ return X;
+ }
+ // ( isrm && uplo === 'lower' ) || ( !isrm && uplo === 'upper' )
+ for ( i1 = 0; i1 < N; i1++ ) {
+ for ( i0 = 0; i0 <= i1; i0++ ) {
+ idx = offsetX + ( i1 * x1 ) + ( i0 * x0 );
+ X[ idx ] *= beta;
+ }
+ }
+ return X;
+}
+
+
+// MAIN //
+
+/**
+* Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+*
+* @private
+* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied
+* @param {string} trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
+* @param {NonNegativeInteger} N - order of the matrix `C`
+* @param {NonNegativeInteger} K - number of columns or number of rows of the matrices `A` and `B`
+* @param {number} alpha - scalar constant
+* @param {Float64Array} A - first matrix
+* @param {integer} strideA1 - stride of the first dimension of `A`
+* @param {integer} strideA2 - stride of the second dimension of `A`
+* @param {NonNegativeInteger} offsetA - starting index for `A`
+* @param {Float64Array} B - second matrix
+* @param {integer} strideB1 - stride of the first dimension of `B`
+* @param {integer} strideB2 - stride of the second dimension of `B`
+* @param {NonNegativeInteger} offsetB - starting index for `B`
+* @param {number} beta - scalar constant
+* @param {Float64Array} C - third matrix
+* @param {integer} strideC1 - stride of the first dimension of `C`
+* @param {integer} strideC2 - stride of the second dimension of `C`
+* @param {NonNegativeInteger} offsetC - starting index for `C`
+* @returns {Float64Array} `C`
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0, 1.0, C, 3, 1, 0 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*/
+function dsyr2k( uplo, trans, N, K, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB, beta, C, strideC1, strideC2, offsetC ) {
+ var isrma;
+ var sa0;
+ var sa1;
+ var sb0;
+ var sb1;
+ var sc0;
+ var sc1;
+ var oa1;
+ var oa2;
+ var ob1;
+ var ob2;
+ var idx;
+ var tmp;
+ var oa;
+ var ob;
+ var i2;
+ var i1;
+ var i0;
+
+ isrma = isRowMajor( [ strideA1, strideA2 ] );
+
+ if ( N === 0 || ( ( beta === 1.0 ) && ( ( alpha === 0.0 ) || ( K === 0 ) ) ) ) {
+ return C;
+ }
+ if ( isrma ) {
+ sa0 = strideA2;
+ sa1 = strideA1;
+ sb0 = strideB2;
+ sb1 = strideB1;
+ sc0 = strideC2;
+ sc1 = strideC1;
+ } else {
+ sa0 = strideA1;
+ sa1 = strideA2;
+ sb0 = strideB1;
+ sb1 = strideB2;
+ sc0 = strideC1;
+ sc1 = strideC2;
+ }
+ if ( beta === 0.0 ) {
+ zeros( uplo, N, C, strideC1, strideC2, offsetC );
+ } else if ( beta !== 1.0 ) {
+ scal( uplo, N, beta, C, strideC1, strideC2, offsetC );
+ }
+ if ( alpha === 0.0 ) {
+ return C;
+ }
+ oa = offsetA;
+ ob = offsetB;
+ if (
+ ( isrma && trans === 'no-transpose' && uplo === 'upper' ) ||
+ ( !isrma && trans !== 'no-transpose' && uplo === 'lower' )
+ ) {
+ for ( i2 = 0; i2 < N; i2++ ) {
+ for ( i1 = i2; i1 < N; i1++ ) {
+ tmp = 0.0;
+ for ( i0 = 0; i0 < K; i0++ ) {
+ oa1 = oa + ( i2 * sa1 ) + ( i0 * sa0 );
+ ob1 = ob + ( i1 * sb1 ) + ( i0 * sb0 );
+ ob2 = ob + ( i2 * sb1 ) + ( i0 * sb0 );
+ oa2 = oa + ( i1 * sa1 ) + ( i0 * sa0 );
+ tmp += ( A[ oa1 ] * B[ ob1 ] ) + ( B[ ob2 ] * A[ oa2 ] );
+ }
+ idx = offsetC + ( i2 * sc1 ) + ( i1 * sc0 );
+ C[ idx ] += alpha * tmp;
+ }
+ }
+ return C;
+ }
+ if (
+ ( isrma && trans === 'no-transpose' && uplo === 'lower' ) ||
+ ( !isrma && trans !== 'no-transpose' && uplo === 'upper' )
+ ) {
+ for ( i2 = 0; i2 < N; i2++ ) {
+ for ( i1 = 0; i1 <= i2; i1++ ) {
+ tmp = 0.0;
+ for ( i0 = 0; i0 < K; i0++ ) {
+ oa1 = oa + ( i2 * sa1 ) + ( i0 * sa0 );
+ ob1 = ob + ( i1 * sb1 ) + ( i0 * sb0 );
+ ob2 = ob + ( i2 * sb1 ) + ( i0 * sb0 );
+ oa2 = oa + ( i1 * sa1 ) + ( i0 * sa0 );
+ tmp += ( A[ oa1 ] * B[ ob1 ] ) + ( B[ ob2 ] * A[ oa2 ] );
+ }
+ idx = offsetC + ( i2 * sc1 ) + ( i1 * sc0 );
+ C[ idx ] += alpha * tmp;
+ }
+ }
+ return C;
+ }
+ if (
+ ( isrma && trans !== 'no-transpose' && uplo === 'upper' ) ||
+ ( !isrma && trans === 'no-transpose' && uplo === 'lower' )
+ ) {
+ for ( i2 = 0; i2 < N; i2++ ) {
+ for ( i1 = i2; i1 < N; i1++ ) {
+ tmp = 0.0;
+ for ( i0 = 0; i0 < K; i0++ ) {
+ oa1 = oa + ( i0 * sa1 ) + ( i2 * sa0 );
+ ob1 = ob + ( i0 * sb1 ) + ( i1 * sb0 );
+ ob2 = ob + ( i0 * sb1 ) + ( i2 * sb0 );
+ oa2 = oa + ( i0 * sa1 ) + ( i1 * sa0 );
+ tmp += ( A[ oa1 ] * B[ ob1 ] ) + ( B[ ob2 ] * A[ oa2 ] );
+ }
+ idx = offsetC + ( i2 * sc1 ) + ( i1 * sc0 );
+ C[ idx ] += alpha * tmp;
+ }
+ }
+ return C;
+ }
+ // ( isrma && trans !== 'no-transpose' && uplo === 'lower' ) || ( !isrma && trans === 'no-transpose' && uplo === 'upper' )
+ for ( i2 = 0; i2 < N; i2++ ) {
+ for ( i1 = 0; i1 <= i2; i1++ ) {
+ tmp = 0.0;
+ for ( i0 = 0; i0 < K; i0++ ) {
+ oa1 = oa + ( i0 * sa1 ) + ( i2 * sa0 );
+ ob1 = ob + ( i0 * sb1 ) + ( i1 * sb0 );
+ ob2 = ob + ( i0 * sb1 ) + ( i2 * sb0 );
+ oa2 = oa + ( i0 * sa1 ) + ( i1 * sa0 );
+ tmp += ( A[ oa1 ] * B[ ob1 ] ) + ( B[ ob2 ] * A[ oa2 ] );
+ }
+ idx = offsetC + ( i2 * sc1 ) + ( i1 * sc0 );
+ C[ idx ] += alpha * tmp;
+ }
+ }
+ return C;
+}
+
+
+// EXPORTS //
+
+module.exports = dsyr2k;
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/dsyr2k.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/dsyr2k.js
new file mode 100644
index 000000000000..a157e0bb5e30
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/dsyr2k.js
@@ -0,0 +1,130 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var max = require( '@stdlib/math/base/special/fast/max' );
+var isLayout = require( '@stdlib/blas/base/assert/is-layout' );
+var isMatrixTriangle = require( '@stdlib/blas/base/assert/is-matrix-triangle' );
+var isMatrixTranspose = require( '@stdlib/blas/base/assert/is-transpose-operation' );
+var isColumnMajor = require( '@stdlib/ndarray/base/assert/is-column-major-string' );
+var format = require( '@stdlib/string/format' );
+var base = require( './base.js' );
+
+
+// MAIN //
+
+/**
+* Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+*
+* @param {string} order - storage layout
+* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied
+* @param {string} trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
+* @param {NonNegativeInteger} N - order of the matrix `C`
+* @param {NonNegativeInteger} K - number of columns or number of rows of the matrices `A` and `B`
+* @param {number} alpha - scalar constant
+* @param {Float64Array} A - first matrix
+* @param {PositiveInteger} LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
+* @param {Float64Array} B - second matrix
+* @param {PositiveInteger} LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`)
+* @param {number} beta - scalar constant
+* @param {Float64Array} C - third matrix
+* @param {PositiveInteger} LDC - stride of the first dimension of `C` (a.k.a., leading dimension of the matrix `C`)
+* @throws {TypeError} first argument must be a valid order
+* @throws {TypeError} second argument must be a valid side
+* @throws {TypeError} third argument must specify whether the lower or upper triangular matrix is supplied.
+* @throws {RangeError} fourth argument must be a nonnegative integer
+* @throws {RangeError} fifth argument must be a nonnegative integer
+* @throws {RangeError} eighth argument must be greater than or equal to max(1,N) when `A` is not transposed and max(1,K) otherwise
+* @throws {RangeError} tenth argument must be greater than or equal to max(1,N) when `A` is not transposed and max(1,K) otherwise
+* @throws {RangeError} thirteenth argument must be greater than or equal to max(1,N)
+* @returns {Float64Array} `C`
+*
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k( 'row-major', 'upper', 'no-transpose', 3, 3, 1.0, A, 3, B, 3, 1.0, C, 3 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*/
+function dsyr2k( order, uplo, trans, N, K, alpha, A, LDA, B, LDB, beta, C, LDC ) { // eslint-disable-line max-params
+ var nrowsa;
+ var iscm;
+ var sa1;
+ var sa2;
+ var sb1;
+ var sb2;
+ var sc1;
+ var sc2;
+
+ if ( !isLayout( order ) ) {
+ throw new TypeError( format( 'invalid argument. First argument must be a valid order. Value: `%s`.', order ) );
+ }
+ if ( !isMatrixTriangle( uplo ) ) {
+ throw new TypeError( format( 'invalid argument. Second argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) );
+ }
+ if ( !isMatrixTranspose( trans ) ) {
+ throw new TypeError( format( 'invalid argument. Third argument must be a valid transpose operation. Value: `%s`.', trans ) );
+ }
+ if ( N < 0 ) {
+ throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', N ) );
+ }
+ if ( K < 0 ) {
+ throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', K ) );
+ }
+ if ( trans === 'no-transpose' ) {
+ nrowsa = N;
+ } else {
+ nrowsa = K;
+ }
+ if ( LDA < max( 1, nrowsa ) ) {
+ throw new RangeError( format( 'invalid argument. Eighth argument must be greater than or equal to max(1,%d). Value: `%d`.', nrowsa, LDA ) );
+ }
+ if ( LDB < max( 1, nrowsa ) ) {
+ throw new RangeError( format( 'invalid argument. Tenth argument must be greater than or equal to max(1,%d). Value: `%d`.', nrowsa, LDB ) );
+ }
+ if ( LDC < max( 1, N ) ) {
+ throw new RangeError( format( 'invalid argument. Thirteenth argument must be greater than or equal to max(1,%d). Value: `%d`.', N, LDC ) );
+ }
+ iscm = isColumnMajor( order );
+ if ( iscm ) {
+ sa1 = 1;
+ sa2 = LDA;
+ sb1 = 1;
+ sb2 = LDB;
+ sc1 = 1;
+ sc2 = LDC;
+ } else { // order === 'row-major'
+ sa1 = LDA;
+ sa2 = 1;
+ sb1 = LDB;
+ sb2 = 1;
+ sc1 = LDC;
+ sc2 = 1;
+ }
+ return base( uplo, trans, N, K, alpha, A, sa1, sa2, 0, B, sb1, sb2, 0, beta, C, sc1, sc2, 0 ); // eslint-disable-line max-len
+}
+
+
+// EXPORTS //
+
+module.exports = dsyr2k;
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/index.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/index.js
new file mode 100644
index 000000000000..f1e759fee939
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/index.js
@@ -0,0 +1,72 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+/**
+* BLAS level 3 routine to perform one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+*
+* @module @stdlib/blas/base/dsyr2k
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+* var dsyr2k = require( '@stdlib/blas/base/dsyr2k' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k( 'row-major', 'upper', 'no-transpose', 3, 3, 1.0, A, 3, B, 3, 1.0, C, 3 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*
+* @example
+* var Float64Array = require( '@stdlib/array/float64' );
+* var dsyr2k = require( '@stdlib/blas/base/dsyr2k' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k.ndarray( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0, 1.0, C, 3, 1, 0 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*/
+
+// MODULES //
+
+var join = require( 'path' ).join;
+var tryRequire = require( '@stdlib/utils/try-require' );
+var isError = require( '@stdlib/assert/is-error' );
+var main = require( './main.js' );
+
+
+// MAIN //
+
+var dsyr2k;
+var tmp = tryRequire( join( __dirname, './native.js' ) );
+if ( isError( tmp ) ) {
+ dsyr2k = main;
+} else {
+ dsyr2k = tmp;
+}
+
+
+// EXPORTS //
+
+module.exports = dsyr2k;
+
+// exports: { "ndarray": "dsyr2k.ndarray" }
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/main.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/main.js
new file mode 100644
index 000000000000..c77f5e1ea0a9
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/main.js
@@ -0,0 +1,36 @@
+
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var setReadOnly = require( '@stdlib/utils/define-nonenumerable-read-only-property' );
+var dsyr2k = require( './dsyr2k.js' );
+var ndarray = require( './ndarray.js' );
+
+
+// MAIN //
+
+setReadOnly( dsyr2k, 'ndarray', ndarray );
+
+
+// EXPORTS //
+
+module.exports = dsyr2k;
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/ndarray.js
new file mode 100644
index 000000000000..59642a206f80
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/lib/ndarray.js
@@ -0,0 +1,95 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var isMatrixTriangle = require( '@stdlib/blas/base/assert/is-matrix-triangle' );
+var isMatrixTranspose = require( '@stdlib/blas/base/assert/is-transpose-operation' );
+var format = require( '@stdlib/string/format' );
+var base = require( './base.js' );
+
+
+// MAIN //
+
+/**
+* Performs one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matrices in the second case.
+*
+* @private
+* @param {string} uplo - specifies whether the upper or lower triangular part of the symmetric matrix `C` is supplied
+* @param {string} trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
+* @param {NonNegativeInteger} N - order of the matrix `C`
+* @param {NonNegativeInteger} K - number of columns or number of rows of the matrices `A` and `B`
+* @param {number} alpha - scalar constant
+* @param {Float64Array} A - first matrix
+* @param {integer} strideA1 - stride of the first dimension of `A`
+* @param {integer} strideA2 - stride of the second dimension of `A`
+* @param {NonNegativeInteger} offsetA - starting index for `A`
+* @param {Float64Array} B - second matrix
+* @param {integer} strideB1 - stride of the first dimension of `B`
+* @param {integer} strideB2 - stride of the second dimension of `B`
+* @param {NonNegativeInteger} offsetB - starting index for `B`
+* @param {number} beta - scalar constant
+* @param {Float64Array} C - third matrix
+* @param {integer} strideC1 - stride of the first dimension of `C`
+* @param {integer} strideC2 - stride of the second dimension of `C`
+* @param {NonNegativeInteger} offsetC - starting index for `C`
+* @throws {TypeError} first argument must be a valid side
+* @throws {TypeError} second argument must specify whether the lower or upper triangular matrix is supplied.
+* @throws {RangeError} third argument must be a nonnegative integer
+* @throws {RangeError} fourth argument must be a nonnegative integer
+* @throws {RangeError} sixteenth argument must be non-zero
+* @throws {RangeError} seventeenth argument must be non-zero
+* @returns {Float64Array} `C`
+*
+* var Float64Array = require( '@stdlib/array/float64' );
+*
+* var A = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] );
+* var C = new Float64Array( [ 1.0, 2.0, 3.0, 0.0, 4.0, 5.0, 0.0, 0.0, 6.0 ] );
+*
+* dsyr2k( 'upper', 'no-transpose', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0, 1.0, C, 3, 1, 0 );
+* // C => [ 29.0, 66.0, 103.0, 0.0, 158.0, 249.0, 0.0, 0.0, 394.0 ]
+*/
+function dsyr2k( uplo, trans, N, K, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB, beta, C, strideC1, strideC2, offsetC ) { // eslint-disable-line max-params, max-len
+ if ( !isMatrixTriangle( uplo ) ) {
+ throw new TypeError( format( 'invalid argument. First argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) );
+ }
+ if ( !isMatrixTranspose( trans ) ) {
+ throw new TypeError( format( 'invalid argument. Second argument must be a valid transpose operation. Value: `%s`.', trans ) );
+ }
+ if ( N < 0 ) {
+ throw new RangeError( format( 'invalid argument. Third argument must be a nonnegative integer. Value: `%d`.', N ) );
+ }
+ if ( K < 0 ) {
+ throw new RangeError( format( 'invalid argument. Fourth argument must be a nonnegative integer. Value: `%d`.', K ) );
+ }
+ if ( strideC1 === 0 ) {
+ throw new RangeError( format( 'invalid argument. Sixteenth argument must be non-zero. Value: `%d`.', strideC1 ) );
+ }
+ if ( strideC2 === 0 ) {
+ throw new RangeError( format( 'invalid argument. Seventeenth argument must be non-zero. Value: `%d`.', strideC2 ) );
+ }
+ return base( uplo, trans, N, K, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB, beta, C, strideC1, strideC2, offsetC ); // eslint-disable-line max-len
+}
+
+
+// EXPORTS //
+
+module.exports = dsyr2k;
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/package.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/package.json
new file mode 100644
index 000000000000..501b86760988
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/package.json
@@ -0,0 +1,68 @@
+{
+ "name": "@stdlib/blas/base/dsyr2k",
+ "version": "0.0.0",
+ "description": "Perform one of the symmetric rank `2K` operations `C = α*A*B**T + C = α*B*A**T + β*C` or `C = α*A**T*B + α*B**T*A + β*C` where `α` and `β` are scalars, `C` is an `N` by `N` symmetric matrix and `A` and `B` are `N` by `K` matrices in the first case and `K` by `N` matricesin the second case.",
+ "license": "Apache-2.0",
+ "author": {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ },
+ "contributors": [
+ {
+ "name": "The Stdlib Authors",
+ "url": "https://github.com/stdlib-js/stdlib/graphs/contributors"
+ }
+ ],
+ "main": "./lib",
+ "directories": {
+ "benchmark": "./benchmark",
+ "doc": "./docs",
+ "example": "./examples",
+ "lib": "./lib",
+ "test": "./test"
+ },
+ "types": "./docs/types",
+ "scripts": {},
+ "homepage": "https://github.com/stdlib-js/stdlib",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/stdlib-js/stdlib.git"
+ },
+ "bugs": {
+ "url": "https://github.com/stdlib-js/stdlib/issues"
+ },
+ "dependencies": {},
+ "devDependencies": {},
+ "engines": {
+ "node": ">=0.10.0",
+ "npm": ">2.7.0"
+ },
+ "os": [
+ "aix",
+ "darwin",
+ "freebsd",
+ "linux",
+ "macos",
+ "openbsd",
+ "sunos",
+ "win32",
+ "windows"
+ ],
+ "keywords": [
+ "stdlib",
+ "stdmath",
+ "mathematics",
+ "math",
+ "blas",
+ "level 3",
+ "dsyr2k",
+ "linear",
+ "algebra",
+ "subroutines",
+ "array",
+ "ndarray",
+ "float64",
+ "double",
+ "float64array"
+ ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_l_nt.json
new file mode 100644
index 000000000000..cc2394ed08b9
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_l_t.json
new file mode 100644
index 000000000000..98d01d66c297
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_u_nt.json
new file mode 100644
index 000000000000..964b4606db7a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_u_t.json
new file mode 100644
index 000000000000..78c2d343a169
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_cc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_l_nt.json
new file mode 100644
index 000000000000..2f20f826b89c
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_l_t.json
new file mode 100644
index 000000000000..42f7469d5c93
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_u_nt.json
new file mode 100644
index 000000000000..5760cfc7e83f
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_u_t.json
new file mode 100644
index 000000000000..2b53255fc809
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_cb_rc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_l_nt.json
new file mode 100644
index 000000000000..505e729a46cd
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_l_t.json
new file mode 100644
index 000000000000..93d31b5d3921
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_u_nt.json
new file mode 100644
index 000000000000..4c2a2fdbbd89
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_u_t.json
new file mode 100644
index 000000000000..cae0730be55e
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_cc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_l_nt.json
new file mode 100644
index 000000000000..0e3766bad3b2
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_l_t.json
new file mode 100644
index 000000000000..c4fa36d9409c
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_u_nt.json
new file mode 100644
index 000000000000..4194e436e240
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_u_t.json
new file mode 100644
index 000000000000..9caf07f41932
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ca_rb_rc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 1,
+ "strideA2": 3,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_l_nt.json
new file mode 100644
index 000000000000..bf4235140907
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_l_nt.json
@@ -0,0 +1,31 @@
+{
+ "order": "column-major",
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_l_t.json
new file mode 100644
index 000000000000..3a485ceb172b
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_l_t.json
@@ -0,0 +1,31 @@
+{
+ "order": "column-major",
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_u_nt.json
new file mode 100644
index 000000000000..d7d2cfb7e7c2
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_u_nt.json
@@ -0,0 +1,31 @@
+{
+ "order": "column-major",
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_u_t.json
new file mode 100644
index 000000000000..cc319d13b6f6
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/column_major_u_t.json
@@ -0,0 +1,31 @@
+{
+ "order": "column-major",
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 4.0, 7.0, 2.0, 5.0, 8.0, 3.0, 6.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_l_nt.json
new file mode 100644
index 000000000000..4c1fabbd44bc
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_l_t.json
new file mode 100644
index 000000000000..88383a40b6b0
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_u_nt.json
new file mode 100644
index 000000000000..e52c63e23e44
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_u_t.json
new file mode 100644
index 000000000000..ac80d4a278dc
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_cc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_l_nt.json
new file mode 100644
index 000000000000..cbb9cc70e632
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_l_t.json
new file mode 100644
index 000000000000..be334d66ae7a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_u_nt.json
new file mode 100644
index 000000000000..7d3c6c9e0f4b
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_u_t.json
new file mode 100644
index 000000000000..f799e4666510
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_cb_rc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 1,
+ "strideB2": 3,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_l_nt.json
new file mode 100644
index 000000000000..680cf3701c48
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_l_t.json
new file mode 100644
index 000000000000..6b53ccfb5f25
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_u_nt.json
new file mode 100644
index 000000000000..941f566c96ee
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_u_t.json
new file mode 100644
index 000000000000..9bf42c7c943c
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_cc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 1,
+ "strideC2": 3,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt.json
new file mode 100644
index 000000000000..ff5180a14bbe
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_complex_access_pattern.json
new file mode 100644
index 000000000000..3e620d506870
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_complex_access_pattern.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 999.0, 1.0, 999.0, 2.0, 999.0, 3.0, 999.0, 4.0, 999.0, 5.0, 999.0, 6.0, 999.0, 7.0, 999.0, 8.0, 999.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 6,
+ "strideA2": 2,
+ "offsetA": 1,
+ "B": [ 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0, 999.0, 999.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 9,
+ "strideB2": 3,
+ "offsetB": 2,
+ "beta": 1.0,
+ "C": [ 999.0, 999.0, 999.0, 1.0, 999.0, 999.0, 999.0, 0.0, 999.0, 999.0, 999.0, 0.0, 999.0, 999.0, 999.0, 1.0, 999.0, 999.0, 999.0, 1.0, 999.0, 999.0, 999.0, 0.0, 999.0, 999.0, 999.0, 1.0, 999.0, 999.0, 999.0, 1.0, 999.0, 999.0, 999.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 12,
+ "strideC2": 4,
+ "offsetC": 3,
+ "C_out": [ 999.0, 999.0, 999.0, 13.0, 999.0, 999.0, 999.0, 0.0, 999.0, 999.0, 999.0, 0.0, 999.0, 999.0, 999.0, 22.0, 999.0, 999.0, 999.0, 31.0, 999.0, 999.0, 999.0, 0.0, 999.0, 999.0, 999.0, 31.0, 999.0, 999.0, 999.0, 40.0, 999.0, 999.0, 999.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_oa.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_oa.json
new file mode 100644
index 000000000000..37727f44f115
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_oa.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 2,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_ob.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_ob.json
new file mode 100644
index 000000000000..89cc66c4d09a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_ob.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 0.0, 0.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 2,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_oc.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_oc.json
new file mode 100644
index 000000000000..cefecd95c8d9
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_nt_oc.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 2,
+ "C_out": [ 0.0, 0.0, 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t.json
new file mode 100644
index 000000000000..e248e9d339b9
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1_sc2.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1_sc2.json
new file mode 100644
index 000000000000..e8ccd7628ce4
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1_sc2.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 999.0, 0.0, 999.0, 0.0, 999.0, 1.0, 999.0, 1.0, 999.0, 0.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 6,
+ "strideC2": 2,
+ "offsetC": 0,
+ "C_out": [ 25.0, 999.0, 0.0, 999.0, 0.0, 999.0, 28.0, 999.0, 31.0, 999.0, 0.0, 999.0, 31.0, 999.0, 34.0, 999.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1_sc2n.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1_sc2n.json
new file mode 100644
index 000000000000..6ee810f961c6
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1_sc2n.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 0.0, 0.0, 1.0, 999.0, 999.0, 999.0, 0.0, 1.0, 1.0, 999.0, 999.0, 999.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": 6,
+ "strideC2": -1,
+ "offsetC": 2,
+ "C_out": [ 0.0, 0.0, 25.0, 999.0, 999.0, 999.0, 0.0, 31.0, 28.0, 999.0, 999.0, 999.0, 37.0, 34.0, 31.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1n_sc2.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1n_sc2.json
new file mode 100644
index 000000000000..9661d4452f23
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1n_sc2.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 999.0, 999.0, 999.0, 1.0, 1.0, 0.0, 999.0, 999.0, 999.0, 1.0, 0.0, 0.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": -6,
+ "strideC2": 1,
+ "offsetC": 12,
+ "C_out": [ 31.0, 34.0, 37.0, 999.0, 999.0, 999.0, 28.0, 31.0, 0.0, 999.0, 999.0, 999.0, 25.0, 0.0, 0.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1n_sc2n.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1n_sc2n.json
new file mode 100644
index 000000000000..9e818b2c9cc4
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_l_t_sc1n_sc2n.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideC1": -3,
+ "strideC2": -1,
+ "offsetC": 8,
+ "C_out": [ 37.0, 34.0, 31.0, 0.0, 31.0, 28.0, 0.0, 0.0, 25.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt.json
new file mode 100644
index 000000000000..d7e8095ef40e
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1_sa2.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1_sa2.json
new file mode 100644
index 000000000000..7ce3787d59a0
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1_sa2.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 999.0, 2.0, 999.0, 3.0, 999.0, 4.0, 999.0, 5.0, 999.0, 6.0, 999.0, 7.0, 999.0, 8.0, 999.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 6,
+ "strideA2": 2,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1_sa2n.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1_sa2n.json
new file mode 100644
index 000000000000..03baaba8c18a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1_sa2n.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 3.0, 2.0, 1.0, 999.0, 999.0, 999.0, 6.0, 5.0, 4.0, 999.0, 999.0, 999.0, 9.0, 8.0, 7.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 6,
+ "strideA2": -1,
+ "offsetA": 2,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1n_sa2.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1n_sa2.json
new file mode 100644
index 000000000000..d3a1510626b7
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1n_sa2.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 7.0, 8.0, 9.0, 999.0, 999.0, 999.0, 4.0, 5.0, 6.0, 999.0, 999.0, 999.0, 1.0, 2.0, 3.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": -6,
+ "strideA2": 1,
+ "offsetA": 12,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1n_sa2n.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1n_sa2n.json
new file mode 100644
index 000000000000..9ca45b5c4505
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sa1n_sa2n.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": -3,
+ "strideA2": -1,
+ "offsetA": 8,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1_sb2.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1_sb2.json
new file mode 100644
index 000000000000..0916bfc9b755
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1_sb2.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0, 999.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 6,
+ "strideB2": 2,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1_sb2n.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1_sb2n.json
new file mode 100644
index 000000000000..65c3e5da1687
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1_sb2n.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 999.0, 999.0, 999.0, 1.0, 1.0, 1.0, 999.0, 999.0, 999.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 6,
+ "strideB2": -1,
+ "offsetB": 2,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1n_sb2.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1n_sb2.json
new file mode 100644
index 000000000000..c385c3125765
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1n_sb2.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 999.0, 999.0, 999.0, 1.0, 1.0, 1.0, 999.0, 999.0, 999.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": -6,
+ "strideB2": 1,
+ "offsetB": 12,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1n_sb2n.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1n_sb2n.json
new file mode 100644
index 000000000000..563a85798e66
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_nt_sb1n_sb2n.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": -3,
+ "strideB2": -1,
+ "offsetB": 8,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_t.json
new file mode 100644
index 000000000000..deb20979324a
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/ra_rb_rc_u_t.json
@@ -0,0 +1,36 @@
+{
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "strideA1": 3,
+ "strideA2": 1,
+ "offsetA": 0,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "strideB1": 3,
+ "strideB2": 1,
+ "offsetB": 0,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "strideC1": 3,
+ "strideC2": 1,
+ "offsetC": 0,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_l_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_l_nt.json
new file mode 100644
index 000000000000..f9410f3618ec
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_l_nt.json
@@ -0,0 +1,31 @@
+{
+ "order": "row-major",
+ "uplo": "lower",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 13.0, 0.0, 0.0, 22.0, 31.0, 0.0, 31.0, 40.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_l_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_l_t.json
new file mode 100644
index 000000000000..245a3b0f5ba2
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_l_t.json
@@ -0,0 +1,31 @@
+{
+ "order": "row-major",
+ "uplo": "lower",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 0.0, 0.0 ],
+ [ 1.0, 1.0, 0.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 25.0, 0.0, 0.0, 28.0, 31.0, 0.0, 31.0, 34.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_u_nt.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_u_nt.json
new file mode 100644
index 000000000000..6ec4053ddca1
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_u_nt.json
@@ -0,0 +1,31 @@
+{
+ "order": "row-major",
+ "uplo": "upper",
+ "trans": "no-transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 13.0, 22.0, 31.0, 0.0, 31.0, 40.0, 0.0, 0.0, 49.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_u_t.json b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_u_t.json
new file mode 100644
index 000000000000..11719119fd02
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/fixtures/row_major_u_t.json
@@ -0,0 +1,31 @@
+{
+ "order": "row-major",
+ "uplo": "upper",
+ "trans": "transpose",
+ "N": 3,
+ "K": 3,
+ "alpha": 1.0,
+ "A": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ],
+ "A_mat": [
+ [ 1.0, 2.0, 3.0 ],
+ [ 4.0, 5.0, 6.0 ],
+ [ 7.0, 8.0, 9.0 ]
+ ],
+ "lda": 3,
+ "B": [ 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0 ],
+ "B_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ],
+ [ 1.0, 1.0, 1.0 ]
+ ],
+ "ldb": 3,
+ "beta": 1.0,
+ "C": [ 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0 ],
+ "C_mat": [
+ [ 1.0, 1.0, 1.0 ],
+ [ 0.0, 1.0, 1.0 ],
+ [ 0.0, 0.0, 1.0 ]
+ ],
+ "ldc": 3,
+ "C_out": [ 25.0, 28.0, 31.0, 0.0, 31.0, 34.0, 0.0, 0.0, 37.0 ]
+}
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.dsyr2k.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.dsyr2k.js
new file mode 100644
index 000000000000..f6a05e0fd4c0
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.dsyr2k.js
@@ -0,0 +1,671 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable max-len */
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Float64Array = require( '@stdlib/array/float64' );
+var dscal = require( '@stdlib/blas/base/dscal' );
+var dsyr2k = require( './../lib/dsyr2k.js' );
+
+
+// FIXTURES //
+
+var clnt = require( './fixtures/column_major_l_nt.json' );
+var cunt = require( './fixtures/column_major_u_nt.json' );
+var clt = require( './fixtures/column_major_l_t.json' );
+var cut = require( './fixtures/column_major_u_t.json' );
+
+var rlnt = require( './fixtures/row_major_l_nt.json' );
+var runt = require( './fixtures/row_major_u_nt.json' );
+var rlt = require( './fixtures/row_major_l_t.json' );
+var rut = require( './fixtures/row_major_u_t.json' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof dsyr2k, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function has an arity of 13', function test( t ) {
+ t.strictEqual( dsyr2k.length, 13, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function throws an error if provided an invalid first argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ 'foo',
+ 'bar',
+ 'beep',
+ 'boop'
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( value, data.uplo, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid second argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ 'foo',
+ 'bar',
+ 'beep',
+ 'boop'
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, value, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid third argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ 'foo',
+ 'bar',
+ 'beep',
+ 'boop'
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, data.uplo, value, data.N, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid fourth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, data.uplo, data.trans, value, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid fifth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, data.uplo, data.trans, value, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid eighth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ 2,
+ 1,
+ 0,
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), value, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid tenth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ 2,
+ 1,
+ 0,
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), value, data.beta, new Float64Array( data.C ), data.ldc );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid thirteenth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rlnt;
+
+ values = [
+ 2,
+ 1,
+ 0,
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb, data.beta, new Float64Array( data.C ), value );
+ };
+ }
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row-major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rlnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column-major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = clnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row-major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = runt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column-major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row-major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rlt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column-major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = clt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row-major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column-major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns a reference to the third input matrix (row-major)', function test( t ) {
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns a reference to the third input matrix (column-major)', function test( t ) {
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.end();
+});
+
+tape( 'if `N` is `0`, the function returns the third input matrix unchanged (row-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, 0, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `N` is `0`, the function returns the third input matrix unchanged (column-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, 0, data.K, data.alpha, a, data.lda, b, data.ldb, data.beta, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` or `K` is `0` and `β` is `1`, the function returns the third input matrix unchanged (row-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, 0.0, a, data.lda, b, data.ldb, 1.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, 0, data.alpha, a, data.lda, b, data.ldb, 1.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` or `K` is `0` and `β` is `1`, the function returns the third input matrix unchanged (column-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, 0.0, a, data.lda, b, data.ldb, 1.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, 0, data.alpha, a, data.lda, b, data.ldb, 1.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` is `0` and `β` is `0`, the function returns the third input matrix filled with zeros (row-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( c.length );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, 0.0, a, data.lda, b, data.ldb, 0.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` is `0` and `β` is `0`, the function returns the third input matrix filled with zeros (column-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( c.length );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, 0.0, a, data.lda, b, data.ldb, 0.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` is `0` and `β` is neither `0` nor `1`, the function returns the third input matrix scaled by `β` (row-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = dscal( c.length, 10.0, new Float64Array( c ), 1 );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, 0.0, a, data.lda, b, data.ldb, 10.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` is `0` and `β` is neither `0` nor `1`, the function returns the third input matrix scaled by `β` (column-major)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = dscal( c.length, 10.0, new Float64Array( c ), 1 );
+
+ out = dsyr2k( data.order, data.uplo, data.trans, data.N, data.K, 0.0, a, data.lda, b, data.ldb, 10.0, c, data.ldc );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.js
new file mode 100644
index 000000000000..2074ac107e97
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.js
@@ -0,0 +1,82 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var proxyquire = require( 'proxyquire' );
+var IS_BROWSER = require( '@stdlib/assert/is-browser' );
+var dsyr2k = require( './../lib' );
+
+
+// VARIABLES //
+
+var opts = {
+ 'skip': IS_BROWSER
+};
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof dsyr2k, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'attached to the main export is a method providing an ndarray interface', function test( t ) {
+ t.strictEqual( typeof dsyr2k.ndarray, 'function', 'method is a function' );
+ t.end();
+});
+
+tape( 'if a native implementation is available, the main export is the native implementation', opts, function test( t ) {
+ var dsyr2k = proxyquire( './../lib', {
+ '@stdlib/utils/try-require': tryRequire
+ });
+
+ t.strictEqual( dsyr2k, mock, 'returns expected value' );
+ t.end();
+
+ function tryRequire() {
+ return mock;
+ }
+
+ function mock() {
+ // Mock...
+ }
+});
+
+tape( 'if a native implementation is not available, the main export is a JavaScript implementation', opts, function test( t ) {
+ var dsyr2k;
+ var main;
+
+ main = require( './../lib/dsyr2k.js' );
+
+ dsyr2k = proxyquire( './../lib', {
+ '@stdlib/utils/try-require': tryRequire
+ });
+
+ t.strictEqual( dsyr2k, main, 'returns expected value' );
+ t.end();
+
+ function tryRequire() {
+ return new Error( 'Cannot find module' );
+ }
+});
diff --git a/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.ndarray.js
new file mode 100644
index 000000000000..844cad197722
--- /dev/null
+++ b/lib/node_modules/@stdlib/blas/base/dsyr2k/test/test.ndarray.js
@@ -0,0 +1,1414 @@
+/**
+* @license Apache-2.0
+*
+* Copyright (c) 2025 The Stdlib Authors.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+/* eslint-disable max-len */
+
+'use strict';
+
+// MODULES //
+
+var tape = require( 'tape' );
+var Float64Array = require( '@stdlib/array/float64' );
+var dscal = require( '@stdlib/blas/base/dscal' );
+var dsyr2k = require( './../lib/ndarray.js' );
+
+
+// FIXTURES //
+
+var cacbcclnt = require( './fixtures/ca_cb_cc_l_nt.json' );
+var cacbcclt = require( './fixtures/ca_cb_cc_l_t.json' );
+var cacbccunt = require( './fixtures/ca_cb_cc_u_nt.json' );
+var cacbccut = require( './fixtures/ca_cb_cc_u_t.json' );
+var cacbrclnt = require( './fixtures/ca_cb_rc_l_nt.json' );
+var cacbrclt = require( './fixtures/ca_cb_rc_l_t.json' );
+var cacbrcunt = require( './fixtures/ca_cb_rc_u_nt.json' );
+var cacbrcut = require( './fixtures/ca_cb_rc_u_t.json' );
+var carbcclnt = require( './fixtures/ca_rb_cc_l_nt.json' );
+var carbcclt = require( './fixtures/ca_rb_cc_l_t.json' );
+var carbccunt = require( './fixtures/ca_rb_cc_u_nt.json' );
+var carbccut = require( './fixtures/ca_rb_cc_u_t.json' );
+var carbrclnt = require( './fixtures/ca_rb_rc_l_nt.json' );
+var carbrclt = require( './fixtures/ca_rb_rc_l_t.json' );
+var carbrcunt = require( './fixtures/ca_rb_rc_u_nt.json' );
+var carbrcut = require( './fixtures/ca_rb_rc_u_t.json' );
+
+var racbcclnt = require( './fixtures/ra_cb_cc_l_nt.json' );
+var racbcclt = require( './fixtures/ra_cb_cc_l_t.json' );
+var racbccunt = require( './fixtures/ra_cb_cc_u_nt.json' );
+var racbccut = require( './fixtures/ra_cb_cc_u_t.json' );
+var racbrclnt = require( './fixtures/ra_cb_rc_l_nt.json' );
+var racbrclt = require( './fixtures/ra_cb_rc_l_t.json' );
+var racbrcunt = require( './fixtures/ra_cb_rc_u_nt.json' );
+var racbrcut = require( './fixtures/ra_cb_rc_u_t.json' );
+var rarbcclnt = require( './fixtures/ra_rb_cc_l_nt.json' );
+var rarbcclt = require( './fixtures/ra_rb_cc_l_t.json' );
+var rarbccunt = require( './fixtures/ra_rb_cc_u_nt.json' );
+var rarbccut = require( './fixtures/ra_rb_cc_u_t.json' );
+var rarbrclnt = require( './fixtures/ra_rb_rc_l_nt.json' );
+var rarbrclt = require( './fixtures/ra_rb_rc_l_t.json' );
+var rarbrcunt = require( './fixtures/ra_rb_rc_u_nt.json' );
+var rarbrcut = require( './fixtures/ra_rb_rc_u_t.json' );
+
+var rarbrcuntsa1sa2 = require( './fixtures/ra_rb_rc_u_nt_sa1_sa2.json' );
+var rarbrcuntsa1nsa2 = require( './fixtures/ra_rb_rc_u_nt_sa1n_sa2.json' );
+var rarbrcuntsa1sa2n = require( './fixtures/ra_rb_rc_u_nt_sa1_sa2n.json' );
+var rarbrcuntsa1nsa2n = require( './fixtures/ra_rb_rc_u_nt_sa1n_sa2n.json' );
+var rarbrcuntsb1sb2 = require( './fixtures/ra_rb_rc_u_nt_sb1_sb2.json' );
+var rarbrcuntsb1nsb2 = require( './fixtures/ra_rb_rc_u_nt_sb1n_sb2.json' );
+var rarbrcuntsb1sb2n = require( './fixtures/ra_rb_rc_u_nt_sb1_sb2n.json' );
+var rarbrcuntsb1nsb2n = require( './fixtures/ra_rb_rc_u_nt_sb1n_sb2n.json' );
+var rarbrcltsc1sc2 = require( './fixtures/ra_rb_rc_l_t_sc1_sc2.json' );
+var rarbrcltsc1nsc2 = require( './fixtures/ra_rb_rc_l_t_sc1n_sc2.json' );
+var rarbrcltsc1sc2n = require( './fixtures/ra_rb_rc_l_t_sc1_sc2n.json' );
+var rarbrcltsc1nsc2n = require( './fixtures/ra_rb_rc_l_t_sc1n_sc2n.json' );
+var rarbrclntoa = require( './fixtures/ra_rb_rc_l_nt_oa.json' );
+var rarbrclntob = require( './fixtures/ra_rb_rc_l_nt_ob.json' );
+var rarbrclntoc = require( './fixtures/ra_rb_rc_l_nt_oc.json' );
+var cap = require( './fixtures/ra_rb_rc_l_nt_complex_access_pattern.json' );
+
+
+// TESTS //
+
+tape( 'main export is a function', function test( t ) {
+ t.ok( true, __filename );
+ t.strictEqual( typeof dsyr2k, 'function', 'main export is a function' );
+ t.end();
+});
+
+tape( 'the function has an arity of 18', function test( t ) {
+ t.strictEqual( dsyr2k.length, 18, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function throws an error if provided an invalid first argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rarbrclnt;
+
+ values = [
+ 'foo',
+ 'bar',
+ 'beep',
+ 'boop'
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( value, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB, data.beta, new Float64Array( data.C ), data.strideC1, data.strideC2, data.offsetC );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid second argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rarbrclnt;
+
+ values = [
+ 'foo',
+ 'bar',
+ 'beep',
+ 'boop'
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.uplo, value, data.N, data.K, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB, data.beta, new Float64Array( data.C ), data.strideC1, data.strideC2, data.offsetC );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid third argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rarbrclnt;
+
+ values = [
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.uplo, data.trans, value, data.K, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB, data.beta, new Float64Array( data.C ), data.strideC1, data.strideC2, data.offsetC );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid fourth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rarbrclnt;
+
+ values = [
+ -1,
+ -2,
+ -3
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.uplo, data.trans, value, data.K, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB, data.beta, new Float64Array( data.C ), data.strideC1, data.strideC2, data.offsetC );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid sixteenth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rarbrclnt;
+
+ values = [
+ 0
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB, data.beta, new Float64Array( data.C ), value, data.strideC2, data.offsetC );
+ };
+ }
+});
+
+tape( 'the function throws an error if provided an invalid seventeenth argument', function test( t ) {
+ var values;
+ var data;
+ var i;
+
+ data = rarbrclnt;
+
+ values = [
+ 0
+ ];
+
+ for ( i = 0; i < values.length; i++ ) {
+ t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] );
+ }
+ t.end();
+
+ function badValue( value ) {
+ return function badValue() {
+ dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB, data.beta, new Float64Array( data.C ), data.strideC1, value, data.offsetC );
+ };
+ }
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, column_major, column_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbcclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, column_major, column_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbccunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, column_major, column_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbcclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, column_major, column_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbccut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, column_major, row_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbrclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, column_major, row_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbrcunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, column_major, row_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbrclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, column_major, row_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cacbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, row_major, column_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbcclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, row_major, column_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbccunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, row_major, column_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbcclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, row_major, column_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbccut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, row_major, row_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbrclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (column_major, row_major, row_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbrcunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, row_major, row_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbrclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (column_major, row_major, row_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = carbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, column_major, column_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbcclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, column_major, column_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbccunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, column_major, column_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbcclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, column_major, column_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbccut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, column_major, row_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbrclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, column_major, row_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbrcunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, column_major, row_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbrclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, column_major, row_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = racbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, row_major, column_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbcclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, row_major, column_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbccunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, row_major, column_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbcclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, row_major, column_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbccut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, row_major, row_major, lower, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A*B**T + C = α*B*A**T + β*C` (row_major, row_major, row_major, upper, no-transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcunt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, row_major, row_major, lower, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrclt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function performs the matrix-matrix operation `C = α*A**T*B + α*B**T*A + β*C` (row_major, row_major, row_major, upper, transpose)', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function returns a reference to the third input matrix', function test( t ) {
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrclnt;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.end();
+});
+
+tape( 'if `N` is `0`, the function returns the third input matrix unchanged', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C );
+
+ out = dsyr2k( data.uplo, data.trans, 0, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` or `K` is `0` and `β` is `1`, the function returns the third input matrix unchanged', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, 0.0, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, 1.0, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, 0, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, 1.0, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` is `0` and `β` is `0`, the function returns the third input matrix filled with zeros', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( c.length );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, 0.0, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, 0.0, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'if `α` is `0` and `β` is neither `0` nor `1`, the function returns the third input matrix scaled by `β`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcut;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = dscal( c.length, 10.0, new Float64Array( c ), 1 );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, 0.0, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, 10.0, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+
+ t.end();
+});
+
+tape( 'the function supports specifying the strides of the first and second dimensions of `A`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsa1sa2;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports a negative stride for the first dimension of `A`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsa1nsa2;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports a negative stride for the second dimension of `A`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsa1sa2n;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports negative strides for `A`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsa1nsa2n;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying an offset parameter for `A`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrclntoa;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying the strides of the first and second dimensions of `B`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsb1sb2;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports a negative stride for the first dimension of `B`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsb1nsb2;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports a negative stride for the second dimension of `B`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsb1sb2n;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports negative strides for `B`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcuntsb1nsb2n;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying an offset parameter for `B`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrclntob;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying the strides of the first and second dimensions of `C`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcltsc1sc2;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports a negative stride for the first dimension of `C`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcltsc1nsc2;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports a negative stride for the second dimension of `C`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcltsc1sc2n;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports negative strides for `C`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrcltsc1nsc2n;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports specifying an offset parameter for `C`', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = rarbrclntoc;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});
+
+tape( 'the function supports complex access patterns', function test( t ) {
+ var expected;
+ var data;
+ var out;
+ var a;
+ var b;
+ var c;
+
+ data = cap;
+
+ a = new Float64Array( data.A );
+ b = new Float64Array( data.B );
+ c = new Float64Array( data.C );
+
+ expected = new Float64Array( data.C_out );
+
+ out = dsyr2k( data.uplo, data.trans, data.N, data.K, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB, data.beta, c, data.strideC1, data.strideC2, data.offsetC );
+ t.strictEqual( out, c, 'returns expected value' );
+ t.deepEqual( out, expected, 'returns expected value' );
+ t.end();
+});