|
20 | 20 |
|
21 | 21 | /// <reference types="@stdlib/types"/> |
22 | 22 |
|
23 | | -import { ArrayLike, TypedArray } from '@stdlib/types/array'; |
24 | | -import { ComplexLike } from '@stdlib/types/object'; |
| 23 | +import { ArrayLike, TypedArray, Complex128Array as Complex128ArrayInterface } from '@stdlib/types/array'; |
| 24 | +import { ComplexLike, Complex128 } from '@stdlib/types/object'; |
25 | 25 | import ArrayBuffer = require( '@stdlib/array/buffer' ); |
26 | | -import Complex128 = require( '@stdlib/complex/float64' ); |
27 | 26 |
|
28 | 27 | /** |
29 | 28 | * Class for creating a 128-bit complex number array. |
30 | 29 | */ |
31 | | -declare class Complex128Array { |
| 30 | +declare class Complex128Array implements Complex128ArrayInterface { |
32 | 31 | /** |
33 | 32 | * 128-bit complex number array constructor. |
34 | 33 | * |
@@ -162,27 +161,6 @@ declare class Complex128Array { |
162 | 161 | */ |
163 | 162 | get( i: number ): Complex128 | void; |
164 | 163 |
|
165 | | - /** |
166 | | - * Returns an array element. |
167 | | - * |
168 | | - * @param out - output array |
169 | | - * @param i - element index |
170 | | - * @throws index argument must be a nonnegative integer |
171 | | - * @returns array element |
172 | | - * |
173 | | - * @example |
174 | | - * var arr = new Complex128Array( 10 ); |
175 | | - * |
176 | | - * var z = arr.get( 0 ); |
177 | | - * // returns <Complex128> |
178 | | - * |
179 | | - * arr.set( [ 1.0, -1.0 ], 0 ); |
180 | | - * |
181 | | - * z = arr.get( [ 0.0, 0.0 ], 0 ); |
182 | | - * // returns [ 1.0, -1.0 ] |
183 | | - */ |
184 | | - get( out: ArrayLike<number>, i: number ): ArrayLike<number> | void; |
185 | | - |
186 | 164 | /** |
187 | 165 | * Sets an array element. |
188 | 166 | * |
|
0 commit comments