Skip to content

Commit be8badf

Browse files
authored
docs: update blas/base/ndarray TypeScript declarations
PR-URL: #11787 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent f11ab39 commit be8badf

1 file changed

Lines changed: 138 additions & 17 deletions

File tree

  • lib/node_modules/@stdlib/blas/base/ndarray/docs/types

lib/node_modules/@stdlib/blas/base/ndarray/docs/types/index.d.ts

Lines changed: 138 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,15 @@ interface Namespace {
4545
/**
4646
* Multiplies a one-dimensional single-precision complex floating-point ndarray `x` by a constant `alpha` and adds the result to a one-dimensional single-precision complex floating-point ndarray `y`.
4747
*
48-
* @param arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
48+
* ## Notes
49+
*
50+
* - The function expects the following ndarrays:
51+
*
52+
* - a one-dimensional input ndarray.
53+
* - a one-dimensional output ndarray.
54+
* - a zero-dimensional ndarray containing a scalar constant.
55+
*
56+
* @param arrays - array-like object containing ndarrays
4957
* @returns output ndarray
5058
*
5159
* @example
@@ -71,7 +79,14 @@ interface Namespace {
7179
/**
7280
* Copies values from a one-dimensional single-precision complex floating-point ndarray `x` into a one-dimensional single-precision complex floating-point ndarray `y`.
7381
*
74-
* @param arrays - array-like object containing an input ndarray and an output ndarray
82+
* ## Notes
83+
*
84+
* - The function expects the following ndarrays:
85+
*
86+
* - a one-dimensional input ndarray.
87+
* - a one-dimensional output ndarray.
88+
*
89+
* @param arrays - array-like object containing ndarrays
7590
* @returns output ndarray
7691
*
7792
* @example
@@ -91,7 +106,13 @@ interface Namespace {
91106
/**
92107
* Computes the sum of absolute values for all elements in a one-dimensional double-precision floating-point ndarray.
93108
*
94-
* @param arrays - array-like object containing a one-dimensional input ndarray
109+
* ## Notes
110+
*
111+
* - The function expects the following ndarrays:
112+
*
113+
* - a one-dimensional input ndarray.
114+
*
115+
* @param arrays - array-like object containing ndarrays
95116
* @returns sum
96117
*
97118
* @example
@@ -107,7 +128,15 @@ interface Namespace {
107128
/**
108129
* Multiplies a one-dimensional double-precision floating-point ndarray `x` by a constant `alpha` and adds the result to a one-dimensional double-precision floating-point ndarray `y`.
109130
*
110-
* @param arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
131+
* ## Notes
132+
*
133+
* - The function expects the following ndarrays:
134+
*
135+
* - a one-dimensional input ndarray.
136+
* - a one-dimensional output ndarray.
137+
* - a zero-dimensional ndarray containing a scalar constant.
138+
*
139+
* @param arrays - array-like object containing ndarrays
111140
* @returns output ndarray
112141
*
113142
* @example
@@ -132,7 +161,14 @@ interface Namespace {
132161
/**
133162
* Copies values from a one-dimensional double-precision floating-point ndarray `x` into a one-dimensional double-precision floating-point ndarray `y`.
134163
*
135-
* @param arrays - array-like object containing an input ndarray and an output ndarray
164+
* ## Notes
165+
*
166+
* - The function expects the following ndarrays:
167+
*
168+
* - a one-dimensional input ndarray.
169+
* - a one-dimensional output ndarray.
170+
*
171+
* @param arrays - array-like object containing ndarrays
136172
* @returns output ndarray
137173
*
138174
* @example
@@ -152,7 +188,14 @@ interface Namespace {
152188
/**
153189
* Computes the dot product of two one-dimensional double-precision floating-point ndarrays.
154190
*
155-
* @param arrays - array-like object containing two one-dimensional input ndarrays
191+
* ## Notes
192+
*
193+
* - The function expects the following ndarrays:
194+
*
195+
* - a first one-dimensional input ndarray.
196+
* - a second one-dimensional input ndarray.
197+
*
198+
* @param arrays - array-like object containing ndarrays
156199
* @returns dot product
157200
*
158201
* @example
@@ -169,7 +212,14 @@ interface Namespace {
169212
/**
170213
* Interchanges two one-dimensional double-precision floating-point ndarrays.
171214
*
172-
* @param arrays - array-like object containing two input ndarrays
215+
* ## Notes
216+
*
217+
* - The function expects the following ndarrays:
218+
*
219+
* - first one-dimensional input ndarray.
220+
* - second one-dimensional input ndarray.
221+
*
222+
* @param arrays - array-like object containing ndarrays
173223
* @returns second input ndarray
174224
*
175225
* @example
@@ -190,7 +240,13 @@ interface Namespace {
190240
/**
191241
* Computes the sum of absolute values for all elements in a one-dimensional ndarray.
192242
*
193-
* @param arrays - array-like object containing a one-dimensional input ndarray
243+
* ## Notes
244+
*
245+
* - The function expects the following ndarrays:
246+
*
247+
* - a one-dimensional input ndarray.
248+
*
249+
* @param arrays - array-like object containing ndarrays
194250
* @returns sum
195251
*
196252
* @example
@@ -206,7 +262,15 @@ interface Namespace {
206262
/**
207263
* Multiplies a one-dimensional ndarray `x` by a constant `alpha` and adds the result to a one-dimensional ndarray `y`.
208264
*
209-
* @param arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
265+
* ## Notes
266+
*
267+
* - The function expects the following ndarrays:
268+
*
269+
* - a one-dimensional input ndarray.
270+
* - a one-dimensional output ndarray.
271+
* - a zero-dimensional ndarray containing a scalar constant.
272+
*
273+
* @param arrays - array-like object containing ndarrays
210274
* @returns output ndarray
211275
*
212276
* @example
@@ -231,7 +295,14 @@ interface Namespace {
231295
/**
232296
* Copies values from a one-dimensional ndarray `x` into a one-dimensional ndarray `y`.
233297
*
234-
* @param arrays - array-like object containing an input ndarray and an output ndarray
298+
* ## Notes
299+
*
300+
* - The function expects the following ndarrays:
301+
*
302+
* - a one-dimensional input ndarray.
303+
* - a one-dimensional output ndarray.
304+
*
305+
* @param arrays - array-like object containing ndarrays
235306
* @returns output ndarray
236307
*
237308
* @example
@@ -251,7 +322,14 @@ interface Namespace {
251322
/**
252323
* Computes the dot product of two one-dimensional ndarrays.
253324
*
254-
* @param arrays - array-like object containing two one-dimensional input ndarrays
325+
* ## Notes
326+
*
327+
* - The function expects the following ndarrays:
328+
*
329+
* - a first one-dimensional input ndarray.
330+
* - a second one-dimensional input ndarray.
331+
*
332+
* @param arrays - array-like object containing ndarrays
255333
* @returns dot product
256334
*
257335
* @example
@@ -268,7 +346,13 @@ interface Namespace {
268346
/**
269347
* Computes the sum of absolute values for all elements in a one-dimensional single-precision floating-point ndarray.
270348
*
271-
* @param arrays - array-like object containing a one-dimensional input ndarray
349+
* ## Notes
350+
*
351+
* - The function expects the following ndarrays:
352+
*
353+
* - a one-dimensional input ndarray.
354+
*
355+
* @param arrays - array-like object containing ndarrays
272356
* @returns sum
273357
*
274358
* @example
@@ -284,7 +368,15 @@ interface Namespace {
284368
/**
285369
* Multiplies a one-dimensional single-precision floating-point ndarray `x` by a constant `alpha` and adds the result to a one-dimensional single-precision floating-point ndarray `y`.
286370
*
287-
* @param arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
371+
* ## Notes
372+
*
373+
* - The function expects the following ndarrays:
374+
*
375+
* - a one-dimensional input ndarray.
376+
* - a one-dimensional output ndarray.
377+
* - a zero-dimensional ndarray containing a scalar constant.
378+
*
379+
* @param arrays - array-like object containing ndarrays
288380
* @returns output ndarray
289381
*
290382
* @example
@@ -309,7 +401,14 @@ interface Namespace {
309401
/**
310402
* Copies values from a one-dimensional single-precision floating-point ndarray `x` into a one-dimensional single-precision floating-point ndarray `y`.
311403
*
312-
* @param arrays - array-like object containing an input ndarray and an output ndarray
404+
* ## Notes
405+
*
406+
* - The function expects the following ndarrays:
407+
*
408+
* - a one-dimensional input ndarray.
409+
* - a one-dimensional output ndarray.
410+
*
411+
* @param arrays - array-like object containing ndarrays
313412
* @returns output ndarray
314413
*
315414
* @example
@@ -329,7 +428,14 @@ interface Namespace {
329428
/**
330429
* Computes the dot product of two one-dimensional single-precision floating-point ndarrays.
331430
*
332-
* @param arrays - array-like object containing two one-dimensional input ndarrays
431+
* ## Notes
432+
*
433+
* - The function expects the following ndarrays:
434+
*
435+
* - a first one-dimensional input ndarray.
436+
* - a second one-dimensional input ndarray.
437+
*
438+
* @param arrays - array-like object containing ndarrays
333439
* @returns dot product
334440
*
335441
* @example
@@ -346,7 +452,15 @@ interface Namespace {
346452
/**
347453
* Multiplies a one-dimensional double-precision complex floating-point ndarray `x` by a constant `alpha` and adds the result to a one-dimensional double-precision complex floating-point ndarray `y`.
348454
*
349-
* @param arrays - array-like object containing an input ndarray, an output ndarray, and a zero-dimensional ndarray containing a scalar constant
455+
* ## Notes
456+
*
457+
* - The function expects the following ndarrays:
458+
*
459+
* - a one-dimensional input ndarray.
460+
* - a one-dimensional output ndarray.
461+
* - a zero-dimensional ndarray containing a scalar constant.
462+
*
463+
* @param arrays - array-like object containing ndarrays
350464
* @returns output ndarray
351465
*
352466
* @example
@@ -372,7 +486,14 @@ interface Namespace {
372486
/**
373487
* Copies values from a one-dimensional double-precision complex floating-point ndarray `x` into a one-dimensional double-precision complex floating-point ndarray `y`.
374488
*
375-
* @param arrays - array-like object containing an input ndarray and an output ndarray
489+
* ## Notes
490+
*
491+
* - The function expects the following ndarrays:
492+
*
493+
* - a one-dimensional input ndarray.
494+
* - a one-dimensional output ndarray.
495+
*
496+
* @param arrays - array-like object containing ndarrays
376497
* @returns output ndarray
377498
*
378499
* @example

0 commit comments

Comments
 (0)