From 2bcf5bdffd2f836e035b542d73f57cf8e40cbdc1 Mon Sep 17 00:00:00 2001 From: gururaj1512 Date: Mon, 17 Mar 2025 18:16:13 +0000 Subject: [PATCH] remove: remove `caddf` from namespace This commit removes the `caddf` symbol from the `@stdlib/math/base/ops` namespace due to a package migration. BREAKING CHANGE: remove `caddf` To migrate, users should access the same symbol via the `@stdlib/complex/float32/base` namespace. --- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- .../math/base/ops/docs/types/index.d.ts | 27 ------------------- .../@stdlib/math/base/ops/lib/index.js | 9 ------- 2 files changed, 36 deletions(-) diff --git a/lib/node_modules/@stdlib/math/base/ops/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/ops/docs/types/index.d.ts index 5b825dc16e7e..811845271a54 100644 --- a/lib/node_modules/@stdlib/math/base/ops/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/math/base/ops/docs/types/index.d.ts @@ -20,7 +20,6 @@ /* eslint-disable max-lines */ -import caddf = require( '@stdlib/complex/float32/base/add' ); import cmulf = require( '@stdlib/complex/float32/base/mul' ); import cadd = require( '@stdlib/complex/float64/base/add' ); import cmul = require( '@stdlib/complex/float64/base/mul' ); @@ -29,32 +28,6 @@ import cmul = require( '@stdlib/complex/float64/base/mul' ); * Interface describing the `ops` namespace. */ interface Namespace { - /** - * Adds two single-precision complex floating-point numbers. - * - * @param z1 - complex number - * @param z2 - complex number - * @returns result - * - * @example - * var Complex64 = require( '@stdlib/complex/float32/ctor' ); - * var realf = require( '@stdlib/complex/float32/real' ); - * var imagf = require( '@stdlib/complex/float32/imag' ); - * - * var z = new Complex64( 5.0, 3.0 ); - * // returns - * - * var out = ns.caddf( z, z ); - * // returns - * - * var re = realf( out ); - * // returns 10.0 - * - * var im = imagf( out ); - * // returns 6.0 - */ - caddf: typeof caddf; - /** * Multiplies two single-precision complex floating-point numbers. * diff --git a/lib/node_modules/@stdlib/math/base/ops/lib/index.js b/lib/node_modules/@stdlib/math/base/ops/lib/index.js index 8ca18b072882..7b410e3cc85a 100644 --- a/lib/node_modules/@stdlib/math/base/ops/lib/index.js +++ b/lib/node_modules/@stdlib/math/base/ops/lib/index.js @@ -36,15 +36,6 @@ var setReadOnly = require( '@stdlib/utils/define-read-only-property' ); */ var ns = {}; -/** -* @name caddf -* @memberof ns -* @readonly -* @type {Function} -* @see {@link module:@stdlib/complex/float32/base/add} -*/ -setReadOnly( ns, 'caddf', require( '@stdlib/complex/float32/base/add' ) ); - /** * @name cmulf * @memberof ns