From 574b5901566d43bd5966d0e4d0828217a37c9119 Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Sun, 15 Jun 2025 16:04:21 +0530 Subject: [PATCH 1/9] feat: add blas/base/dtrmm --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed --- --- .../@stdlib/blas/base/dtrmm/README.md | 263 +++ .../blas/base/dtrmm/benchmark/benchmark.js | 104 + .../base/dtrmm/benchmark/benchmark.ndarray.js | 104 + .../@stdlib/blas/base/dtrmm/docs/repl.txt | 150 ++ .../blas/base/dtrmm/docs/types/index.d.ts | 129 ++ .../blas/base/dtrmm/docs/types/test.ts | 486 ++++ .../@stdlib/blas/base/dtrmm/examples/index.js | 38 + .../@stdlib/blas/base/dtrmm/lib/base.js | 356 +++ .../@stdlib/blas/base/dtrmm/lib/dtrmm.js | 128 ++ .../@stdlib/blas/base/dtrmm/lib/index.js | 68 + .../@stdlib/blas/base/dtrmm/lib/main.js | 35 + .../@stdlib/blas/base/dtrmm/lib/ndarray.js | 101 + .../@stdlib/blas/base/dtrmm/package.json | 68 + .../dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json | 28 + ..._cb_l_l_nta_nu_complex_access_pattern.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_l_u_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_cb_r_u_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json | 28 + ..._rb_l_l_nta_nu_complex_access_pattern.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_l_u_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ca_rb_r_u_ta_u.json | 28 + .../fixtures/column_major_l_l_nta_nu.json | 25 + .../test/fixtures/column_major_l_l_nta_u.json | 25 + .../test/fixtures/column_major_l_l_ta_nu.json | 25 + .../test/fixtures/column_major_l_l_ta_u.json | 25 + .../fixtures/column_major_l_u_nta_nu.json | 25 + .../test/fixtures/column_major_l_u_nta_u.json | 25 + .../test/fixtures/column_major_l_u_ta_nu.json | 25 + .../test/fixtures/column_major_l_u_ta_u.json | 25 + .../fixtures/column_major_r_l_nta_nu.json | 25 + .../test/fixtures/column_major_r_l_nta_u.json | 25 + .../test/fixtures/column_major_r_l_ta_nu.json | 25 + .../test/fixtures/column_major_r_l_ta_u.json | 25 + .../fixtures/column_major_r_u_nta_nu.json | 25 + .../test/fixtures/column_major_r_u_nta_u.json | 25 + .../test/fixtures/column_major_r_u_ta_nu.json | 25 + .../test/fixtures/column_major_r_u_ta_u.json | 25 + .../dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json | 28 + ..._cb_l_l_nta_nu_complex_access_pattern.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_l_u_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_cb_r_u_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json | 28 + ..._rb_l_l_nta_nu_complex_access_pattern.json | 28 + .../test/fixtures/ra_rb_l_l_nta_nu_oa.json | 28 + .../test/fixtures/ra_rb_l_l_nta_nu_ob.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json | 28 + .../fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_l_u_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_l_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_l_ta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_u_nta_u.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json | 28 + .../dtrmm/test/fixtures/ra_rb_r_u_ta_u.json | 28 + .../test/fixtures/row_major_l_l_nta_nu.json | 25 + .../test/fixtures/row_major_l_l_nta_u.json | 25 + .../test/fixtures/row_major_l_l_ta_nu.json | 25 + .../test/fixtures/row_major_l_l_ta_u.json | 25 + .../test/fixtures/row_major_l_u_nta_nu.json | 25 + .../test/fixtures/row_major_l_u_nta_u.json | 25 + .../test/fixtures/row_major_l_u_ta_nu.json | 25 + .../test/fixtures/row_major_l_u_ta_u.json | 25 + .../test/fixtures/row_major_r_l_nta_nu.json | 25 + .../test/fixtures/row_major_r_l_nta_u.json | 25 + .../test/fixtures/row_major_r_l_ta_nu.json | 25 + .../test/fixtures/row_major_r_l_ta_u.json | 25 + .../test/fixtures/row_major_r_u_nta_nu.json | 25 + .../test/fixtures/row_major_r_u_nta_u.json | 25 + .../test/fixtures/row_major_r_u_ta_nu.json | 25 + .../test/fixtures/row_major_r_u_ta_u.json | 25 + .../blas/base/dtrmm/test/test.dtrmm.js | 1076 +++++++++ .../@stdlib/blas/base/dtrmm/test/test.js | 82 + .../blas/base/dtrmm/test/test.ndarray.js | 1947 +++++++++++++++++ 126 files changed, 8119 insertions(+) create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/README.md create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.ndarray.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/lib/main.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/package.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/test.js create mode 100644 lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/README.md b/lib/node_modules/@stdlib/blas/base/dtrmm/README.md new file mode 100644 index 000000000000..33e41afef0ca --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/README.md @@ -0,0 +1,263 @@ + + + +# dtrmm + +> Perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + +
+ +## Usage + +```javascript +var dtrmm = require( '@stdlib/blas/base/dtrmm' ); +``` + +#### dtrmm( order, side, uplo, transa, diag, M, N, α, A, LDA, B, LDB ) + +Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + +```javascript +var Float64Array = require( '@stdlib/array/float64' ); + +var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); + +dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, 3 ); +// B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +``` + +The function has the following parameters: + +- **order**: storage layout of `A` and `B`. +- **side**: specifies whether `op( A )` appears on the left or right side of `X`. +- **uplo**: specifies whether the upper or lower triangular part of the matrix `A` is supplied. +- **transa**: specifies the form of `op( A )` to be used in the matrix multiplication. +- **diag**: specifies whether or not `A` is unit triangular. +- **M**: number of rows in `B`. +- **N**: number of columns in `B`. +- **alpha**: scalar constant. +- **A**: input matrix `A`. +- **LDA**: stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`). +- **B**: input matrix `B`. +- **LDB**: stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`). + +Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views. + + + +```javascript +var Float64Array = require( '@stdlib/array/float64' ); + +// Initial arrays... +var A0 = new Float64Array( [ 0.0, 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +var B0 = new Float64Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); + +// Create offset views... +var A1 = new Float64Array( A0.buffer, A0.BYTES_PER_ELEMENT*1 ); // start at 2nd element +var B1 = new Float64Array( B0.buffer, B0.BYTES_PER_ELEMENT*1 ); // start at 2nd element + +dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A1, 3, B1, 3 ); +// B1 => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +``` + +#### dtrmm.ndarray( s, ul, t, d, M, N, α, A, sa1, sa2, oa, B, sb1, sb2, ob ) + +one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` using alternative indexing semantics and where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + +```javascript +var Float64Array = require( '@stdlib/array/float64' ); + +var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); + +dtrmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 ); +// B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +``` + +The function has the following parameters: + +- **side**: specifies whether `op( A )` appears on the left or right side of `X`. +- **uplo**: specifies whether the upper or lower triangular part of the matrix `A` is supplied. +- **transa**: specifies the form of `op( A )` to be used in the matrix multiplication. +- **diag**: specifies whether or not `A` is unit triangular. +- **M**: number of rows in `B`. +- **N**: number of columns in `B`. +- **alpha**: scalar constant. +- **A**: input matrix `A`. +- **sa1**: stride of the first dimension of `A`. +- **sa2**: stride of the second dimension of `A`. +- **oa**: starting index for `A`. +- **B**: input matrix `B`. +- **sb1**: stride of the first dimension of `B`. +- **sb2**: stride of the second dimension of `B`. +- **ob**: starting index for `B`. + +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, 0.0, 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +var B = new Float64Array( [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); + +dtrmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 2, B, 3, 1, 1 ); +// B => [ 0.0, 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +``` + +
+ + + +
+ +## Notes + +- `dtrmm()` corresponds to the [BLAS][blas] level 3 function [`dtrmm`][dtrmm]. + +
+ + + +
+ +## Examples + + + +```javascript +var discreteUniform = require( '@stdlib/random/array/discrete-uniform' ); +var dtrmm = require( '@stdlib/blas/base/dtrmm' ); + +var opts = { + 'dtype': 'float64' +}; + +var M = 3; +var N = 3; + +var A = discreteUniform( M*N, -10.0, 10.0, opts ); +var B = discreteUniform( M*N, -10.0, 10.0, opts ); + +var out = dtrmm( 'column-major', 'left', 'upper', 'no-transpose', 'non-unit', M, N, 1.0, A, N, B, N ); +console.log( out ); + +out = dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', M, N, 1.0, A, N, 1, 0, B, N, 1, 0 ); +console.log( out ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +TODO +``` + +#### TODO + +TODO. + +```c +TODO +``` + +TODO + +```c +TODO +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +TODO +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.js b/lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.js new file mode 100644 index 000000000000..26f3598d0988 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.js @@ -0,0 +1,104 @@ +/** +* @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 ones = require( '@stdlib/array/ones' ); +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 dtrmm = require( './../lib/dtrmm.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 = ones( N*N, options.dtype ); + var B = ones( N*N, options.dtype ); + 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 = dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'non-unit', N, N, 1.0, A, N, B, 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 = 6; // 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/dtrmm/benchmark/benchmark.ndarray.js b/lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.ndarray.js new file mode 100644 index 000000000000..4a01935abe8f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/benchmark/benchmark.ndarray.js @@ -0,0 +1,104 @@ +/** +* @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 ones = require( '@stdlib/array/ones' ); +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 dtrmm = 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 = ones( N*N, options.dtype ); + var B = ones( N*N, options.dtype ); + 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 = dtrmm( 'left', 'lower', 'no-transpose', 'non-unit', N, N, 1.0, A, 1, N, 0, B, 1, N, 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 = 6; // 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/dtrmm/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt new file mode 100644 index 000000000000..7f7dff7fb9f6 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt @@ -0,0 +1,150 @@ + +{{alias}}( ord, side, uplo, transa, diag, M, N, α, A, lda, B, ldb ) + Performs one of the matrix-matrix operations `B = α * op(A) * B` or + `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is + a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one + of `op( A ) = A` or `op( A ) = A**T`. + + Indexing is relative to the first index. To introduce an offset, use typed + array views. + + If `M` or `N` is equal to `0`, the function returns `B` unchanged. + + If `α` equals `0`, returns `B` filled with zeros. + + Parameters + ---------- + ord: string + Row-major (C-style) or column-major (Fortran-style) order. Must be + either 'row-major' or 'column-major'. + + side: string + Specifies whether `op( A )` multiplies `B` from the left or right. + + uplo: string + Specifies whether `A` is an upper or lower triangular matrix. + + transa: string + Specifies whether `A` should be transposed, conjugate-transposed, or + not transposed. + + diag: string + Specifies whether `A` has a unit diagonal. + + M: integer + Number of rows of `B`. + + N: integer + Number of columns of `B`. + + α: number + Scalar constant. + + A: Float64Array + Input 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`). + + Returns + ------- + B: Float64Array + Second matrix. + + Examples + -------- + > var A = new {{alias:@stdlib/array/float64}}( [ 1.0, 0.0, 2.0, 3.0 ] ); + > var B = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] ); + > var ord = 'row-major'; + > var side = 'left'; + > var uplo = 'lower'; + > var transa = 'no-transpose'; + > var diag = 'unit'; + > {{alias}}( ord, side, uplo, transa, diag, 2, 2, 1.0, A, 2, B, 2 ) + [ 1.0, 2.0, 5.0, 8.0 ] + + +{{alias}}.ndarray(side,uplo,transa,diag,M,N,α,A,sa1,sa2,oa,B,sb1,sb2,ob) + Performs one of the matrix-matrix operations `B = α * op(A) * B` or + `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is + a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one + of `op( A ) = A` or `op( A ) = A**T` using alternative indexing semantics. + + While typed array views mandate a view offset based on the underlying + buffer, the offset parameters support indexing semantics based on starting + indices. + + Parameters + ---------- + side: string + Specifies whether `op( A )` multiplies `B` from the left or right. + + uplo: string + Specifies whether `A` is an upper or lower triangular matrix. + + transa: string + Specifies whether `A` should be transposed, conjugate-transposed, or + not transposed. + + diag: string + Specifies whether `A` has a unit diagonal. + + M: integer + Number of rows of `B`. + + N: integer + Number of columns of `B`. + + α: number + Scalar constant. + + A: Float64Array + Input 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`. + + Returns + ------- + B: Float64Array + Second matrix. + + Examples + -------- + > var A = new {{alias:@stdlib/array/float64}}( [ 1.0, 0.0, 2.0, 3.0 ] ); + > var B = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] ); + > var side = 'left'; + > var uplo = 'lower'; + > var transa = 'no-transpose'; + > var diag = 'unit'; + > {{alias}}.ndarray(side,uplo,transa,diag,2,2,1.0,A,2,1,0,B,2,1,0) + [ 1.0, 2.0, 5.0, 8.0 ] + + See Also + -------- diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts new file mode 100644 index 000000000000..fbe62b4eb448 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts @@ -0,0 +1,129 @@ +/* +* @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, DiagonalType, OperationSide, TransposeOperation } from '@stdlib/types/blas'; + +/** +* Interface describing `dtrmm`. +*/ +interface Routine { + /** + * Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + * + * @param order - storage layout of `A` and `B` + * @param side - specifies whether `op( A )` multiplies `B` from the left or right + * @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied + * @param transa - specifies the form of `op( A )` to be used in matrix multiplication + * @param diag - specifies whether or not `A` is unit triangular + * @param M - number of rows in `B` + * @param N - number of columns in `B` + * @param alpha - scalar constant + * @param A - input matrix `A` + * @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) + * @param B - input matrix `B` + * @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) + * @returns `B` + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); + * var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); + * + * dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, 3 ); + * // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] + */ + ( order: Layout, side: OperationSide, uplo: MatrixTriangle, transa: TransposeOperation, diag: DiagonalType, M: number, N: number, alpha: number, A: Float64Array, LDA: number, B: Float64Array, LDB: number ): Float64Array; + + /** + * Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` using alternative indexing semantics, where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + * + * @param side - specifies whether `op( A )` multiplies `B` from the left or right + * @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied + * @param transa - specifies the form of `op( A )` to be used in matrix multiplication + * @param diag - specifies whether or not `A` is unit triangular + * @param M - number of rows in `B` + * @param N - number of columns in `B` + * @param alpha - scalar constant + * @param A - input matrix `A` + * @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 B - input matrix `B` + * @param strideB1 - stride of the first dimension of `B` + * @param strideB2 - stride of the second dimension of `B` + * @param offsetB - starting index for `B` + * @returns `B` + * + * @example + * var Float64Array = require( '@stdlib/array/float64' ); + * + * var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); + * var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); + * + * dtrmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 ); + * // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] + */ + ndarray( side: OperationSide, uplo: MatrixTriangle, transa: TransposeOperation, diag: DiagonalType, M: number, N: number, alpha: number, A: Float64Array, strideA1: number, strideA2: number, offsetA: number, B: Float64Array, strideB1: number, strideB2: number, offsetB: number ): Float64Array; +} + +/** +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* +* @param order - storage layout of `A` and `B` +* @param side - specifies whether `op( A )` multiplies `B` from the left or right +* @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied +* @param transa - specifies the form of `op( A )` to be used in matrix multiplication +* @param diag - specifies whether or not `A` is unit triangular +* @param M - number of rows in `B` +* @param N - number of columns in `B` +* @param alpha - scalar constant +* @param A - input matrix `A` +* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) +* @param B - input matrix `B` +* @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) +* @returns `B` +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, 3 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +*/ +declare var dtrmm: Routine; + + +// EXPORTS // + +export = dtrmm; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/test.ts b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/test.ts new file mode 100644 index 000000000000..e37226c14382 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/test.ts @@ -0,0 +1,486 @@ +/* +* @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 dtrmm = require( './index' ); + + +// TESTS // + +// The function returns a Float64Array... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectType Float64Array +} + +// The compiler throws an error if the function is provided a first argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 5, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( true, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( false, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( null, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( void 0, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( [], 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( {}, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( ( x: number ): number => x, 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a second argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 5, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', true, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', false, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', null, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', void 0, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', [], 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', {}, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', ( x: number ): number => x, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a third argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 5, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', true, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', false, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', null, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', void 0, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', [], 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', {}, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', ( x: number ): number => x, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a fourth argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 5, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', true, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', false, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', null, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', void 0, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', [], 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', {}, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', ( x: number ): number => x, 'non-unit', 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a fifth argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 5, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', true, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', false, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', null, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', void 0, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', [], 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', {}, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', ( x: number ): number => x, 2, 2, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a sixth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', '5', 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', true, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', false, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', null, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', void 0, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', [], 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', {}, 2, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', ( x: number ): number => x, 2, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a seventh argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, '5', 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, true, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, false, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, null, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, void 0, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, [], 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, {}, 6.0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, ( x: number ): number => x, 6.0, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided an eighth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, '5', A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, true, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, false, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, null, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, void 0, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, [], A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, {}, A, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, ( x: number ): number => x, A, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a ninth argument which is not a Float64Array... +{ + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, '5', 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, 5, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, true, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, false, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, null, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, void 0, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, [], 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, {}, 2, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, ( x: number ): number => x, 2, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a tenth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, '5', B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, true, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, false, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, null, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, void 0, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, [], B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, {}, B, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, ( x: number ): number => x, B, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided an eleventh argument which is not a Float64Array... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, '5', 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 5, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, true, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, false, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, null, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, void 0, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, [], 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, {}, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, ( x: number ): number => x, 2 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a twelfth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, '5' ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, true ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, false ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, null ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, void 0 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, [] ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, {} ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided an unsupported number of arguments... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm(); // $ExpectError + dtrmm( 'row-major' ); // $ExpectError + dtrmm( 'row-major', 'left' ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper' ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose' ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit' ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2 ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B ); // $ExpectError + dtrmm( 'row-major', 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, B, 2, 10 ); // $ExpectError +} + +// Attached to main export is an `ndarray` method which returns a Float64Array... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 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( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 5, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( true, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( false, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( null, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( void 0, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( [], 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( {}, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( ( x: number ): number => x, 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 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( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 5, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', true, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', false, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', null, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', void 0, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', [], 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', {}, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', ( x: number ): number => x, 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a third argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 5, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', true, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', false, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', null, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', void 0, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', [], 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', {}, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', ( x: number ): number => x, 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a fourth argument which is not a string... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 5, 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', true, 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', false, 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', null, 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', void 0, 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', [], 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', {}, 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', ( x: number ): number => x, 2, 2, 6.0, A, 2, 1, 0, B, 2, 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( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', '5', 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', true, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', false, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', null, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', void 0, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', [], 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', {}, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', ( x: number ): number => x, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a sixth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, '5', 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, true, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, false, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, null, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, void 0, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, [], 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, {}, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, ( x: number ): number => x, 6.0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a seventh argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, '5', A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, true, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, false, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, null, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, void 0, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, [], A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, {}, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, ( x: number ): number => x, A, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided an eighth argument which is not a Float64Array... +{ + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, '5', 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, 5, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, true, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, false, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, null, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, void 0, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, [], 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, {}, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, ( x: number ): number => x, 2, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a ninth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, '5', 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, true, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, false, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, null, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, void 0, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, [], 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, {}, 1, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, ( x: number ): number => x, 1, 0, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a tenth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, '5', 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, true, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, false, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, null, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, void 0, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, [], 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, {}, 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, ( x: number ): number => x, 0, B, 2, 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( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, '5', B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, true, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, false, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, null, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, void 0, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, [], B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, {}, B, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, ( x: number ): number => x, B, 2, 1, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a twelfth argument which is not a Float64Array... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, '5', 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, 5, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, true, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, false, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, null, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, void 0, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, [], 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, {}, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, ( x: number ): number => x, 2, 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( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, '5', 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, true, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, false, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, null, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, void 0, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, [], 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, {}, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, ( x: number ): number => x, 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( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, '5', 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, true, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, false, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, null, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, void 0, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, [], 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, {}, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, ( x: number ): number => x, 0 ); // $ExpectError +} + +// The compiler throws an error if the function is provided a fifteenth argument which is not a number... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, '5' ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, true ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, false ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, null ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, void 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, [] ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, {} ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments... +{ + const A = new Float64Array( [ 1.0, 3.0, 0.0, 4.0 ] ); + const B = new Float64Array( [ 5.0, 7.0, 0.0, 8.0 ] ); + + dtrmm.ndarray(); // $ExpectError + dtrmm.ndarray( 'left' ); // $ExpectError + dtrmm.ndarray( 'left', 'upper' ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose' ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit' ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1 ); // $ExpectError + dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', 2, 2, 6.0, A, 2, 1, 0, B, 2, 1, 0, 10 ); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js b/lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js new file mode 100644 index 000000000000..270c22dfab3c --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/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 dtrmm = require( './../lib' ); + +var opts = { + 'dtype': 'float64' +}; + +var M = 3; +var N = 3; + +var A = discreteUniform( M*N, -10.0, 10.0, opts ); +var B = discreteUniform( M*N, -10.0, 10.0, opts ); + +var out = dtrmm( 'column-major', 'left', 'upper', 'no-transpose', 'non-unit', M, N, 1.0, A, N, B, N ); +console.log( out ); + +out = dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', M, N, 1.0, A, N, 1, 0, B, N, 1, 0 ); +console.log( out ); diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js new file mode 100644 index 000000000000..7530dfb88c18 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js @@ -0,0 +1,356 @@ +/** +* @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-statements, max-lines-per-function */ + +'use strict'; + +// MODULES // + +var isRowMajor = require( '@stdlib/ndarray/base/assert/is-row-major' ); + + +// FUNCTIONS // + +/** +* Fills a matrix with zeros. +* +* @private +* @param {NonNegativeInteger} M - number of rows +* @param {NonNegativeInteger} N - number of columns +* @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 ] ); +* +* zeros( 2, 3, X, 3, 1, 0 ); +* // X => [ 0.0, 0.0, 0.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 ] ); +* +* zeros( 2, 3, X, 1, 2, 0 ); +* // X => [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ] +*/ +function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider moving to a separate package + var dx0; + var dx1; + var S0; + var S1; + var i0; + var i1; + var ix; + + if ( isRowMajor( [ strideX1, strideX2 ] ) ) { + // For row-major matrices, the last dimension has the fastest changing index... + S0 = N; + S1 = M; + dx0 = strideX2; // offset increment for innermost loop + dx1 = strideX1 - ( S0*strideX2 ); // offset increment for outermost loop + } else { // column-major + // For column-major matrices, the first dimension has the fastest changing index... + S0 = M; + S1 = N; + dx0 = strideX1; // offset increment for innermost loop + dx1 = strideX2 - ( S0*strideX1 ); // offset increment for outermost loop + } + ix = offsetX; + for ( i1 = 0; i1 < S1; i1++ ) { + for ( i0 = 0; i0 < S0; i0++ ) { + X[ ix ] = 0.0; + ix += dx0; + } + ix += dx1; + } + return X; +} + + +// MAIN // + +/** +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* +* @private +* @param {string} side - specifies whether `op( A )` multiplies `B` from the left or right +* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied +* @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication +* @param {string} diag - specifies whether or not `A` is unit triangular +* @param {NonNegativeInteger} M - number of rows in `B` +* @param {NonNegativeInteger} N - number of columns in `B` +* @param {number} alpha - scalar constant +* @param {Float64Array} A - input matrix `A` +* @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 - input matrix `B` +* @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` +* @returns {Float64Array} `B` +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +*/ +function dtrmm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB ) { // eslint-disable-line max-params + var nonunit; + var isrma; + var tmp; + var oa2; + var ob2; + var sa0; + var sa1; + var sb0; + var sb1; + var ob; + var i; + var j; + var k; + + isrma = isRowMajor( [ strideA1, strideA2 ] ); + nonunit = ( diag === 'non-unit' ); + + if ( M === 0 || N === 0 ) { + return B; + } + if ( isrma ) { + sa0 = strideA2; + sa1 = strideA1; + sb0 = strideB2; + sb1 = strideB1; + } else { + sa0 = strideA1; + sa1 = strideA2; + sb0 = strideB1; + sb1 = strideB2; + } + if ( alpha === 0.0 ) { + zeros( M, N, B, sb0, sb1, offsetB ); + return B; + } + if ( + ( isrma && side === 'left' && uplo === 'upper' && transa === 'no-transpose' ) || + ( !isrma && side === 'right' && uplo === 'lower' && transa === 'no-transpose' ) + ) { + for ( j = 0; j < N; j++ ) { + for ( k = 0; k < M; k++ ) { + ob2 = offsetB + ( k * sb1 ) + ( j * sb0 ); + tmp = alpha * B[ ob2 ]; + for ( i = 0; i < k; i++ ) { + oa2 = offsetA + ( i * sa1 ) + ( k * sa0 ); + ob = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob ] += ( tmp * A[ oa2 ] ); + } + if ( nonunit ) { + oa2 = offsetA + ( k * sa1 ) + ( k * sa0 ); + tmp *= A[ oa2 ]; + } + B[ ob2 ] = tmp; + } + } + return B; + } + if ( + ( isrma && side === 'left' && uplo === 'lower' && transa === 'no-transpose' ) || + ( !isrma && side === 'right' && uplo === 'upper' && transa === 'no-transpose' ) + ) { + for ( j = 0; j < N; j++ ) { + for ( k = M - 1; k >= 0; k-- ) { + ob2 = offsetB + ( k * sb1 ) + ( j * sb0 ); + tmp = alpha * B[ ob2 ]; + for ( i = k + 1; i < M; i++ ) { + oa2 = offsetA + ( i * sa1 ) + ( k * sa0 ); + ob = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob ] += ( tmp * A[ oa2 ] ); + } + if ( nonunit ) { + oa2 = offsetA + ( k * sa1 ) + ( k * sa0 ); + tmp *= A[ oa2 ]; + } + B[ ob2 ] = tmp; + } + } + return B; + } + if ( + ( isrma && side === 'left' && uplo === 'upper' && transa !== 'no-transpose' ) || + ( !isrma && side === 'right' && uplo === 'lower' && transa !== 'no-transpose' ) + ) { + for ( j = 0; j < N; j++ ) { + for ( i = M - 1; i >= 0; i-- ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + tmp = 0.0; + for ( k = 0; k < i; k++ ) { + oa2 = offsetA + ( k * sa1 ) + ( i * sa0 ); + tmp += A[ oa2 ] * B[ offsetB + ( k * sb1 ) + ( j * sb0 ) ]; + } + if ( nonunit ) { + oa2 = offsetA + ( i * sa1 ) + ( i * sa0 ); + tmp += ( A[ oa2 ] * B[ ob2 ] ); + } else { + tmp += B[ ob2 ]; + } + B[ ob2 ] = alpha * tmp; + } + } + return B; + } + if ( + ( isrma && side === 'left' && uplo === 'lower' && transa !== 'no-transpose' ) || + ( !isrma && side === 'right' && uplo === 'upper' && transa === 'transpose' ) + ) { + for ( j = 0; j < N; j++ ) { + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + tmp = 0.0; + for ( k = i + 1; k < M; k++ ) { + oa2 = offsetA + ( k * sa1 ) + ( i * sa0 ); + tmp += A[ oa2 ] * B[ offsetB + ( k * sb1 ) + ( j * sb0 ) ]; + } + if ( nonunit ) { + oa2 = offsetA + ( i * sa1 ) + ( i * sa0 ); + tmp += ( A[ oa2 ] * B[ ob2 ] ); + } else { + tmp += B[ ob2 ]; + } + B[ ob2 ] = alpha * tmp; + } + } + return B; + } + if ( + ( isrma && side === 'right' && uplo === 'upper' && transa === 'no-transpose' ) || + ( !isrma && side === 'left' && uplo === 'lower' && transa === 'no-transpose' ) + ) { + for ( j = N - 1; j >= 0; j-- ) { + if ( nonunit ) { + oa2 = offsetA + ( j * sa1 ) + ( j * sa0 ); + tmp = A[ oa2 ]; + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob2 ] *= tmp; + } + } + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob2 ] *= alpha; + } + for ( k = 0; k < j; k++ ) { + oa2 = offsetA + ( k * sa1 ) + ( j * sa0 ); + if ( A[ oa2 ] !== 0.0 ) { + tmp = alpha * A[ oa2 ]; + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob2 ] += ( tmp * B[ offsetB + ( i * sb1 ) + ( k * sb0 ) ] ); + } + } + } + } + return B; + } + if ( + ( isrma && side === 'right' && uplo === 'lower' && transa === 'no-transpose' ) || + ( !isrma && side === 'left' && uplo === 'upper' && transa === 'no-transpose' ) + ) { + for ( j = 0; j < N; j++ ) { + if ( nonunit ) { + oa2 = offsetA + ( j * sa1 ) + ( j * sa0 ); + tmp = A[ oa2 ]; + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob2 ] *= tmp; + } + } + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob2 ] *= alpha; + } + for ( k = j + 1; k < N; k++ ) { + oa2 = offsetA + ( k * sa1 ) + ( j * sa0 ); + if ( A[ oa2 ] !== 0.0 ) { + tmp = alpha * A[ oa2 ]; + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + B[ ob2 ] += ( tmp * B[ offsetB + ( i * sb1 ) + ( k * sb0 ) ] ); + } + } + } + } + return B; + } + if ( + ( isrma && side === 'right' && uplo === 'upper' && transa !== 'no-transpose' ) || + ( !isrma && side === 'left' && uplo === 'lower' && transa !== 'no-transpose' ) + ) { + for ( j = 0; j < N; j++ ) { + for ( i = 0; i < M; i++ ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + oa2 = offsetA + ( j * sa1 ) + ( j * sa0 ); + if ( nonunit ) { + tmp = B[ ob2 ] * A[ oa2 ]; + } else { + tmp = B[ ob2 ]; + } + for ( k = j + 1; k < N; k++ ) { + oa2 = offsetA + ( j * sa1 ) + ( k * sa0 ); + tmp += ( B[ offsetB + ( i * sb1 ) + ( k * sb0 ) ] * A[ oa2 ] ); + } + B[ ob2 ] = alpha * tmp; + } + } + return B; + } + // ( isrma && side === 'right' && uplo === 'lower' && transa !== 'no-transpose' ) || ( !isrma && side === 'left' && uplo === 'upper' && transa !== 'no-transpose' ) + for ( i = 0; i < M; i++ ) { + for ( j = N - 1; j >= 0; j-- ) { + ob2 = offsetB + ( i * sb1 ) + ( j * sb0 ); + oa2 = offsetA + ( j * sa1 ) + ( j * sa0 ); + if ( nonunit ) { + tmp = B[ ob2 ] * A[ oa2 ]; + } else { + tmp = B[ ob2 ]; + } + for ( k = 0; k < j; k++ ) { + oa2 = offsetA + ( j * sa1 ) + ( k * sa0 ); + tmp += ( B[ offsetB + ( i * sb1 ) + ( k * sb0 ) ] * A[ oa2 ] ); + } + + B[ ob2 ] = alpha * tmp; + } + } + return B; +} + + +// EXPORTS // + +module.exports = dtrmm; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js new file mode 100644 index 000000000000..729993333b0e --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js @@ -0,0 +1,128 @@ +/** +* @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 isOperationSide = require( '@stdlib/blas/base/assert/is-operation-side' ); +var isTransposeOperation = require( '@stdlib/blas/base/assert/is-transpose-operation' ); +var isDiagonalType = require( '@stdlib/blas/base/assert/is-diagonal-type' ); +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 matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* +* @param {string} order - storage layout of `A` and `B` +* @param {string} side - specifies whether `op( A )` multiplies `B` from the left or right +* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied +* @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication +* @param {string} diag - specifies whether or not `A` is unit triangular +* @param {NonNegativeInteger} M - number of rows in `B` +* @param {NonNegativeInteger} N - number of columns in `B` +* @param {number} alpha - scalar constant +* @param {Float64Array} A - input matrix `A` +* @param {NonNegativeInteger} LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) +* @param {Float64Array} B - input matrix `B` +* @param {NonNegativeInteger} LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) +* @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 {TypeError} fourth argument must specify correct transpose operation +* @throws {TypeError} fifth argument must specify whether the matrix is unit triangular or not +* @throws {RangeError} sixth argument must be a nonnegative integer +* @throws {RangeError} seventh argument must be a nonnegative integer +* @throws {RangeError} tenth argument must be greater than or equal to max(1,M) when `A` is on left side and max(1,N) otherwise +* @throws {RangeError} twelfth argument must be greater than or equal to max(1,M) +* @returns {Float64Array} `B` +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, 3 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +*/ +function dtrmm( order, side, uplo, transa, diag, M, N, alpha, A, LDA, B, LDB ) { // eslint-disable-line max-params + var nrowsa; + var iscm; + var sa1; + var sa2; + var sb1; + var sb2; + if ( !isLayout( order ) ) { + throw new TypeError( format( 'invalid argument. First argument must be a valid order. Value: `%s`.', order ) ); + } + if ( !isOperationSide( side ) ) { + throw new TypeError( format( 'invalid argument. Second argument must be a valid side. Value: `%s`.', side ) ); + } + if ( !isMatrixTriangle( uplo ) ) { + throw new TypeError( format( 'invalid argument. Thirds argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) ); + } + if ( !isTransposeOperation( transa ) ) { + throw new TypeError( format( 'invalid argument. Fourth argument must specify correct transpose operation. Value: `%s`.', transa ) ); + } + if ( !isDiagonalType( diag ) ) { + throw new TypeError( format( 'invalid argument. Fifth argument must specify whether the matrix is unit triangular or not. Value: `%s`.', diag ) ); + } + if ( M < 0 ) { + throw new RangeError( format( 'invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.', M ) ); + } + if ( N < 0 ) { + throw new RangeError( format( 'invalid argument. Seventh argument must be a nonnegative integer. Value: `%d`.', N ) ); + } + if ( side === 'left' ) { + nrowsa = M; + } else { + nrowsa = N; + } + if ( LDA < max( 1, nrowsa ) ) { + throw new RangeError( format( 'invalid argument. Tenth argument must be greater than or equal to max(1,%d). Value: `%d`.', nrowsa, LDA ) ); + } + if ( LDB < max( 1, M ) ) { + throw new RangeError( format( 'invalid argument. Twelfth argument must be greater than or equal to max(1,%d). Value: `%d`.', M, LDB ) ); + } + iscm = isColumnMajor( order ); + if ( iscm ) { + sa1 = 1; + sa2 = LDA; + sb1 = 1; + sb2 = LDB; + } else { // order === 'row-major' + sa1 = LDA; + sa2 = 1; + sb1 = LDB; + sb2 = 1; + } + return base( side, uplo, transa, diag, M, N, alpha, A, sa1, sa2, 0, B, sb1, sb2, 0 ); // eslint-disable-line max-len +} + + +// EXPORTS // + +module.exports = dtrmm; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js new file mode 100644 index 000000000000..65be6bfb03e0 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js @@ -0,0 +1,68 @@ +/** +* @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 routine to perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* +* @module @stdlib/blas/base/dtrmm +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* var dtrmm = require( '@stdlib/blas/base/dtrmm' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, 3 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* var dtrmm = require( '@stdlib/blas/base/dtrmm' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.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 dtrmm; +var tmp = tryRequire( join( __dirname, './native.js' ) ); +if ( isError( tmp ) ) { + dtrmm = main; +} else { + dtrmm = tmp; +} + + +// EXPORTS // + +module.exports = dtrmm; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/main.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/main.js new file mode 100644 index 000000000000..d3f79e1db2d7 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/main.js @@ -0,0 +1,35 @@ +/** +* @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 dtrmm = require( './dtrmm.js' ); +var ndarray = require( './ndarray.js' ); + + +// MAIN // + +setReadOnly( dtrmm, 'ndarray', ndarray ); + + +// EXPORTS // + +module.exports = dtrmm; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js new file mode 100644 index 000000000000..82faeb9cadef --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js @@ -0,0 +1,101 @@ +/** +* @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 isOperationSide = require( '@stdlib/blas/base/assert/is-operation-side' ); +var isTransposeOperation = require( '@stdlib/blas/base/assert/is-transpose-operation' ); +var isDiagonalType = require( '@stdlib/blas/base/assert/is-diagonal-type' ); +var format = require( '@stdlib/string/format' ); +var base = require( './base.js' ); + + +// MAIN // + +/** +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* +* @param {string} side - specifies whether `op( A )` multiplies `B` from the left or right +* @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied +* @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication +* @param {string} diag - specifies whether or not `A` is unit triangular +* @param {NonNegativeInteger} M - number of rows in `B` +* @param {NonNegativeInteger} N - number of columns in `B` +* @param {number} alpha - scalar constant +* @param {Float64Array} A - input matrix `A` +* @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 - input matrix `B` +* @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` +* @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 {TypeError} third argument must specify correct transpose operation +* @throws {TypeError} fourth argument must specify whether the matrix is unit triangular or not +* @throws {RangeError} fifth argument must be a nonnegative integer +* @throws {RangeError} sixth argument must be a nonnegative integer +* @throws {RangeError} thirteenth argument must be non-zero +* @throws {RangeError} fourteenth argument must be non-zero +* @returns {Float64Array} `B` +* +* @example +* var Float64Array = require( '@stdlib/array/float64' ); +* +* var A = new Float64Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] ); +* var B = new Float64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ] ); +* +* dtrmm( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B, 3, 1, 0 ); +* // B => [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 31.0, 41.0, 51.0 ] +*/ +function dtrmm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB ) { // eslint-disable-line max-len, max-params + if ( !isOperationSide( side ) ) { + throw new TypeError( format( 'invalid argument. First argument must be a valid side. Value: `%s`.', side ) ); + } + 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 ( !isTransposeOperation( transa ) ) { + throw new TypeError( format( 'invalid argument. Third argument must specify correct transpose operation. Value: `%s`.', transa ) ); + } + if ( !isDiagonalType( diag ) ) { + throw new TypeError( format( 'invalid argument. Fourth argument must specify whether the matrix is unit triangular or not. Value: `%s`.', diag ) ); + } + if ( M < 0 ) { + throw new RangeError( format( 'invalid argument. Fifth argument must be a nonnegative integer. Value: `%d`.', M ) ); + } + if ( N < 0 ) { + throw new RangeError( format( 'invalid argument. Sixth argument must be a nonnegative integer. Value: `%d`.', N ) ); + } + if ( strideB1 === 0 ) { + throw new RangeError( format( 'invalid argument. Thirteenth argument must be non-zero. Value: `%d`.', strideB1 ) ); + } + if ( strideB2 === 0 ) { + throw new RangeError( format( 'invalid argument. Fourteenth argument must be non-zero. Value: `%d`.', strideB2 ) ); + } + return base( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, offsetA, B, strideB1, strideB2, offsetB ); // eslint-disable-line max-len +} + + +// EXPORTS // + +module.exports = dtrmm; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/package.json b/lib/node_modules/@stdlib/blas/base/dtrmm/package.json new file mode 100644 index 000000000000..41c1467cc2ae --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/package.json @@ -0,0 +1,68 @@ +{ + "name": "@stdlib/blas/base/dtrmm", + "version": "0.0.0", + "description": "Perform one of the matrix-matrix operations `B = alpha * op(A) * B` or `B = alpha * B * op(A)` where alpha is a scalar, B is an m by n matrix, A is a unit, or non-unit, upper or lower triangular matrix and op( A ) is one of `op( A ) = A` or `op( A ) = A**T`.", + "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", + "dtrmm", + "linear", + "algebra", + "subroutines", + "array", + "ndarray", + "float64", + "single", + "float64array" + ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json new file mode 100644 index 000000000000..4d481be32b05 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 12.0, 42.0, 4.0, 33.0, 96.0, 7.0, 54.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json new file mode 100644 index 000000000000..25fb17bf4125 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 999.0, 1.0, 999.0, 4.0, 999.0, 7.0, 999.0, 0.0, 999.0, 5.0, 999.0, 8.0, 999.0, 0.0, 999.0, 0.0, 999.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 2, + "strideA2": 6, + "offsetA": 1, + "B": [ 999.0, 1.0, 999.0, 999.0, 4.0, 999.0, 999.0, 7.0, 999.0, 999.0, 2.0, 999.0, 999.0, 5.0, 999.0, 999.0, 8.0, 999.0, 999.0, 3.0, 999.0, 999.0, 6.0, 999.0, 999.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 9, + "offsetB": 1, + "B_out": [ 999.0, 1.0, 999.0, 999.0, 24.0, 999.0, 999.0, 102.0, 999.0, 999.0, 2.0, 999.0, 999.0, 33.0, 999.0, 999.0, 126.0, 999.0, 999.0, 3.0, 999.0, 999.0, 42.0, 999.0, 999.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json new file mode 100644 index 000000000000..2bd032b1eea0 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json new file mode 100644 index 000000000000..2da784d4a60e --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json new file mode 100644 index 000000000000..4e428f60204f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json new file mode 100644 index 000000000000..3c5b25b774b3 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 34.0, 27.0, 66.0, 73.0, 54.0, 102.0, 112.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json new file mode 100644 index 000000000000..781b1c12aaf4 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json new file mode 100644 index 000000000000..17f7afbb0f0f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json new file mode 100644 index 000000000000..7dafd9776b44 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json new file mode 100644 index 000000000000..1d34baaf7ff2 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json new file mode 100644 index 000000000000..7e1c92047035 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json new file mode 100644 index 000000000000..011fc9099964 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json new file mode 100644 index 000000000000..977bc48ed07a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json new file mode 100644 index 000000000000..6a29a998fbe9 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json new file mode 100644 index 000000000000..314c9962b40d --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json new file mode 100644 index 000000000000..61d1ad1ffb03 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json new file mode 100644 index 000000000000..aeb9a5a5ab98 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json new file mode 100644 index 000000000000..06d26d5a5658 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json new file mode 100644 index 000000000000..a163c33bc992 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 999.0, 1.0, 999.0, 2.0, 999.0, 3.0, 999.0, 0.0, 999.0, 5.0, 999.0, 6.0, 999.0, 0.0, 999.0, 0.0, 999.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 2, + "strideA2": 6, + "offsetA": 1, + "B": [ 999.0, 1.0, 999.0, 999.0, 2.0, 999.0, 999.0, 3.0, 999.0, 999.0, 4.0, 999.0, 999.0, 5.0, 999.0, 999.0, 6.0, 999.0, 999.0, 7.0, 999.0, 999.0, 8.0, 999.0, 999.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 9, + "strideB2": 3, + "offsetB": 1, + "B_out": [ 999.0, 1.0, 999.0, 999.0, 2.0, 999.0, 999.0, 3.0, 999.0, 999.0, 22.0, 999.0, 999.0, 29.0, 999.0, 999.0, 36.0, 999.0, 999.0, 90.0, 999.0, 999.0, 108.0, 999.0, 999.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json new file mode 100644 index 000000000000..25965b5e6b7a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json new file mode 100644 index 000000000000..fb4c5887f764 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json new file mode 100644 index 000000000000..091796a80450 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json new file mode 100644 index 000000000000..99165d6f9320 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json new file mode 100644 index 000000000000..ba0acdf8dc74 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json new file mode 100644 index 000000000000..4954594d02ae --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json new file mode 100644 index 000000000000..a2602f871b6c --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json new file mode 100644 index 000000000000..f13243838ee6 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json new file mode 100644 index 000000000000..7b7f6ec422d9 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json new file mode 100644 index 000000000000..8a8fa2994175 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 12.0, 42.0, 4.0, 33.0, 96.0, 7.0, 54.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json new file mode 100644 index 000000000000..350669451961 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json new file mode 100644 index 000000000000..de5bf2433941 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json new file mode 100644 index 000000000000..0448f873634a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json new file mode 100644 index 000000000000..dd22a3ce294d --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 34.0, 27.0, 66.0, 73.0, 54.0, 102.0, 112.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json new file mode 100644 index 000000000000..22fd1af828f4 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json new file mode 100644 index 000000000000..c188c3b85227 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 12.0, 42.0, 4.0, 33.0, 96.0, 7.0, 54.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json new file mode 100644 index 000000000000..81a49482d80b --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json new file mode 100644 index 000000000000..5b10b3cf968f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json new file mode 100644 index 000000000000..db472e6b5316 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json new file mode 100644 index 000000000000..64fc2c0b218b --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 34.0, 27.0, 66.0, 73.0, 54.0, 102.0, 112.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json new file mode 100644 index 000000000000..c818ef189753 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json new file mode 100644 index 000000000000..6cbfcf3e9f0e --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json new file mode 100644 index 000000000000..809c79b64b1a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json new file mode 100644 index 000000000000..75bfce5d8006 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json new file mode 100644 index 000000000000..b4423e09b511 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json new file mode 100644 index 000000000000..7f2fc645c972 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json new file mode 100644 index 000000000000..ba170a816151 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json new file mode 100644 index 000000000000..f68df0e23fe2 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json new file mode 100644 index 000000000000..bcfee4fd0544 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json new file mode 100644 index 000000000000..544007962b4a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json new file mode 100644 index 000000000000..a33b3eafdc9a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "column-major", + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json new file mode 100644 index 000000000000..dbcd17ff8f36 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 12.0, 42.0, 4.0, 33.0, 96.0, 7.0, 54.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json new file mode 100644 index 000000000000..722fbc4338d7 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 999.0, 1.0, 999.0, 0.0, 999.0, 0.0, 999.0, 2.0, 999.0, 5.0, 999.0, 0.0, 999.0, 3.0, 999.0, 6.0, 999.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 6, + "strideA2": 2, + "offsetA": 1, + "B": [ 999.0, 1.0, 999.0, 999.0, 2.0, 999.0, 999.0, 3.0, 999.0, 999.0, 4.0, 999.0, 999.0, 5.0, 999.0, 999.0, 6.0, 999.0, 999.0, 7.0, 999.0, 999.0, 8.0, 999.0, 999.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 9, + "offsetB": 1, + "B_out": [ 999.0, 1.0, 999.0, 999.0, 12.0, 999.0, 999.0, 42.0, 999.0, 999.0, 4.0, 999.0, 999.0, 33.0, 999.0, 999.0, 96.0, 999.0, 999.0, 7.0, 999.0, 999.0, 54.0, 999.0, 999.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json new file mode 100644 index 000000000000..ee771dc81876 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json new file mode 100644 index 000000000000..64b2027d7235 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 3.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json new file mode 100644 index 000000000000..7ae33c9f4c6c --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json new file mode 100644 index 000000000000..41373e49266a --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 34.0, 27.0, 66.0, 73.0, 54.0, 102.0, 112.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json new file mode 100644 index 000000000000..d54525902f1b --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json new file mode 100644 index 000000000000..0796f6764fca --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json new file mode 100644 index 000000000000..2166e1fc645d --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json new file mode 100644 index 000000000000..bf2d9ffba9c5 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json new file mode 100644 index 000000000000..c9573098c975 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json new file mode 100644 index 000000000000..be6f0a66fd15 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json new file mode 100644 index 000000000000..429c0001ce58 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 2.0, 5.0, 0.0, 3.0, 6.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 2.0, 5.0, 0.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json new file mode 100644 index 000000000000..22cabfb74476 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json new file mode 100644 index 000000000000..0641461d3126 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json new file mode 100644 index 000000000000..93cfb9c69e5f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json new file mode 100644 index 000000000000..5542d74d7469 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 4.0, 7.0, 0.0, 5.0, 8.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 0.0, 5.0, 8.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 4.0, 7.0 ], + [ 2.0, 5.0, 8.0 ], + [ 3.0, 6.0, 9.0 ] + ], + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json new file mode 100644 index 000000000000..69a60b2676ed --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json new file mode 100644 index 000000000000..66ac35575006 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 999.0, 1.0, 999.0, 0.0, 999.0, 0.0, 999.0, 4.0, 999.0, 5.0, 999.0, 0.0, 999.0, 7.0, 999.0, 8.0, 999.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 6, + "strideA2": 2, + "offsetA": 1, + "B": [ 999.0, 1.0, 999.0, 999.0, 2.0, 999.0, 999.0, 3.0, 999.0, 999.0, 4.0, 999.0, 999.0, 5.0, 999.0, 999.0, 6.0, 999.0, 999.0, 7.0, 999.0, 999.0, 8.0, 999.0, 999.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 9, + "strideB2": 3, + "offsetB": 1, + "B_out": [ 999.0, 1.0, 999.0, 999.0, 2.0, 999.0, 999.0, 3.0, 999.0, 999.0, 24.0, 999.0, 999.0, 33.0, 999.0, 999.0, 42.0, 999.0, 999.0, 102.0, 999.0, 999.0, 126.0, 999.0, 999.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json new file mode 100644 index 000000000000..b2b561d31d36 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 0.0, 0.0, 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 2, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json new file mode 100644 index 000000000000..199cb451ef8f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 0.0, 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 2, + "B_out": [ 0.0, 0.0, 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json new file mode 100644 index 000000000000..f727cbeddf77 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 999.0, 0.0, 999.0, 0.0, 999.0, 4.0, 999.0, 5.0, 999.0, 0.0, 999.0, 7.0, 999.0, 8.0, 999.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 6, + "strideA2": 2, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json new file mode 100644 index 000000000000..7700222df592 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 0.0, 0.0, 1.0, 999.0, 999.0, 999.0, 0.0, 5.0, 4.0, 999.0, 999.0, 999.0, 9.0, 8.0, 7.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 6, + "strideA2": -1, + "offsetA": 2, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json new file mode 100644 index 000000000000..a35b90938d6d --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 7.0, 8.0, 9.0, 999.0, 999.0, 999.0, 4.0, 5.0, 0.0, 999.0, 999.0, 999.0, 1.0, 0.0, 0.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": -6, + "strideA2": 1, + "offsetA": 12, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json new file mode 100644 index 000000000000..2b596f80066f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 9.0, 8.0, 7.0, 0.0, 5.0, 4.0, 0.0, 0.0, 1.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": -3, + "strideA2": -1, + "offsetA": 8, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json new file mode 100644 index 000000000000..376335b8db03 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 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 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 6, + "strideB2": 2, + "offsetB": 0, + "B_out": [ 1.0, 999.0, 2.0, 999.0, 3.0, 999.0, 24.0, 999.0, 33.0, 999.0, 42.0, 999.0, 102.0, 999.0, 126.0, 999.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json new file mode 100644 index 000000000000..5b07e94992d6 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 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 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 6, + "strideB2": -1, + "offsetB": 2, + "B_out": [ 3.0, 2.0, 1.0, 999.0, 999.0, 999.0, 42.0, 33.0, 24.0, 999.0, 999.0, 999.0, 150.0, 126.0, 102.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json new file mode 100644 index 000000000000..8d06d8fdd191 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 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 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": -6, + "strideB2": 1, + "offsetB": 12, + "B_out": [ 102.0, 126.0, 150.0, 999.0, 999.0, 999.0, 24.0, 33.0, 42.0, 999.0, 999.0, 999.0, 1.0, 2.0, 3.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json new file mode 100644 index 000000000000..3c0d67f72bb0 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 9.0, 8.0, 7.0, 6.0, 5.0, 4.0, 3.0, 2.0, 1.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": -3, + "strideB2": -1, + "offsetB": 8, + "B_out": [ 150.0, 126.0, 102.0, 42.0, 33.0, 24.0, 3.0, 2.0, 1.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json new file mode 100644 index 000000000000..249c98229e3f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json new file mode 100644 index 000000000000..6a1f529f33e3 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json new file mode 100644 index 000000000000..6a1f529f33e3 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json new file mode 100644 index 000000000000..201f5dcf3a79 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json new file mode 100644 index 000000000000..34bbfa727599 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json new file mode 100644 index 000000000000..eea11b41a01c --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json new file mode 100644 index 000000000000..0d887d86ee9d --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json new file mode 100644 index 000000000000..c459e5eea6a1 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 34.0, 27.0, 66.0, 73.0, 54.0, 102.0, 112.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json new file mode 100644 index 000000000000..f11c9e2edca7 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json new file mode 100644 index 000000000000..56595d2eabef --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json new file mode 100644 index 000000000000..d51a379519e5 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json new file mode 100644 index 000000000000..68e649b6265b --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 12.0, 42.0, 4.0, 33.0, 96.0, 7.0, 54.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json new file mode 100644 index 000000000000..be808d80f190 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json new file mode 100644 index 000000000000..af9867e2b7b4 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json new file mode 100644 index 000000000000..312de01134ce --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json @@ -0,0 +1,28 @@ +{ + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, + "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json new file mode 100644 index 000000000000..d16e0d9529b2 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json new file mode 100644 index 000000000000..56421cce6859 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json new file mode 100644 index 000000000000..5230f9a5d270 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json new file mode 100644 index 000000000000..0adb2938feb5 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json new file mode 100644 index 000000000000..084367a6c39f --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json new file mode 100644 index 000000000000..fdb29297dbc4 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json new file mode 100644 index 000000000000..6170388e64f8 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json new file mode 100644 index 000000000000..8f193dfcd8eb --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "left", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json new file mode 100644 index 000000000000..7ca43b2eaf96 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 2.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 60.0, 68.0, 54.0, 132.0, 146.0, 108.0, 204.0, 224.0, 162.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json new file mode 100644 index 000000000000..1a0e87261f07 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "lower", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json new file mode 100644 index 000000000000..5002cbf5d166 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json new file mode 100644 index 000000000000..556c3da327d5 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "lower", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 0.0, 0.0, 4.0, 5.0, 0.0, 7.0, 8.0, 9.0 ], + "A_mat": [ + [ 1.0, 0.0, 0.0 ], + [ 4.0, 5.0, 0.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json new file mode 100644 index 000000000000..b7b083cabc52 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 2.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 2.0, 24.0, 84.0, 8.0, 66.0, 192.0, 14.0, 108.0, 300.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json new file mode 100644 index 000000000000..c94262a3eeff --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "upper", + "transA": "no-transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json new file mode 100644 index 000000000000..e3065fd1860e --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "non-unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json new file mode 100644 index 000000000000..8de16d06cb39 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json @@ -0,0 +1,25 @@ +{ + "order": "row-major", + "side": "right", + "uplo": "upper", + "transA": "transpose", + "diag": "unit", + "M": 3, + "N": 3, + "alpha": 1.0, + "A": [ 1.0, 2.0, 3.0, 0.0, 5.0, 6.0, 0.0, 0.0, 9.0 ], + "A_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 0.0, 5.0, 6.0 ], + [ 0.0, 0.0, 9.0 ] + ], + "lda": 3, + "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], + "B_mat": [ + [ 1.0, 2.0, 3.0 ], + [ 4.0, 5.0, 6.0 ], + [ 7.0, 8.0, 9.0 ] + ], + "ldb": 3, + "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] +} diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js new file mode 100644 index 000000000000..1c669fdf9351 --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js @@ -0,0 +1,1076 @@ +/** +* @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 dtrmm = require( './../lib/dtrmm.js' ); + + +// FIXTURES // + +var cllntanu = require( './fixtures/column_major_l_l_nta_nu.json' ); +var cllntau = require( './fixtures/column_major_l_l_nta_u.json' ); +var clltanu = require( './fixtures/column_major_l_l_ta_nu.json' ); +var clltau = require( './fixtures/column_major_l_l_ta_u.json' ); +var cluntanu = require( './fixtures/column_major_l_u_nta_nu.json' ); +var cluntau = require( './fixtures/column_major_l_u_nta_u.json' ); +var clutanu = require( './fixtures/column_major_l_u_ta_nu.json' ); +var clutau = require( './fixtures/column_major_l_u_ta_u.json' ); +var crlntanu = require( './fixtures/column_major_r_l_nta_nu.json' ); +var crlntau = require( './fixtures/column_major_r_l_nta_u.json' ); +var crltanu = require( './fixtures/column_major_r_l_ta_nu.json' ); +var crltau = require( './fixtures/column_major_r_l_ta_u.json' ); +var cruntanu = require( './fixtures/column_major_r_u_nta_nu.json' ); +var cruntau = require( './fixtures/column_major_r_u_nta_u.json' ); +var crutanu = require( './fixtures/column_major_r_u_ta_nu.json' ); +var crutau = require( './fixtures/column_major_r_u_ta_u.json' ); + +var rllntanu = require( './fixtures/row_major_l_l_nta_nu.json' ); +var rllntau = require( './fixtures/row_major_l_l_nta_u.json' ); +var rlltanu = require( './fixtures/row_major_l_l_ta_nu.json' ); +var rlltau = require( './fixtures/row_major_l_l_ta_u.json' ); +var rluntanu = require( './fixtures/row_major_l_u_nta_nu.json' ); +var rluntau = require( './fixtures/row_major_l_u_nta_u.json' ); +var rlutanu = require( './fixtures/row_major_l_u_ta_nu.json' ); +var rlutau = require( './fixtures/row_major_l_u_ta_u.json' ); +var rrlntanu = require( './fixtures/row_major_r_l_nta_nu.json' ); +var rrlntau = require( './fixtures/row_major_r_l_nta_u.json' ); +var rrltanu = require( './fixtures/row_major_r_l_ta_nu.json' ); +var rrltau = require( './fixtures/row_major_r_l_ta_u.json' ); +var rruntanu = require( './fixtures/row_major_r_u_nta_nu.json' ); +var rruntau = require( './fixtures/row_major_r_u_nta_u.json' ); +var rrutanu = require( './fixtures/row_major_r_u_ta_nu.json' ); +var rrutau = require( './fixtures/row_major_r_u_ta_u.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof dtrmm, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function has an arity of 12', function test( t ) { + t.strictEqual( dtrmm.length, 12, '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 = rllntanu; + + 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() { + dtrmm( value, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid second argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + 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() { + dtrmm( data.order, value, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid third argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + 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() { + dtrmm( data.order, data.side, value, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid fourth argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + 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() { + dtrmm( data.order, data.side, data.uplo, value, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid fifth argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + 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() { + dtrmm( data.order, data.side, data.uplo, data.transA, value, data.M, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid sixth argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + 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() { + dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, value, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid seventh argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + 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() { + dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, value, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid tenth argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + values = [ + 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() { + dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), value, new Float64Array( data.B ), data.ldb ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid twelfth argument', function test( t ) { + var values; + var data; + var i; + + data = rllntanu; + + values = [ + 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() { + dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.lda, new Float64Array( data.B ), value ); + }; + } +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rllntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cllntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rlltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = clltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rlltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = clltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rluntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cluntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rluntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cluntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rlutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = clutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rlutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = clutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrlntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crlntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrlntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crlntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rruntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cruntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rruntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cruntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns a reference to the second input matrix (row-major)', function test( t ) { + var data; + var out; + var a; + var b; + + data = rlltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns a reference to the second input matrix (column-major)', function test( t ) { + var data; + var out; + var a; + var b; + + data = clltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.end(); +}); + +tape( 'if either `M` or `N` is `0`, the function returns the second input matrix unchanged (row-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rlltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, 0, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, 0, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + t.end(); +}); + +tape( 'if either `M` or `N` is `0`, the function returns the second input matrix unchanged (column-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = clltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, 0, data.N, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, 0, data.alpha, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + t.end(); +}); + +tape( 'if `α` is `0`, the function returns the second input matrix filled with zeros (row-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rlltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( b.length ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, 0.0, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + t.end(); +}); + +tape( 'if `α` is `0`, the function returns the second input matrix filled with zeros (column-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = clltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( b.length ); + + out = dtrmm( data.order, data.side, data.uplo, data.transA, data.diag, data.M, data.N, 0.0, a, data.lda, b, data.ldb ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + t.end(); +}); diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.js b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.js new file mode 100644 index 000000000000..b561a2e83a6c --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/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 dtrmm = 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 dtrmm, '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 dtrmm.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 dtrmm = proxyquire( './../lib', { + '@stdlib/utils/try-require': tryRequire + }); + + t.strictEqual( dtrmm, 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 dtrmm; + var main; + + main = require( './../lib/dtrmm.js' ); + + dtrmm = proxyquire( './../lib', { + '@stdlib/utils/try-require': tryRequire + }); + + t.strictEqual( dtrmm, main, 'returns expected value' ); + t.end(); + + function tryRequire() { + return new Error( 'Cannot find module' ); + } +}); diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js new file mode 100644 index 000000000000..11d55bfafded --- /dev/null +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js @@ -0,0 +1,1947 @@ +/** +* @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 dtrmm = require( './../lib/ndarray.js' ); + + +// FIXTURES // + +var cacbllntanu = require( './fixtures/ca_cb_l_l_nta_nu.json' ); +var cacbllntau = require( './fixtures/ca_cb_l_l_nta_u.json' ); +var cacblltanu = require( './fixtures/ca_cb_l_l_ta_nu.json' ); +var cacblltau = require( './fixtures/ca_cb_l_l_ta_u.json' ); +var cacbluntanu = require( './fixtures/ca_cb_l_u_nta_nu.json' ); +var cacbluntau = require( './fixtures/ca_cb_l_u_nta_u.json' ); +var cacblutanu = require( './fixtures/ca_cb_l_u_ta_nu.json' ); +var cacblutau = require( './fixtures/ca_cb_l_u_ta_u.json' ); +var cacbrlntanu = require( './fixtures/ca_cb_r_l_nta_nu.json' ); +var cacbrlntau = require( './fixtures/ca_cb_r_l_nta_u.json' ); +var cacbrltanu = require( './fixtures/ca_cb_r_l_ta_nu.json' ); +var cacbrltau = require( './fixtures/ca_cb_r_l_ta_u.json' ); +var cacbruntanu = require( './fixtures/ca_cb_r_u_nta_nu.json' ); +var cacbruntau = require( './fixtures/ca_cb_r_u_nta_u.json' ); +var cacbrutanu = require( './fixtures/ca_cb_r_u_ta_nu.json' ); +var cacbrutau = require( './fixtures/ca_cb_r_u_ta_u.json' ); +var carbllntanu = require( './fixtures/ca_rb_l_l_nta_nu.json' ); +var carbllntau = require( './fixtures/ca_rb_l_l_nta_u.json' ); +var carblltanu = require( './fixtures/ca_rb_l_l_ta_nu.json' ); +var carblltau = require( './fixtures/ca_rb_l_l_ta_u.json' ); +var carbluntanu = require( './fixtures/ca_rb_l_u_nta_nu.json' ); +var carbluntau = require( './fixtures/ca_rb_l_u_nta_u.json' ); +var carblutanu = require( './fixtures/ca_rb_l_u_ta_nu.json' ); +var carblutau = require( './fixtures/ca_rb_l_u_ta_u.json' ); +var carbrlntanu = require( './fixtures/ca_rb_r_l_nta_nu.json' ); +var carbrlntau = require( './fixtures/ca_rb_r_l_nta_u.json' ); +var carbrltanu = require( './fixtures/ca_rb_r_l_ta_nu.json' ); +var carbrltau = require( './fixtures/ca_rb_r_l_ta_u.json' ); +var carbruntanu = require( './fixtures/ca_rb_r_u_nta_nu.json' ); +var carbruntau = require( './fixtures/ca_rb_r_u_nta_u.json' ); +var carbrutanu = require( './fixtures/ca_rb_r_u_ta_nu.json' ); +var carbrutau = require( './fixtures/ca_rb_r_u_ta_u.json' ); + +var racbllntanu = require( './fixtures/ra_cb_l_l_nta_nu.json' ); +var racbllntau = require( './fixtures/ra_cb_l_l_nta_u.json' ); +var racblltanu = require( './fixtures/ra_cb_l_l_ta_nu.json' ); +var racblltau = require( './fixtures/ra_cb_l_l_ta_u.json' ); +var racbluntanu = require( './fixtures/ra_cb_l_u_nta_nu.json' ); +var racbluntau = require( './fixtures/ra_cb_l_u_nta_u.json' ); +var racblutanu = require( './fixtures/ra_cb_l_u_ta_nu.json' ); +var racblutau = require( './fixtures/ra_cb_l_u_ta_u.json' ); +var racbrlntanu = require( './fixtures/ra_cb_r_l_nta_nu.json' ); +var racbrlntau = require( './fixtures/ra_cb_r_l_nta_u.json' ); +var racbrltanu = require( './fixtures/ra_cb_r_l_ta_nu.json' ); +var racbrltau = require( './fixtures/ra_cb_r_l_ta_u.json' ); +var racbruntanu = require( './fixtures/ra_cb_r_u_nta_nu.json' ); +var racbruntau = require( './fixtures/ra_cb_r_u_nta_u.json' ); +var racbrutanu = require( './fixtures/ra_cb_r_u_ta_nu.json' ); +var racbrutau = require( './fixtures/ra_cb_r_u_ta_u.json' ); +var rarbllntanu = require( './fixtures/ra_rb_l_l_nta_nu.json' ); +var rarbllntau = require( './fixtures/ra_rb_l_l_nta_u.json' ); +var rarblltanu = require( './fixtures/ra_rb_l_l_ta_nu.json' ); +var rarblltau = require( './fixtures/ra_rb_l_l_ta_u.json' ); +var rarbluntanu = require( './fixtures/ra_rb_l_u_nta_nu.json' ); +var rarbluntau = require( './fixtures/ra_rb_l_u_nta_u.json' ); +var rarblutanu = require( './fixtures/ra_rb_l_u_ta_nu.json' ); +var rarblutau = require( './fixtures/ra_rb_l_u_ta_u.json' ); +var rarbrlntanu = require( './fixtures/ra_rb_r_l_nta_nu.json' ); +var rarbrlntau = require( './fixtures/ra_rb_r_l_nta_u.json' ); +var rarbrltanu = require( './fixtures/ra_rb_r_l_ta_nu.json' ); +var rarbrltau = require( './fixtures/ra_rb_r_l_ta_u.json' ); +var rarbruntanu = require( './fixtures/ra_rb_r_u_nta_nu.json' ); +var rarbruntau = require( './fixtures/ra_rb_r_u_nta_u.json' ); +var rarbrutanu = require( './fixtures/ra_rb_r_u_ta_nu.json' ); +var rarbrutau = require( './fixtures/ra_rb_r_u_ta_u.json' ); + +var rarbllntanusa1sa2 = require( './fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json' ); +var rarbllntanusa1nsa2 = require( './fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json' ); +var rarbllntanusa1sa2n = require( './fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json' ); +var rarbllntanusa1nsa2n = require( './fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json' ); +var rarbllntanusb1sb2 = require( './fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json' ); +var rarbllntanusb1nsb2 = require( './fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json' ); +var rarbllntanusb1sb2n = require( './fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json' ); +var rarbllntanusb1nsb2n = require( './fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json' ); +var rarbllntanuoa = require( './fixtures/ra_rb_l_l_nta_nu_oa.json' ); +var rarbllntanuob = require( './fixtures/ra_rb_l_l_nta_nu_ob.json' ); +var rrcap = require( './fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json' ); +var rccap = require( './fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json' ); +var cccap = require( './fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json' ); +var crcap = require( './fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof dtrmm, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function has an arity of 15', function test( t ) { + t.strictEqual( dtrmm.length, 15, '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 = racbllntanu; + + 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() { + dtrmm( value, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid second argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, value, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid third argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, data.uplo, value, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid fourth argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, data.uplo, data.transA, value, data.M, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid fifth argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, data.uplo, data.transA, data.diag, value, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid sixth argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, value, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid thirteenth argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), value, data.strideB2, data.offsetB ); + }; + } +}); + +tape( 'the function throws an error if provided an invalid fourteenth argument', function test( t ) { + var values; + var data; + var i; + + data = racbllntanu; + + 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() { + dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, new Float64Array( data.A ), data.strideA1, data.strideA2, data.offsetA, new Float64Array( data.B ), data.strideB1, value, data.offsetB ); + }; + } +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbllntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbllntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racblltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacblltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racblltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacblltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbluntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbluntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbluntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbluntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racblutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacblutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racblutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacblutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbrlntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbrlntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbrlntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbrlntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbrltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbrltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbrltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbrltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbruntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbruntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbruntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbruntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbrutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbrutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbrutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cacbrutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbllntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbllntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarblltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carblltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarblltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carblltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbluntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbluntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbluntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbluntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarblutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carblutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarblutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carblutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbrlntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbrlntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbrlntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbrlntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbrltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbrltanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbrltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbrltau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbruntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, no-transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbruntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbruntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, no-transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbruntau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbrutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, transpose, non-unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbrutanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbrutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, transpose, unit)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = carbrutau; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns a reference to the second input matrix', function test( t ) { + var data; + var out; + var a; + var b; + + data = racbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.end(); +}); + +tape( 'if either `M` or `N` is `0`, the function returns the second input matrix unchanged', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, 0, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, 0, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + + t.end(); +}); + +tape( 'if `α` is `0`, the function returns the second input matrix filled with zeros', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = racbllntanu; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( b.length ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, 0.0, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanusa1sa2; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanusa1nsa2; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanusa1sa2n; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function supports negative strides of `A`', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbllntanusa1nsa2n; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanuoa; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanusb1sb2; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanusb1nsb2; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanusb1sb2n; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function supports negative strides of `B`', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rarbllntanusb1nsb2n; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, '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; + + data = rarbllntanuob; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function supports complex access patterns (row-major, row-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rrcap; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function supports complex access patterns (row-major, column-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = rccap; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function supports complex access patterns (column-major, row-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = crcap; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); + +tape( 'the function supports complex access patterns (column-major, column-major)', function test( t ) { + var expected; + var data; + var out; + var a; + var b; + + data = cccap; + + a = new Float64Array( data.A ); + b = new Float64Array( data.B ); + + expected = new Float64Array( data.B_out ); + + out = dtrmm( data.side, data.uplo, data.transA, data.diag, data.M, data.N, data.alpha, a, data.strideA1, data.strideA2, data.offsetA, b, data.strideB1, data.strideB2, data.offsetB ); + t.strictEqual( out, b, 'returns expected value' ); + t.deepEqual( out, expected, 'returns expected value' ); + t.end(); +}); From 43188c3ceab6e3afcf8988e1c0e9324314166dd1 Mon Sep 17 00:00:00 2001 From: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com> Date: Sun, 15 Jun 2025 18:24:20 +0530 Subject: [PATCH 2/9] chore: minor clean-up Signed-off-by: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com> --- lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js index 729993333b0e..a5cd6676aa0f 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js @@ -82,7 +82,7 @@ function dtrmm( order, side, uplo, transa, diag, M, N, alpha, A, LDA, B, LDB ) { throw new TypeError( format( 'invalid argument. Second argument must be a valid side. Value: `%s`.', side ) ); } if ( !isMatrixTriangle( uplo ) ) { - throw new TypeError( format( 'invalid argument. Thirds argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) ); + throw new TypeError( format( 'invalid argument. Third argument must specify whether the lower or upper triangular matrix is supplied. Value: `%s`.', uplo ) ); } if ( !isTransposeOperation( transa ) ) { throw new TypeError( format( 'invalid argument. Fourth argument must specify correct transpose operation. Value: `%s`.', transa ) ); From fea45b23a08a96e4a7ab9f8292c4b0c8092875cf Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Fri, 27 Jun 2025 13:47:06 +0530 Subject: [PATCH 3/9] chore: clean-up --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: passed - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/blas/base/dtrmm/README.md | 20 +-- .../blas/base/dtrmm/docs/types/index.d.ts | 24 ++-- .../@stdlib/blas/base/dtrmm/examples/index.js | 9 +- .../@stdlib/blas/base/dtrmm/lib/base.js | 8 +- .../@stdlib/blas/base/dtrmm/lib/dtrmm.js | 14 +- .../@stdlib/blas/base/dtrmm/lib/index.js | 2 +- .../@stdlib/blas/base/dtrmm/lib/ndarray.js | 12 +- .../@stdlib/blas/base/dtrmm/package.json | 2 +- .../blas/base/dtrmm/test/test.dtrmm.js | 64 ++++----- .../blas/base/dtrmm/test/test.ndarray.js | 128 +++++++++--------- 10 files changed, 141 insertions(+), 142 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/README.md b/lib/node_modules/@stdlib/blas/base/dtrmm/README.md index 33e41afef0ca..4f106ba2ae0c 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/README.md +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/README.md @@ -21,7 +21,7 @@ limitations under the License. # dtrmm -> Perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +> Perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)`.
@@ -33,7 +33,7 @@ var dtrmm = require( '@stdlib/blas/base/dtrmm' ); #### dtrmm( order, side, uplo, transa, diag, M, N, α, A, LDA, B, LDB ) -Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. ```javascript var Float64Array = require( '@stdlib/array/float64' ); @@ -48,16 +48,16 @@ dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, B, The function has the following parameters: - **order**: storage layout of `A` and `B`. -- **side**: specifies whether `op( A )` appears on the left or right side of `X`. +- **side**: specifies whether `op( A )` appears on the left or right side of `B`. - **uplo**: specifies whether the upper or lower triangular part of the matrix `A` is supplied. - **transa**: specifies the form of `op( A )` to be used in the matrix multiplication. - **diag**: specifies whether or not `A` is unit triangular. - **M**: number of rows in `B`. - **N**: number of columns in `B`. - **alpha**: scalar constant. -- **A**: input matrix `A`. +- **A**: first input matrix. - **LDA**: stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`). -- **B**: input matrix `B`. +- **B**: second input matrix. - **LDB**: stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`). Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views. @@ -81,7 +81,7 @@ dtrmm( 'row-major', 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A1, 3, B #### dtrmm.ndarray( s, ul, t, d, M, N, α, A, sa1, sa2, oa, B, sb1, sb2, ob ) -one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` using alternative indexing semantics and where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)`, using alternative indexing semantics and where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. ```javascript var Float64Array = require( '@stdlib/array/float64' ); @@ -95,18 +95,18 @@ dtrmm.ndarray( 'left', 'lower', 'no-transpose', 'unit', 3, 3, 1.0, A, 3, 1, 0, B The function has the following parameters: -- **side**: specifies whether `op( A )` appears on the left or right side of `X`. +- **side**: specifies whether `op( A )` appears on the left or right side of `B`. - **uplo**: specifies whether the upper or lower triangular part of the matrix `A` is supplied. - **transa**: specifies the form of `op( A )` to be used in the matrix multiplication. - **diag**: specifies whether or not `A` is unit triangular. - **M**: number of rows in `B`. - **N**: number of columns in `B`. - **alpha**: scalar constant. -- **A**: input matrix `A`. +- **A**: first input matrix. - **sa1**: stride of the first dimension of `A`. - **sa2**: stride of the second dimension of `A`. - **oa**: starting index for `A`. -- **B**: input matrix `B`. +- **B**: second input matrix. - **sb1**: stride of the first dimension of `B`. - **sb2**: stride of the second dimension of `B`. - **ob**: starting index for `B`. @@ -254,7 +254,7 @@ TODO [blas]: http://www.netlib.org/blas -[dtrmm]: https://www.netlib.org/lapack/explore-html/dd/dab/group__trmm_gae6343b11d5dff934bf1e461ba6b9e5dc.html +[dtrmm]: https://www.netlib.org/lapack/explore-html-3.6.1/d1/d54/group__double__blas__level3_gaf07edfbb2d2077687522652c9e283e1e.html [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/dtrmm/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts index fbe62b4eb448..0fa3198716cf 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/types/index.d.ts @@ -27,19 +27,19 @@ import { Layout, MatrixTriangle, DiagonalType, OperationSide, TransposeOperation */ interface Routine { /** - * Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + * Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * * @param order - storage layout of `A` and `B` - * @param side - specifies whether `op( A )` multiplies `B` from the left or right + * @param side - specifies whether `op( A )` appears on the left or right side of `B` * @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied * @param transa - specifies the form of `op( A )` to be used in matrix multiplication * @param diag - specifies whether or not `A` is unit triangular * @param M - number of rows in `B` * @param N - number of columns in `B` * @param alpha - scalar constant - * @param A - input matrix `A` + * @param A - first input matrix * @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) - * @param B - input matrix `B` + * @param B - second input matrix * @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) * @returns `B` * @@ -55,20 +55,20 @@ interface Routine { ( order: Layout, side: OperationSide, uplo: MatrixTriangle, transa: TransposeOperation, diag: DiagonalType, M: number, N: number, alpha: number, A: Float64Array, LDA: number, B: Float64Array, LDB: number ): Float64Array; /** - * Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` using alternative indexing semantics, where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. + * Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` using alternative indexing semantics, where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * - * @param side - specifies whether `op( A )` multiplies `B` from the left or right + * @param side - specifies whether `op( A )` appears on the left or right side of `B` * @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied * @param transa - specifies the form of `op( A )` to be used in matrix multiplication * @param diag - specifies whether or not `A` is unit triangular * @param M - number of rows in `B` * @param N - number of columns in `B` * @param alpha - scalar constant - * @param A - input matrix `A` + * @param A - first input 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 B - input matrix `B` + * @param B - second input matrix * @param strideB1 - stride of the first dimension of `B` * @param strideB2 - stride of the second dimension of `B` * @param offsetB - starting index for `B` @@ -87,19 +87,19 @@ interface Routine { } /** -* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * * @param order - storage layout of `A` and `B` -* @param side - specifies whether `op( A )` multiplies `B` from the left or right +* @param side - specifies whether `op( A )` appears on the left or right side of `B` * @param uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied * @param transa - specifies the form of `op( A )` to be used in matrix multiplication * @param diag - specifies whether or not `A` is unit triangular * @param M - number of rows in `B` * @param N - number of columns in `B` * @param alpha - scalar constant -* @param A - input matrix `A` +* @param A - first input matrix * @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) -* @param B - input matrix `B` +* @param B - second input matrix * @param LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) * @returns `B` * diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js b/lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js index 270c22dfab3c..753dbc90bec9 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/examples/index.js @@ -25,14 +25,13 @@ var opts = { 'dtype': 'float64' }; -var M = 3; var N = 3; -var A = discreteUniform( M*N, -10.0, 10.0, opts ); -var B = discreteUniform( M*N, -10.0, 10.0, opts ); +var A = discreteUniform( N*N, -10.0, 10.0, opts ); +var B = discreteUniform( N*N, -10.0, 10.0, opts ); -var out = dtrmm( 'column-major', 'left', 'upper', 'no-transpose', 'non-unit', M, N, 1.0, A, N, B, N ); +var out = dtrmm( 'column-major', 'left', 'upper', 'no-transpose', 'non-unit', N, N, 1.0, A, N, B, N ); console.log( out ); -out = dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', M, N, 1.0, A, N, 1, 0, B, N, 1, 0 ); +out = dtrmm.ndarray( 'left', 'upper', 'no-transpose', 'non-unit', N, N, 1.0, A, N, 1, 0, B, N, 1, 0 ); console.log( out ); diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js index 7530dfb88c18..71dba19d2a60 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js @@ -92,21 +92,21 @@ function zeros( M, N, X, strideX1, strideX2, offsetX ) { // TODO: consider movin // MAIN // /** -* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * * @private -* @param {string} side - specifies whether `op( A )` multiplies `B` from the left or right +* @param {string} side - specifies whether `op( A )` appears on the left or right side of `B` * @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied * @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication * @param {string} diag - specifies whether or not `A` is unit triangular * @param {NonNegativeInteger} M - number of rows in `B` * @param {NonNegativeInteger} N - number of columns in `B` * @param {number} alpha - scalar constant -* @param {Float64Array} A - input matrix `A` +* @param {Float64Array} A - first input 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 - input matrix `B` +* @param {Float64Array} B - second input 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` diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js index a5cd6676aa0f..779552814846 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/dtrmm.js @@ -20,13 +20,13 @@ // MODULES // -var max = require( '@stdlib/math/base/special/fast/max' ); +var isColumnMajor = require( '@stdlib/ndarray/base/assert/is-column-major-string' ); var isLayout = require( '@stdlib/blas/base/assert/is-layout' ); -var isMatrixTriangle = require( '@stdlib/blas/base/assert/is-matrix-triangle' ); var isOperationSide = require( '@stdlib/blas/base/assert/is-operation-side' ); +var isMatrixTriangle = require( '@stdlib/blas/base/assert/is-matrix-triangle' ); var isTransposeOperation = require( '@stdlib/blas/base/assert/is-transpose-operation' ); var isDiagonalType = require( '@stdlib/blas/base/assert/is-diagonal-type' ); -var isColumnMajor = require( '@stdlib/ndarray/base/assert/is-column-major-string' ); +var max = require( '@stdlib/math/base/special/fast/max' ); var format = require( '@stdlib/string/format' ); var base = require( './base.js' ); @@ -34,19 +34,19 @@ var base = require( './base.js' ); // MAIN // /** -* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * * @param {string} order - storage layout of `A` and `B` -* @param {string} side - specifies whether `op( A )` multiplies `B` from the left or right +* @param {string} side - specifies whether `op( A )` appears on the left or right side of `B` * @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied * @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication * @param {string} diag - specifies whether or not `A` is unit triangular * @param {NonNegativeInteger} M - number of rows in `B` * @param {NonNegativeInteger} N - number of columns in `B` * @param {number} alpha - scalar constant -* @param {Float64Array} A - input matrix `A` +* @param {Float64Array} A - first input matrix * @param {NonNegativeInteger} LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`) -* @param {Float64Array} B - input matrix `B` +* @param {Float64Array} B - second input matrix * @param {NonNegativeInteger} LDB - stride of the first dimension of `B` (a.k.a., leading dimension of the matrix `B`) * @throws {TypeError} first argument must be a valid order * @throws {TypeError} second argument must be a valid side diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js index 65be6bfb03e0..48be9f48d04f 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* BLAS routine to perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* BLAS routine to perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * * @module @stdlib/blas/base/dtrmm * diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js index 82faeb9cadef..a614cb43a4de 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/ndarray.js @@ -20,31 +20,31 @@ // MODULES // -var isMatrixTriangle = require( '@stdlib/blas/base/assert/is-matrix-triangle' ); +var format = require( '@stdlib/string/format' ); var isOperationSide = require( '@stdlib/blas/base/assert/is-operation-side' ); +var isMatrixTriangle = require( '@stdlib/blas/base/assert/is-matrix-triangle' ); var isTransposeOperation = require( '@stdlib/blas/base/assert/is-transpose-operation' ); var isDiagonalType = require( '@stdlib/blas/base/assert/is-diagonal-type' ); -var format = require( '@stdlib/string/format' ); var base = require( './base.js' ); // MAIN // /** -* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* Performs one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * -* @param {string} side - specifies whether `op( A )` multiplies `B` from the left or right +* @param {string} side - specifies whether `op( A )` appears on the left or right side of `B` * @param {string} uplo - specifies whether the upper or lower triangular part of the matrix `A` is supplied * @param {string} transa - specifies the form of `op( A )` to be used in matrix multiplication * @param {string} diag - specifies whether or not `A` is unit triangular * @param {NonNegativeInteger} M - number of rows in `B` * @param {NonNegativeInteger} N - number of columns in `B` * @param {number} alpha - scalar constant -* @param {Float64Array} A - input matrix `A` +* @param {Float64Array} A - first input 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 - input matrix `B` +* @param {Float64Array} B - second input 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` diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/package.json b/lib/node_modules/@stdlib/blas/base/dtrmm/package.json index 41c1467cc2ae..f34a7b1f8c0a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/package.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/package.json @@ -1,7 +1,7 @@ { "name": "@stdlib/blas/base/dtrmm", "version": "0.0.0", - "description": "Perform one of the matrix-matrix operations `B = alpha * op(A) * B` or `B = alpha * B * op(A)` where alpha is a scalar, B is an m by n matrix, A is a unit, or non-unit, upper or lower triangular matrix and op( A ) is one of `op( A ) = A` or `op( A ) = A**T`.", + "description": "Perform one of the matrix-matrix operations `B = alpha * op(A) * B` or `B = alpha * B * op(A)`.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js index 1c669fdf9351..18adbd51dd17 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.dtrmm.js @@ -311,7 +311,7 @@ tape( 'the function throws an error if provided an invalid twelfth argument', fu } }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -331,7 +331,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -351,7 +351,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -371,7 +371,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -391,7 +391,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -411,7 +411,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -431,7 +431,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -451,7 +451,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -471,7 +471,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -491,7 +491,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -511,7 +511,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -531,7 +531,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -551,7 +551,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -571,7 +571,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -591,7 +591,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, left, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, left, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -611,7 +611,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, left, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, left, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -631,7 +631,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -651,7 +651,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -671,7 +671,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -691,7 +691,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -711,7 +711,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -731,7 +731,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -751,7 +751,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -771,7 +771,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -791,7 +791,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -811,7 +811,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -831,7 +831,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -851,7 +851,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -871,7 +871,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -891,7 +891,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -911,7 +911,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (row-major, right, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, right, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -931,7 +931,7 @@ tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `X * op(A) = alpha * B` (column-major, right, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, right, upper, transpose, unit)', function test( t ) { var expected; var data; var out; diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js index 11d55bfafded..a4c5484276e8 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/test.ndarray.js @@ -324,7 +324,7 @@ tape( 'the function throws an error if provided an invalid fourteenth argument', } }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -344,7 +344,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -364,7 +364,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -384,7 +384,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -404,7 +404,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -424,7 +424,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -444,7 +444,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -464,7 +464,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -484,7 +484,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -504,7 +504,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -524,7 +524,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -544,7 +544,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -564,7 +564,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -584,7 +584,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -604,7 +604,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, left, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, left, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -624,7 +624,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, left, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, left, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -644,7 +644,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -664,7 +664,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -684,7 +684,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -704,7 +704,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -724,7 +724,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -744,7 +744,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -764,7 +764,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -784,7 +784,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -804,7 +804,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -824,7 +824,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -844,7 +844,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -864,7 +864,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -884,7 +884,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -904,7 +904,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -924,7 +924,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, column-major, right, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, column-major, right, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -944,7 +944,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, column-major, right, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, column-major, right, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -964,7 +964,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -984,7 +984,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1004,7 +1004,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1024,7 +1024,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1044,7 +1044,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1064,7 +1064,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1084,7 +1084,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1104,7 +1104,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1124,7 +1124,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1144,7 +1144,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1164,7 +1164,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1184,7 +1184,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1204,7 +1204,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1224,7 +1224,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1244,7 +1244,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, left, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, left, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1264,7 +1264,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, left, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, left, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1284,7 +1284,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1304,7 +1304,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, lower, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1324,7 +1324,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1344,7 +1344,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, lower, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1364,7 +1364,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1384,7 +1384,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, lower, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1404,7 +1404,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1424,7 +1424,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, lower, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, lower, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1444,7 +1444,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1464,7 +1464,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, no-transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, upper, no-transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1484,7 +1484,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1504,7 +1504,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, no-transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, upper, no-transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1524,7 +1524,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1544,7 +1544,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, transpose, non-unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, upper, transpose, non-unit)', function test( t ) { var expected; var data; var out; @@ -1564,7 +1564,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (row-major, row-major, right, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (row-major, row-major, right, upper, transpose, unit)', function test( t ) { var expected; var data; var out; @@ -1584,7 +1584,7 @@ tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` t.end(); }); -tape( 'the function performs the matrix-matrix operation `op(A) * X = alpha * B` (column-major, row-major, right, upper, transpose, unit)', function test( t ) { +tape( 'the function performs the matrix-matrix operation `B = α * op(A) * B` or `B = α * B * op(A)` (column-major, row-major, right, upper, transpose, unit)', function test( t ) { var expected; var data; var out; From 73a36bad6006f3f87b484bb3914aa55a602adb00 Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Fri, 27 Jun 2025 14:24:46 +0530 Subject: [PATCH 4/9] chore: clean-up --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json | 3 +++ .../fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json | 3 +++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json | 2 ++ .../fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json | 2 ++ .../base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_l_nta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_l_ta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_u_nta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_l_u_ta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_l_nta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_l_ta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_u_nta_u.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json | 6 ++++++ .../base/dtrmm/test/fixtures/column_major_r_u_ta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json | 2 ++ .../fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json | 2 ++ .../fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json | 2 ++ .../base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json | 2 ++ .../base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json | 2 ++ .../base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json | 2 ++ .../dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json | 2 ++ .../base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json | 2 ++ .../base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json | 2 ++ .../base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json | 2 ++ .../dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json | 2 ++ .../blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json | 2 ++ .../blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json | 6 ++++++ .../blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json | 6 ++++++ 110 files changed, 365 insertions(+) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json index 4d481be32b05..5dc60b58c35a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "lower", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json index 25fb17bf4125..2cbd3bdc5824 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_nu_complex_access_pattern.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "lower", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 6, "strideA1": 2, "strideA2": 6, "offsetA": 1, @@ -21,6 +23,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 9, "strideB1": 3, "strideB2": 9, "offsetB": 1, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json index 2bd032b1eea0..2933656fc866 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_nta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "lower", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json index 2da784d4a60e..035b76aa68b1 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "lower", "transA": "transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json index 4e428f60204f..01ca6e01c012 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_l_ta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "lower", "transA": "transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json index 3c5b25b774b3..f566252770c4 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "upper", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json index 781b1c12aaf4..fb62a542d166 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_nta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "upper", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json index 17f7afbb0f0f..0e1a6422bf9a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "upper", "transA": "transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json index 7dafd9776b44..d9791665cba2 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_l_u_ta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "left", "uplo": "upper", "transA": "transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json index 1d34baaf7ff2..f9247d1e4b6a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "lower", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json index 7e1c92047035..6a76ca78cb00 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_nta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "lower", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json index 011fc9099964..7c54bac02cdd 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "lower", "transA": "transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json index 977bc48ed07a..4b1611ae0899 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_l_ta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "lower", "transA": "transpose", @@ -12,6 +13,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json index 6a29a998fbe9..dae66eabc2e4 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "upper", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json index 314c9962b40d..85ec0ccd31cf 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_nta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "upper", "transA": "no-transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json index 61d1ad1ffb03..76c83da74647 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_nu.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "upper", "transA": "transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json index aeb9a5a5ab98..7bbe493a3c2b 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_cb_r_u_ta_u.json @@ -1,4 +1,5 @@ { + "order": "column-major", "side": "right", "uplo": "upper", "transA": "transpose", @@ -12,6 +13,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +23,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json index 06d26d5a5658..c7b5de4bc4e2 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json index a163c33bc992..917879c80042 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_nu_complex_access_pattern.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 6, "strideA1": 2, "strideA2": 6, "offsetA": 1, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 9, "strideB1": 9, "strideB2": 3, "offsetB": 1, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json index 25965b5e6b7a..09639bcf841a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_nta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json index fb4c5887f764..adbb3035abcd 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json index 091796a80450..0e5ab7bd22b8 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_l_ta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json index 99165d6f9320..f32199ce74bd 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json index ba0acdf8dc74..0886b32ba2b0 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_nta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json index 4954594d02ae..6e5381bdbe0a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json index a2602f871b6c..3f3039110524 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_l_u_ta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json index f13243838ee6..3fb9b7c936a2 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json index 7b7f6ec422d9..ff06cb43ac85 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_nta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json index 8a8fa2994175..4112d9959427 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json index 350669451961..a207cc0b7735 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_l_ta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json index de5bf2433941..0018c9d96219 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json index 0448f873634a..4f393d5eabc0 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_nta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json index dd22a3ce294d..567d76d71880 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json index 22fd1af828f4..aa5ca50115e0 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ca_rb_r_u_ta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 1, "strideA2": 3, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json index c188c3b85227..5dc60b58c35a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_nu.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 12.0, 42.0, 4.0, 33.0, 96.0, 7.0, 54.0, 150.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json index 81a49482d80b..2933656fc866 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_nta_u.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json index 5b10b3cf968f..035b76aa68b1 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_nu.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json index db472e6b5316..01ca6e01c012 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_l_ta_u.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json index 64fc2c0b218b..f566252770c4 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 30.0, 34.0, 27.0, 66.0, 73.0, 54.0, 102.0, 112.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json index c818ef189753..fb62a542d166 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_nta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json index 6cbfcf3e9f0e..0e1a6422bf9a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json index 809c79b64b1a..d9791665cba2 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_l_u_ta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json index 75bfce5d8006..f9247d1e4b6a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_nu.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json index b4423e09b511..6a76ca78cb00 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_nta_u.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json index 7f2fc645c972..7c54bac02cdd 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_nu.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json index ba170a816151..4b1611ae0899 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_l_ta_u.json @@ -14,6 +14,9 @@ [ 3.0, 6.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json index f68df0e23fe2..dae66eabc2e4 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json index bcfee4fd0544..85ec0ccd31cf 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_nta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json index 544007962b4a..76c83da74647 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB1": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json index a33b3eafdc9a..d69435371080 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/column_major_r_u_ta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 1, + "strideA2": 3, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 4.0, 7.0 ], @@ -21,5 +24,8 @@ [ 3.0, 6.0, 9.0 ] ], "ldb": 3, + "strideB": 1, + "strideB2": 3, + "offsetB": 0, "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json index dbcd17ff8f36..926fbac363d7 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json index 722fbc4338d7..f94105669d59 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_nu_complex_access_pattern.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 6, "strideA1": 6, "strideA2": 2, "offsetA": 1, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 9, "strideB1": 3, "strideB2": 9, "offsetB": 1, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json index ee771dc81876..f484738286a0 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_nta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json index 64b2027d7235..84443a9e8c3e 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_nu.json @@ -12,6 +12,7 @@ [ 3.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json index 7ae33c9f4c6c..65bbb1947d6b 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_l_ta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json index 41373e49266a..6b597cceda75 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json index d54525902f1b..a00a9d5157e6 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_nta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json index 0796f6764fca..45437dbd3473 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json index 2166e1fc645d..7e9de91b5ff5 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_l_u_ta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json index bf2d9ffba9c5..e3e4a5e25e51 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json index c9573098c975..14e32f6b3781 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_nta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json index be6f0a66fd15..d57f5f2905bb 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_nu.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json index 429c0001ce58..5364b0592f99 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_l_ta_u.json @@ -12,6 +12,7 @@ [ 2.0, 5.0, 0.0 ], [ 3.0, 6.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json index 22cabfb74476..baeb58167812 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json index 0641461d3126..95b5ea384f41 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_nta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json index 93cfb9c69e5f..1fa466f3998e 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json index 5542d74d7469..a7c357b01f84 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_cb_r_u_ta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 8.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 2.0, 5.0, 8.0 ], [ 3.0, 6.0, 9.0 ] ], + "ldb": 3, "strideB1": 1, "strideB2": 3, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json index 69a60b2676ed..3de5ec91b431 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json index 66ac35575006..8a71be969d92 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_complex_access_pattern.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 6, "strideA1": 6, "strideA2": 2, "offsetA": 1, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 9, "strideB1": 9, "strideB2": 3, "offsetB": 1, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json index b2b561d31d36..4a3874d12ff0 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_oa.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 2, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json index 199cb451ef8f..869553fa4e8d 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_ob.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 2, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json index f727cbeddf77..2c6d00411372 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 6, "strideA1": 6, "strideA2": 2, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json index 7700222df592..7d813a127b84 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1_sa2n.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 6, "strideA1": 6, "strideA2": -1, "offsetA": 2, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json index a35b90938d6d..5d34a46c1f4c 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 6, "strideA1": -6, "strideA2": 1, "offsetA": 12, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json index 2b596f80066f..2fcfecfbe9f6 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sa1n_sa2n.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": -3, "strideA2": -1, "offsetA": 8, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json index 376335b8db03..e90299fd5d15 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 6, "strideB1": 6, "strideB2": 2, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json index 5b07e94992d6..1044ed4f2122 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1_sb2n.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 6, "strideB1": 6, "strideB2": -1, "offsetB": 2, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json index 8d06d8fdd191..5d896abc7b8f 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 6, "strideB1": -6, "strideB2": 1, "offsetB": 12, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json index 3c0d67f72bb0..8dca892e0963 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_nu_sb1n_sb2n.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": -3, "strideB2": -1, "offsetB": 8, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json index 249c98229e3f..ed282dfaf8ce 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_nta_u.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json index 6a1f529f33e3..6fc5737817e7 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_nu.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json index 6a1f529f33e3..6fc5737817e7 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_l_ta_u.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json index 201f5dcf3a79..1eb1f45a3162 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json index 34bbfa727599..5771260de35a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_nta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json index eea11b41a01c..c95de296ccca 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json index 0d887d86ee9d..d7fd25cddc72 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_l_u_ta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json index c459e5eea6a1..fb2809f69981 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_nu.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json index f11c9e2edca7..fef0ea1fd21c 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_nta_u.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json index 56595d2eabef..605a8c1239dc 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_nu.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json index d51a379519e5..1e687bdb9dd8 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_l_ta_u.json @@ -12,6 +12,7 @@ [ 4.0, 5.0, 0.0 ], [ 7.0, 8.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json index 68e649b6265b..b92a06aa05ac 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json index be808d80f190..6c4b4d3c11b7 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_nta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json index af9867e2b7b4..5e78faea5b13 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_nu.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json index 312de01134ce..6f51de3944ff 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/ra_rb_r_u_ta_u.json @@ -12,6 +12,7 @@ [ 0.0, 5.0, 6.0 ], [ 0.0, 0.0, 9.0 ] ], + "lda": 3, "strideA1": 3, "strideA2": 1, "offsetA": 0, @@ -21,6 +22,7 @@ [ 4.0, 5.0, 6.0 ], [ 7.0, 8.0, 9.0 ] ], + "ldb": 3, "strideB1": 3, "strideB2": 1, "offsetB": 0, diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json index d16e0d9529b2..fdf7a2b40223 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_nu.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 24.0, 33.0, 42.0, 102.0, 126.0, 150.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json index 56421cce6859..815e63c31a34 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_nta_u.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 8.0, 13.0, 18.0, 46.0, 62.0, 78.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json index 5230f9a5d270..700911e30726 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_nu.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 66.0, 78.0, 90.0, 76.0, 89.0, 102.0, 63.0, 72.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json index 0adb2938feb5..1f81731aaca2 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_l_ta_u.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 66.0, 78.0, 90.0, 60.0, 69.0, 78.0, 7.0, 8.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json index 084367a6c39f..d422747c68bb 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 30.0, 36.0, 42.0, 62.0, 73.0, 84.0, 63.0, 72.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json index fdb29297dbc4..5d58ff31163a 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_nta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 30.0, 36.0, 42.0, 46.0, 53.0, 60.0, 7.0, 8.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json index 6170388e64f8..e920aed9e261 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 22.0, 29.0, 36.0, 90.0, 108.0, 126.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json index 8f193dfcd8eb..da2c56440099 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_l_u_ta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 2.0, 3.0, 6.0, 9.0, 12.0, 34.0, 44.0, 54.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json index 7ca43b2eaf96..ca0a98e54be2 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_nu.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 60.0, 68.0, 54.0, 132.0, 146.0, 108.0, 204.0, 224.0, 162.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json index 1a0e87261f07..d1e05067a8cc 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_nta_u.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 30.0, 26.0, 3.0, 66.0, 53.0, 6.0, 102.0, 80.0, 9.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json index 5002cbf5d166..cf1ca75e2a20 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_nu.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 14.0, 50.0, 4.0, 41.0, 122.0, 7.0, 68.0, 194.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json index 556c3da327d5..c9cb1d32770e 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_l_ta_u.json @@ -14,6 +14,9 @@ [ 7.0, 8.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 6.0, 26.0, 4.0, 21.0, 74.0, 7.0, 36.0, 122.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json index b7b083cabc52..7f547ed8da6d 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 2.0, 24.0, 84.0, 8.0, 66.0, 192.0, 14.0, 108.0, 300.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json index c94262a3eeff..80127aab67ab 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_nta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 1.0, 4.0, 18.0, 4.0, 13.0, 48.0, 7.0, 22.0, 78.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json index e3065fd1860e..8de9309546dc 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_nu.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 14.0, 28.0, 27.0, 32.0, 61.0, 54.0, 50.0, 94.0, 81.0 ] } diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json index 8de16d06cb39..83cf5e1a0899 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/test/fixtures/row_major_r_u_ta_u.json @@ -14,6 +14,9 @@ [ 0.0, 0.0, 9.0 ] ], "lda": 3, + "strideA1": 3, + "strideA2": 1, + "offsetA": 0, "B": [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0 ], "B_mat": [ [ 1.0, 2.0, 3.0 ], @@ -21,5 +24,8 @@ [ 7.0, 8.0, 9.0 ] ], "ldb": 3, + "strideB1": 3, + "strideB2": 1, + "offsetB": 0, "B_out": [ 14.0, 20.0, 3.0, 32.0, 41.0, 6.0, 50.0, 62.0, 9.0 ] } From 9477224c51d5ba9c5b829fd145bc46fa7ec71bec Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Fri, 27 Jun 2025 14:28:58 +0530 Subject: [PATCH 5/9] chore: clean-up --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/blas/base/dtrmm/docs/repl.txt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt index 7f7dff7fb9f6..2888aa51438c 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt @@ -1,9 +1,9 @@ {{alias}}( ord, side, uplo, transa, diag, M, N, α, A, lda, B, ldb ) Performs one of the matrix-matrix operations `B = α * op(A) * B` or - `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is - a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one - of `op( A ) = A` or `op( A ) = A**T`. + `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` + is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is + one of `op( A ) = A` or `op( A ) = A**T`. Indexing is relative to the first index. To introduce an offset, use typed array views. @@ -74,9 +74,10 @@ {{alias}}.ndarray(side,uplo,transa,diag,M,N,α,A,sa1,sa2,oa,B,sb1,sb2,ob) Performs one of the matrix-matrix operations `B = α * op(A) * B` or - `B = α * B * op(A)` where α is a scalar, `B` is an `M` by `N` matrix, A is - a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one - of `op( A ) = A` or `op( A ) = A**T` using alternative indexing semantics. + `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` + is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is + one of `op( A ) = A` or `op( A ) = A**T` using alternative indexing + semantics. While typed array views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting From 27c74651d34945a74b2d4fe05bf3f1523179e965 Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Fri, 27 Jun 2025 14:30:54 +0530 Subject: [PATCH 6/9] chore: clean-up --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt index 2888aa51438c..24e84a0da05c 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/docs/repl.txt @@ -74,10 +74,10 @@ {{alias}}.ndarray(side,uplo,transa,diag,M,N,α,A,sa1,sa2,oa,B,sb1,sb2,ob) Performs one of the matrix-matrix operations `B = α * op(A) * B` or - `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` - is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is - one of `op( A ) = A` or `op( A ) = A**T` using alternative indexing - semantics. + `B = α * B * op(A)`, using alternative indexing semantics and where `α` is + a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or + lower triangular matrix and `op( A )` is one of `op( A ) = A` or + `op( A ) = A**T`. While typed array views mandate a view offset based on the underlying buffer, the offset parameters support indexing semantics based on starting From 4896738294f6b0f4dfb38a9d676a2b26d33911d7 Mon Sep 17 00:00:00 2001 From: ShabiShett07 Date: Fri, 27 Jun 2025 14:36:21 +0530 Subject: [PATCH 7/9] chore: add comments --- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../@stdlib/blas/base/dtrmm/lib/base.js | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js index 71dba19d2a60..1a519e04118d 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/base.js @@ -136,6 +136,8 @@ function dtrmm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of var j; var k; + // Note on variable naming convention: sa#, ix#, i# where # corresponds to the loop number, with `0` being the innermost loop... + isrma = isRowMajor( [ strideA1, strideA2 ] ); nonunit = ( diag === 'non-unit' ); @@ -143,20 +145,22 @@ function dtrmm( side, uplo, transa, diag, M, N, alpha, A, strideA1, strideA2, of return B; } if ( isrma ) { - sa0 = strideA2; - sa1 = strideA1; - sb0 = strideB2; - sb1 = strideB1; + // For row-major matrices, the last dimension has the fastest changing index... + sa0 = strideA2; // stride for innermost loop + sa1 = strideA1; // stride for outermost loop + sb0 = strideB2; // stride for innermost loop + sb1 = strideB1; // stride for outermost loop } else { - sa0 = strideA1; - sa1 = strideA2; - sb0 = strideB1; - sb1 = strideB2; + sa0 = strideA1; // stride for innermost loop + sa1 = strideA2; // stride for outermost loop + sb0 = strideB1; // stride for innermost loop + sb1 = strideB2; // stride for outermost loop } if ( alpha === 0.0 ) { zeros( M, N, B, sb0, sb1, offsetB ); return B; } + if ( ( isrma && side === 'left' && uplo === 'upper' && transa === 'no-transpose' ) || ( !isrma && side === 'right' && uplo === 'lower' && transa === 'no-transpose' ) From bcc82998366a17be11c230fbf688801ab0964a5c Mon Sep 17 00:00:00 2001 From: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:59:43 +0530 Subject: [PATCH 8/9] chore: minor clean-up Signed-off-by: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com> --- lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js index 48be9f48d04f..959b89a57da0 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/lib/index.js @@ -19,7 +19,7 @@ 'use strict'; /** -* BLAS routine to perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. +* BLAS level 3 routine to perform one of the matrix-matrix operations `B = α * op(A) * B` or `B = α * B * op(A)` where `α` is a scalar, `B` is an `M` by `N` matrix, `A` is a unit, or non-unit, upper or lower triangular matrix and `op( A )` is one of `op( A ) = A` or `op( A ) = A**T`. * * @module @stdlib/blas/base/dtrmm * From b777f9e6288937f89b36282de11ee560042bb26a Mon Sep 17 00:00:00 2001 From: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com> Date: Fri, 27 Jun 2025 15:59:52 +0530 Subject: [PATCH 9/9] chore: minor clean-up Signed-off-by: Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com> --- lib/node_modules/@stdlib/blas/base/dtrmm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/blas/base/dtrmm/package.json b/lib/node_modules/@stdlib/blas/base/dtrmm/package.json index f34a7b1f8c0a..0c26ee7f4669 100644 --- a/lib/node_modules/@stdlib/blas/base/dtrmm/package.json +++ b/lib/node_modules/@stdlib/blas/base/dtrmm/package.json @@ -62,7 +62,7 @@ "array", "ndarray", "float64", - "single", + "double", "float64array" ] }