Skip to content

Commit d2707a8

Browse files
committed
docs: add repl.txt
--- 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: passed - 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: na - task: lint_license_headers status: passed ---
1 parent 8fe0be2 commit d2707a8

File tree

2 files changed

+78
-3
lines changed

2 files changed

+78
-3
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
{{alias}}( order, M, N, A, LDA )
3+
Finds the index of the last non zero row in a matrix `A`.
4+
5+
Indexing is relative to the first index. To introduce an offset, use typed
6+
array views.
7+
8+
Parameters
9+
----------
10+
order: string
11+
Row-major (C-style) or column-major (Fortran-style) order. Must be
12+
either 'row-major' or 'column-major'.
13+
14+
M: integer
15+
Number of rows in `A`.
16+
17+
N: integer
18+
Number of columns in `A`.
19+
20+
A: Float64Array
21+
Input matrix `A`.
22+
23+
Returns
24+
-------
25+
iladlr: integer
26+
Zero based index of the last non-zero row.
27+
28+
Examples
29+
--------
30+
> var A = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
31+
> {{alias}}( 'row-major', 2, 2, A, 2 )
32+
1
33+
34+
35+
{{alias}}.ndarray( M, N, A, sa1, sa2, oa )
36+
Finds the index of the last non zero row in a matrix `A` using alternative
37+
indexing semantics.
38+
39+
While typed array views mandate a view offset based on the underlying
40+
buffer, the offset parameters support indexing semantics based on starting
41+
indices.
42+
43+
Parameters
44+
----------
45+
M: integer
46+
Number of rows in `A`.
47+
48+
N: integer
49+
Number of columns in `A`.
50+
51+
A: Float64Array
52+
Input matrix `A`.
53+
54+
sa1: integer
55+
Stride of the first dimension of `A`.
56+
57+
sa2: integer
58+
Stride of the second dimension of `A`.
59+
60+
oa: integer
61+
Starting index for `A`.
62+
63+
Returns
64+
-------
65+
iladlr: integer
66+
Zero based index of the last non-zero row.
67+
68+
Examples
69+
--------
70+
> var A = new {{alias:@stdlib/array/float64}}( [ 1.0, 2.0, 3.0, 4.0 ] );
71+
> {{alias}}.ndarray( 2, 2, A, 2, 1, 0 )
72+
1
73+
74+
See Also
75+
--------

lib/node_modules/@stdlib/lapack/base/iladlr/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { Layout } from '@stdlib/types/blas';
2727
*/
2828
interface Routine {
2929
/**
30-
* Performs a series of row interchanges on a matrix `A` using pivot indices stored in `IPIV`.
30+
* Finds the index of the last non zero row in a matrix `A`.
3131
*
3232
* @param order - storage layout
3333
* @param M - number of rows in `A`
@@ -47,7 +47,7 @@ interface Routine {
4747
( order: Layout, M: number, N: number, A: Float64Array, LDA: number ): number;
4848

4949
/**
50-
* Finds the index of the last non zero row in a matrix `A`.
50+
* Finds the index of the last non zero row in a matrix `A` using alternative indexing semantics.
5151
*
5252
* @param M - number of rows in `A`
5353
* @param N - number of columns in `A`
@@ -68,7 +68,7 @@ interface Routine {
6868
}
6969

7070
/**
71-
* Performs a series of row interchanges on a matrix `A` using pivot indices stored in `IPIV`.
71+
* Finds the index of the last non zero row in a matrix `A`.
7272
*
7373
* @param order - storage layout
7474
* @param M - number of rows in `A`

0 commit comments

Comments
 (0)