Skip to content

Commit f54b4ac

Browse files
committed
docs: add ts files
--- 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: na - 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: passed - task: lint_license_headers status: passed ---
1 parent def6a3c commit f54b4ac

File tree

2 files changed

+390
-0
lines changed

2 files changed

+390
-0
lines changed
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
/*
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
// TypeScript Version: 4.1
20+
21+
/// <reference types="@stdlib/types"/>
22+
23+
/**
24+
* Interface describing `dladiv`.
25+
*/
26+
interface Routine {
27+
/**
28+
* Divides two double-precision complex floating-point numbers in real arithmetic.
29+
*
30+
* @param a - real component of numerator
31+
* @param b - imaginary component of numerator
32+
* @param c - real component of denominator
33+
* @param d - imaginary component of denominator
34+
* @param P - array containing a single element which is overwritten by the real part of the quotient
35+
* @param Q - array containing a single element which is overwritten by the imaginary part of the quotient
36+
* @returns void
37+
*
38+
* @example
39+
* var Float64Array = require( '@stdlib/array/float64' );
40+
*
41+
* var P = new Float64Array( 1 );
42+
* var Q = new Float64Array( 1 );
43+
*
44+
* dladiv( -13.0, -1.0, -2.0, 1.0, P, Q );
45+
* // P => <Float64Array>[ 5.0 ]
46+
* // Q => <Float64Array>[ 3.0 ]
47+
*/
48+
( a: number, b: number, c: number, d: number, P: Float64Array, Q: Float64Array ): void;
49+
50+
/**
51+
* Divides two double-precision complex floating-point numbers in real arithmetic with alternative indexing semantics.
52+
*
53+
* @param a - real component of numerator
54+
* @param b - imaginary component of numerator
55+
* @param c - real component of denominator
56+
* @param d - imaginary component of denominator
57+
* @param P - array containing a single element which is overwritten by the real part of the quotient
58+
* @param offsetP - index of the element in `P`
59+
* @param Q - array containing a single element which is overwritten by the imaginary part of the quotient
60+
* @param offsetQ - index of the element in `Q`
61+
* @returns void
62+
*
63+
* @example
64+
* var Float64Array = require( '@stdlib/array/float64' );
65+
*
66+
* var P = new Float64Array( 1 );
67+
* var Q = new Float64Array( 1 );
68+
*
69+
* dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, 0 );
70+
* // P => <Float64Array>[ 5.0 ]
71+
* // Q => <Float64Array>[ 3.0 ]
72+
*/
73+
ndarray( a: number, b: number, c: number, d: number, P: Float64Array, offsetP: number, Q: Float64Array, offsetQ: number ): void;
74+
}
75+
76+
/**
77+
* Divides two double-precision complex floating-point numbers in real arithmetic.
78+
*
79+
* @param a - real component of numerator
80+
* @param b - imaginary component of numerator
81+
* @param c - real component of denominator
82+
* @param d - imaginary component of denominator
83+
* @param P - array containing a single element which is overwritten by the real part of the quotient
84+
* @param Q - array containing a single element which is overwritten by the imaginary part of the quotient
85+
* @returns void
86+
*
87+
* @example
88+
* var Float64Array = require( '@stdlib/array/float64' );
89+
*
90+
* var P = new Float64Array( 1 );
91+
* var Q = new Float64Array( 1 );
92+
*
93+
* dladiv( -13.0, -1.0, -2.0, 1.0, P, Q );
94+
* // P => <Float64Array>[ 5.0 ]
95+
* // Q => <Float64Array>[ 3.0 ]
96+
*
97+
* @example
98+
* var Float64Array = require( '@stdlib/array/float64' );
99+
*
100+
* var P = new Float64Array( 1 );
101+
* var Q = new Float64Array( 1 );
102+
*
103+
* dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, 0 );
104+
* // P => <Float64Array>[ 5.0 ]
105+
* // Q => <Float64Array>[ 3.0 ]
106+
*/
107+
declare var dladiv: Routine;
108+
109+
110+
// EXPORTS //
111+
112+
export = dladiv;
Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
/*
2+
* @license Apache-2.0
3+
*
4+
* Copyright (c) 2025 The Stdlib Authors.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
18+
19+
import dladiv = require( './index' );
20+
21+
22+
// TESTS //
23+
24+
// The function returns void...
25+
{
26+
const P = new Float64Array( 1 );
27+
const Q = new Float64Array( 1 );
28+
29+
dladiv( -13.0, -1.0, -2.0, 1.0, P, Q ); // $ExpectType void
30+
}
31+
32+
// The compiler throws an error if the function is provided a first argument which is not a number...
33+
{
34+
const P = new Float64Array( 1 );
35+
const Q = new Float64Array( 1 );
36+
37+
dladiv( '5', -1.0, -2.0, 1.0, P, Q ); // $ExpectError
38+
dladiv( true, -1.0, -2.0, 1.0, P, Q ); // $ExpectError
39+
dladiv( false, -1.0, -2.0, 1.0, P, Q ); // $ExpectError
40+
dladiv( null, -1.0, -2.0, 1.0, P, Q ); // $ExpectError
41+
dladiv( void 0, -1.0, -2.0, 1.0, P, Q ); // $ExpectError
42+
dladiv( [], -1.0, -2.0, 1.0, P, Q ); // $ExpectError
43+
dladiv( {}, -1.0, -2.0, 1.0, P, Q ); // $ExpectError
44+
dladiv( ( x: number ): number => x, -1.0, -2.0, 1.0, P, Q ); // $ExpectError
45+
}
46+
47+
// The compiler throws an error if the function is provided a second argument which is not a number...
48+
{
49+
const P = new Float64Array( 1 );
50+
const Q = new Float64Array( 1 );
51+
52+
dladiv( -13.0, '5', -2.0, 1.0, P, Q ); // $ExpectError
53+
dladiv( -13.0, true, -2.0, 1.0, P, Q ); // $ExpectError
54+
dladiv( -13.0, false, -2.0, 1.0, P, Q ); // $ExpectError
55+
dladiv( -13.0, null, -2.0, 1.0, P, Q ); // $ExpectError
56+
dladiv( -13.0, void 0, -2.0, 1.0, P, Q ); // $ExpectError
57+
dladiv( -13.0, [], -2.0, 1.0, P, Q ); // $ExpectError
58+
dladiv( -13.0, {}, -2.0, 1.0, P, Q ); // $ExpectError
59+
dladiv( -13.0, ( x: number ): number => x, -2.0, 1.0, P, Q ); // $ExpectError
60+
}
61+
62+
// The compiler throws an error if the function is provided a third argument which is not a number...
63+
{
64+
const P = new Float64Array( 1 );
65+
const Q = new Float64Array( 1 );
66+
67+
dladiv( -13.0, -1.0, '5', 1.0, P, Q ); // $ExpectError
68+
dladiv( -13.0, -1.0, true, 1.0, P, Q ); // $ExpectError
69+
dladiv( -13.0, -1.0, false, 1.0, P, Q ); // $ExpectError
70+
dladiv( -13.0, -1.0, null, 1.0, P, Q ); // $ExpectError
71+
dladiv( -13.0, -1.0, void 0, 1.0, P, Q ); // $ExpectError
72+
dladiv( -13.0, -1.0, [], 1.0, P, Q ); // $ExpectError
73+
dladiv( -13.0, -1.0, {}, 1.0, P, Q ); // $ExpectError
74+
dladiv( -13.0, -1.0, ( x: number ): number => x, 1.0, P, Q ); // $ExpectError
75+
}
76+
77+
// The compiler throws an error if the function is provided a fourth argument which is not a number...
78+
{
79+
const P = new Float64Array( 1 );
80+
const Q = new Float64Array( 1 );
81+
82+
dladiv( -13.0, -1.0, -2.0, '5', P, Q ); // $ExpectError
83+
dladiv( -13.0, -1.0, -2.0, true, P, Q ); // $ExpectError
84+
dladiv( -13.0, -1.0, -2.0, false, P, Q ); // $ExpectError
85+
dladiv( -13.0, -1.0, -2.0, null, P, Q ); // $ExpectError
86+
dladiv( -13.0, -1.0, -2.0, void 0, P, Q ); // $ExpectError
87+
dladiv( -13.0, -1.0, -2.0, [], P, Q ); // $ExpectError
88+
dladiv( -13.0, -1.0, -2.0, {}, P, Q ); // $ExpectError
89+
dladiv( -13.0, -1.0, -2.0, ( x: number ): number => x, P, Q ); // $ExpectError
90+
}
91+
92+
// The compiler throws an error if the function is provided a fifth argument which is not a Float64Array...
93+
{
94+
const Q = new Float64Array( 1 );
95+
96+
dladiv( -13.0, -1.0, -2.0, 1.0, '5', Q ); // $ExpectError
97+
dladiv( -13.0, -1.0, -2.0, 1.0, 5, Q ); // $ExpectError
98+
dladiv( -13.0, -1.0, -2.0, 1.0, true, Q ); // $ExpectError
99+
dladiv( -13.0, -1.0, -2.0, 1.0, false, Q ); // $ExpectError
100+
dladiv( -13.0, -1.0, -2.0, 1.0, null, Q ); // $ExpectError
101+
dladiv( -13.0, -1.0, -2.0, 1.0, void 0, Q ); // $ExpectError
102+
dladiv( -13.0, -1.0, -2.0, 1.0, [], Q ); // $ExpectError
103+
dladiv( -13.0, -1.0, -2.0, 1.0, {}, Q ); // $ExpectError
104+
dladiv( -13.0, -1.0, -2.0, 1.0, ( x: number ): number => x, Q ); // $ExpectError
105+
}
106+
107+
// The compiler throws an error if the function is provided a sixth argument which is not a Float64Array...
108+
{
109+
const P = new Float64Array( 1 );
110+
111+
dladiv( -13.0, -1.0, -2.0, 1.0, P, '5' ); // $ExpectError
112+
dladiv( -13.0, -1.0, -2.0, 1.0, P, 5 ); // $ExpectError
113+
dladiv( -13.0, -1.0, -2.0, 1.0, P, true ); // $ExpectError
114+
dladiv( -13.0, -1.0, -2.0, 1.0, P, false ); // $ExpectError
115+
dladiv( -13.0, -1.0, -2.0, 1.0, P, null ); // $ExpectError
116+
dladiv( -13.0, -1.0, -2.0, 1.0, P, void 0 ); // $ExpectError
117+
dladiv( -13.0, -1.0, -2.0, 1.0, P, [] ); // $ExpectError
118+
dladiv( -13.0, -1.0, -2.0, 1.0, P, {} ); // $ExpectError
119+
dladiv( -13.0, -1.0, -2.0, 1.0, P, ( x: number ): number => x ); // $ExpectError
120+
}
121+
122+
// The compiler throws an error if the function is provided an unsupported number of arguments...
123+
{
124+
const P = new Float64Array( 1 );
125+
const Q = new Float64Array( 1 );
126+
127+
dladiv(); // $ExpectError
128+
dladiv( -13.0 ); // $ExpectError
129+
dladiv( -13.0, -1.0 ); // $ExpectError
130+
dladiv( -13.0, -1.0, -2.0 ); // $ExpectError
131+
dladiv( -13.0, -1.0, -2.0, 1.0 ); // $ExpectError
132+
dladiv( -13.0, -1.0, -2.0, 1.0, P ); // $ExpectError
133+
dladiv( -13.0, -1.0, -2.0, 1.0, P, Q, 10 ); // $ExpectError
134+
}
135+
136+
// Attached to main export is an `ndarray` method which returns void...
137+
{
138+
const P = new Float64Array( 1 );
139+
const Q = new Float64Array( 1 );
140+
141+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectType void
142+
}
143+
144+
// The compiler throws an error if the function is provided a first argument which is not a number...
145+
{
146+
const P = new Float64Array( 1 );
147+
const Q = new Float64Array( 1 );
148+
149+
dladiv.ndarray( '5', -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
150+
dladiv.ndarray( true, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
151+
dladiv.ndarray( false, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
152+
dladiv.ndarray( null, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
153+
dladiv.ndarray( void 0, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
154+
dladiv.ndarray( [], -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
155+
dladiv.ndarray( {}, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
156+
dladiv.ndarray( ( x: number ): number => x, -1.0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
157+
}
158+
159+
// The compiler throws an error if the function is provided a second argument which is not a number...
160+
{
161+
const P = new Float64Array( 1 );
162+
const Q = new Float64Array( 1 );
163+
164+
dladiv.ndarray( -13.0, '5', -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
165+
dladiv.ndarray( -13.0, true, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
166+
dladiv.ndarray( -13.0, false, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
167+
dladiv.ndarray( -13.0, null, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
168+
dladiv.ndarray( -13.0, void 0, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
169+
dladiv.ndarray( -13.0, [], -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
170+
dladiv.ndarray( -13.0, {}, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
171+
dladiv.ndarray( -13.0, ( x: number ): number => x, -2.0, 1.0, P, 0, Q, 0 ); // $ExpectError
172+
}
173+
174+
// The compiler throws an error if the function is provided a third argument which is not a number...
175+
{
176+
const P = new Float64Array( 1 );
177+
const Q = new Float64Array( 1 );
178+
179+
dladiv.ndarray( -13.0, -1.0, '5', 1.0, P, 0, Q, 0 ); // $ExpectError
180+
dladiv.ndarray( -13.0, -1.0, true, 1.0, P, 0, Q, 0 ); // $ExpectError
181+
dladiv.ndarray( -13.0, -1.0, false, 1.0, P, 0, Q, 0 ); // $ExpectError
182+
dladiv.ndarray( -13.0, -1.0, null, 1.0, P, 0, Q, 0 ); // $ExpectError
183+
dladiv.ndarray( -13.0, -1.0, void 0, 1.0, P, 0, Q, 0 ); // $ExpectError
184+
dladiv.ndarray( -13.0, -1.0, [], 1.0, P, 0, Q, 0 ); // $ExpectError
185+
dladiv.ndarray( -13.0, -1.0, {}, 1.0, P, 0, Q, 0 ); // $ExpectError
186+
dladiv.ndarray( -13.0, -1.0, ( x: number ): number => x, 1.0, P, 0, Q, 0 ); // $ExpectError
187+
}
188+
189+
// The compiler throws an error if the function is provided a fourth argument which is not a number...
190+
{
191+
const P = new Float64Array( 1 );
192+
const Q = new Float64Array( 1 );
193+
194+
dladiv.ndarray( -13.0, -1.0, -2.0, '5', P, 0, Q, 0 ); // $ExpectError
195+
dladiv.ndarray( -13.0, -1.0, -2.0, true, P, 0, Q, 0 ); // $ExpectError
196+
dladiv.ndarray( -13.0, -1.0, -2.0, false, P, 0, Q, 0 ); // $ExpectError
197+
dladiv.ndarray( -13.0, -1.0, -2.0, null, P, 0, Q, 0 ); // $ExpectError
198+
dladiv.ndarray( -13.0, -1.0, -2.0, void 0, P, 0, Q, 0 ); // $ExpectError
199+
dladiv.ndarray( -13.0, -1.0, -2.0, [], P, 0, Q, 0 ); // $ExpectError
200+
dladiv.ndarray( -13.0, -1.0, -2.0, {}, P, 0, Q, 0 ); // $ExpectError
201+
dladiv.ndarray( -13.0, -1.0, -2.0, ( x: number ): number => x, P, 0, Q, 0 ); // $ExpectError
202+
}
203+
204+
// The compiler throws an error if the function is provided a fifth argument which is not a Float64Array...
205+
{
206+
const Q = new Float64Array( 1 );
207+
208+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, '5', 0, Q, 0 ); // $ExpectError
209+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, 5, 0, Q, 0 ); // $ExpectError
210+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, true, 0, Q, 0 ); // $ExpectError
211+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, false, 0, Q, 0 ); // $ExpectError
212+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, null, 0, Q, 0 ); // $ExpectError
213+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, void 0, 0, Q, 0 ); // $ExpectError
214+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, [], 0, Q, 0 ); // $ExpectError
215+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, {}, 0, Q, 0 ); // $ExpectError
216+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, ( x: number ): number => x, 0, Q, 0 ); // $ExpectError
217+
}
218+
219+
// The compiler throws an error if the function is provided a sixth argument which is not a number...
220+
{
221+
const P = new Float64Array( 1 );
222+
const Q = new Float64Array( 1 );
223+
224+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, '5', Q, 0 ); // $ExpectError
225+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, true, Q, 0 ); // $ExpectError
226+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, false, Q, 0 ); // $ExpectError
227+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, null, Q, 0 ); // $ExpectError
228+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, void 0, Q, 0 ); // $ExpectError
229+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, [], Q, 0 ); // $ExpectError
230+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, {}, Q, 0 ); // $ExpectError
231+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, ( x: number ): number => x, Q, 0 ); // $ExpectError
232+
}
233+
234+
// The compiler throws an error if the function is provided a seventh argument which is not a Float64Array...
235+
{
236+
const P = new Float64Array( 1 );
237+
238+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, '5', 0 ); // $ExpectError
239+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, 5, 0 ); // $ExpectError
240+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, true, 0 ); // $ExpectError
241+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, false, 0 ); // $ExpectError
242+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, null, 0 ); // $ExpectError
243+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, void 0, 0 ); // $ExpectError
244+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, [], 0 ); // $ExpectError
245+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, {}, 0 ); // $ExpectError
246+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, ( x: number ): number => x, 0 ); // $ExpectError
247+
}
248+
249+
// The compiler throws an error if the function is provided an eighth argument which is not a number...
250+
{
251+
const P = new Float64Array( 1 );
252+
const Q = new Float64Array( 1 );
253+
254+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, '5' ); // $ExpectError
255+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, true ); // $ExpectError
256+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, false ); // $ExpectError
257+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, null ); // $ExpectError
258+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, void 0 ); // $ExpectError
259+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, [] ); // $ExpectError
260+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, {} ); // $ExpectError
261+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, ( x: number ): number => x ); // $ExpectError
262+
}
263+
264+
// The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments...
265+
{
266+
const P = new Float64Array( 1 );
267+
const Q = new Float64Array( 1 );
268+
269+
dladiv.ndarray(); // $ExpectError
270+
dladiv.ndarray( -13.0 ); // $ExpectError
271+
dladiv.ndarray( -13.0, -1.0 ); // $ExpectError
272+
dladiv.ndarray( -13.0, -1.0, -2.0 ); // $ExpectError
273+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0 ); // $ExpectError
274+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P ); // $ExpectError
275+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0 ); // $ExpectError
276+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q ); // $ExpectError
277+
dladiv.ndarray( -13.0, -1.0, -2.0, 1.0, P, 0, Q, 0, 10 ); // $ExpectError
278+
}

0 commit comments

Comments
 (0)