Skip to content

Commit 26a8bde

Browse files
authored
remove: remove cmulf from namespace
This commit removes the `cmulf` symbol from the `@stdlib/math/base/ops` namespace due to a package migration. BREAKING CHANGE: remove `cmulf` To migrate, users should access the same symbol via the `@stdlib/complex/float32/base` namespace. PR-URL: #6124 Ref: #2261 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 3b83db0 commit 26a8bde

File tree

2 files changed

+0
-58
lines changed

2 files changed

+0
-58
lines changed

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

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -20,62 +20,13 @@
2020

2121
/* eslint-disable max-lines */
2222

23-
import cmulf = require( '@stdlib/complex/float32/base/mul' );
2423
import cadd = require( '@stdlib/complex/float64/base/add' );
2524
import cmul = require( '@stdlib/complex/float64/base/mul' );
2625

2726
/**
2827
* Interface describing the `ops` namespace.
2928
*/
3029
interface Namespace {
31-
/**
32-
* Multiplies two single-precision complex floating-point numbers.
33-
*
34-
* @param z1 - complex number
35-
* @param z2 - complex number
36-
* @returns result
37-
*
38-
* @example
39-
* var Complex64 = require( '@stdlib/complex/float32/ctor' );
40-
* var realf = require( '@stdlib/complex/float32/real' );
41-
* var imagf = require( '@stdlib/complex/float32/imag' );
42-
*
43-
* var z1 = new Complex64( 5.0, 3.0 );
44-
* // returns <Complex64>
45-
*
46-
* var z2 = new Complex64( -2.0, 1.0 );
47-
* // returns <Complex64>
48-
*
49-
* var out = ns.cmulf( z1, z2 );
50-
* // returns <Complex64>
51-
*
52-
* var re = realf( out );
53-
* // returns -13.0
54-
*
55-
* var im = imagf( out );
56-
* // returns -1.0
57-
*
58-
* @example
59-
* var Float32Array = require( '@stdlib/array/float32' );
60-
*
61-
* var out = new Float32Array( 2 );
62-
* var v = ns.cmulf.assign( 5.0, 3.0, -2.0, 1.0, out, 1, 0 );
63-
* // returns <Float32Array>[ -13.0, -1.0 ]
64-
*
65-
* var bool = ( out === v );
66-
* // returns true
67-
*
68-
* @example
69-
* var Float32Array = require( '@stdlib/array/float32' );
70-
*
71-
* var z1 = new Float32Array( [ 5.0, 3.0 ] );
72-
* var z2 = new Float32Array( [ -2.0, 1.0 ] );
73-
*
74-
* var out = ns.cmulf.strided( z1, 1, 0, z2, 1, 0, new Float32Array( 2 ), 1, 0 );
75-
* // returns <Float32Array>[ -13.0, -1.0 ]
76-
*/
77-
cmulf: typeof cmulf;
78-
7930
/**
8031
* Adds two double-precision complex floating-point numbers.
8132
*

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,6 @@ var setReadOnly = require( '@stdlib/utils/define-read-only-property' );
3636
*/
3737
var ns = {};
3838

39-
/**
40-
* @name cmulf
41-
* @memberof ns
42-
* @readonly
43-
* @type {Function}
44-
* @see {@link module:@stdlib/complex/float32/base/mul}
45-
*/
46-
setReadOnly( ns, 'cmulf', require( '@stdlib/complex/float32/base/mul' ) );
47-
4839
/**
4940
* @name cadd
5041
* @memberof ns

0 commit comments

Comments
 (0)