8000 remove: remove `csub` from namespace · stdlib-js/stdlib@d631175 · GitHub
[go: up one dir, main page]

Skip to content

Commit d631175

Browse files
gururaj1512kgryte
authored andcommitted
remove: remove csub from namespace
This commit removes the `csub` symbol from the `@stdlib/math/base/ops` namespace due to a package migration. BREAKING CHANGE: remove `csub` To migrate, users should access the same symbol via the `@stdlib/complex/float64/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 ---
1 parent 7e1f49e commit d631175

File tree

2 files changed

+0
-39
lines changed

2 files changed

+0
-39
lines changed

lib/node_modules/@stdlib/math/base/ops/docs/types/index.d.ts

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import caddf = require( '@stdlib/complex/float32/base/add' );
2424
import cmulf = require( '@stdlib/complex/float32/base/mul' );
2525
import cadd = require( '@stdlib/complex/float64/base/add' );
2626
import cmul = require( '@stdlib/complex/float64/base/mul' );
27-
import csub = require( '@stdlib/math/base/ops/csub' );
2827
import csubf = require( '@stdlib/math/base/ops/csubf' );
2928
import mul = require( '@stdlib/number/float64/base/mul' );
3029
import sub = require( '@stdlib/number/float64/base/sub' );
@@ -200,35 +199,6 @@ interface Namespace {
200199
*/
201200
cmul: typeof cmul;
202201

203-
/**
204-
* Subtracts two double-precision complex floating-point numbers.
205-
*
206-
* @param z1 - complex number
207-
* @param z2 - complex number
208-
* @returns result
209-
*
210-
* @example
211-
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
212-
* var real = require( '@stdlib/complex/float64/real' );
213-
* var imag = require( '@stdlib/complex/float64/imag' );
214-
*
215-
* var z1 = new Complex128( 5.0, 3.0 );
216-
* // returns <Complex128>
217-
*
218-
* var z2 = new Complex128( -2.0, 1.0 );
219-
* // returns <Complex128>
220-
*
221-
* var out = ns.csub( z1, z2 );
222-
* // returns <Complex128>
223-
*
224-
* var re = real( out );
225-
* // returns 7.0
226-
*
227-
* var im = imag( out );
228-
* // returns 2.0
229-
*/
230-
csub: typeof csub;
231-
232202
/**
233203
* Subtracts two single-precision complex floating-point numbers.
234204
*

lib/node_modules/@stdlib/math/base/ops/lib/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,6 @@ setReadOnly( ns, 'cadd', require( '@stdlib/complex/float64/base/add' ) );
7272
*/
7373
setReadOnly( ns, 'cmul', require( '@stdlib/complex/float64/base/mul' ) );
7474

75-
/**
76-
* @name csub
77-
* @memberof ns
78-
* @readonly
79-
* @type {Function}
80-
* @see {@link module:@stdlib/math/base/ops/csub}
81-
*/
82-
setReadOnly( ns, 'csub', require( '@stdlib/math/base/ops/csub' ) );
83-
8475
/**
8576
* @name csubf
8677
* @memberof ns

0 commit comments

Comments
 (0)
0