Skip to content

Commit ec9247d

Browse files
gururaj1512kgryte
authored andcommitted
remove: remove cdiv from namespace
This commit removes the `cdiv` symbol from the `@stdlib/math/base/ops` namespace due to a package migration. BREAKING CHANGE: remove `cdiv` 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 afa2318 commit ec9247d

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 cdiv = require( '@stdlib/math/base/ops/cdiv' );
2827
import cneg = require( '@stdlib/math/base/ops/cneg' );
2928
import cnegf = require( '@stdlib/math/base/ops/cnegf' );
3029
import csub = require( '@stdlib/math/base/ops/csub' );
@@ -204,35 +203,6 @@ interface Namespace {
204203
*/
205204
cmul: typeof cmul;
206205

207-
/**
208-
* Divides two double-precision complex floating-point numbers.
209-
*
210-
* @param z1 - complex number
211-
* @param z2 - complex number
212-
* @returns result
213-
*
214-
* @example
215-
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
216-
* var real = require( '@stdlib/complex/float64/real' );
217-
* var imag = require( '@stdlib/complex/float64/imag' );
218-
*
219-
* var z1 = new Complex128( -13.0, -1.0 );
220-
* // returns <Complex128>
221-
*
222-
* var z2 = new Complex128( -2.0, 1.0 );
223-
* // returns <Complex128>
224-
*
225-
* var out = ns.cdiv( z1, z2 );
226-
* // returns <Complex128>
227-
*
228-
* var re = real( out );
229-
* // returns 5.0
230-
*
231-
* var im = imag( out );
232-
* // returns 3.0
233-
*/
234-
cdiv: typeof cdiv;
235-
236206
/**
237207
* Negates a double-precision complex floating-point number.
238208
*

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 cdiv
77-
* @memberof ns
78-
* @readonly
79-
* @type {Function}
80-
* @see {@link module:@stdlib/math/base/ops/cdiv}
81-
*/
82-
setReadOnly( ns, 'cdiv', require( '@stdlib/math/base/ops/cdiv' ) );
83-
8475
/**
8576
* @name cneg
8677
* @memberof ns

0 commit comments

Comments
 (0)