Skip to content

Commit 0bff7cc

Browse files
committed
Merge branch 'feature/ggemv' of https://github.com/shabishett07/stdlib into pr/ShabiShett07/7697
2 parents a8b2c12 + 5107c87 commit 0bff7cc

19 files changed

+98
-84
lines changed

lib/node_modules/@stdlib/blas/base/ggemv/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,11 @@ The function has the following parameters:
5252
- **α**: scalar constant.
5353
- **A**: input matrix stored in linear memory.
5454
- **LDA**: stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`).
55-
- **x**: an `M` element input array.
55+
- **lda**: stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`).
56+
- **x**: first input vector.
5657
- **sx**: stride length for `x`.
5758
- **β**: scalar constant.
58-
- **y**: an `N` element input array.
59+
- **y**: second input vector.
5960
- **sy**: stride length for `y`.
6061

6162
The stride parameters determine how operations are performed. For example, to iterate over every other element in `x` and `y`,

lib/node_modules/@stdlib/blas/base/ggemv/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/blas/base/ggemv/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/blas/base/ggemv/lib/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/blas/base/ggemv/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/blas/base/ggemv/lib/ndarray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2024 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/blas/base/ggemv/test/fixtures/column_major_complex_access_pattern.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"strideA1": 2,
1616
"strideA2": 8,
1717
"offsetA": 1,
18-
"x": [ 3.0, 2.0, 1.0 ],
18+
"x": [ 2.0, 1.0 ],
1919
"strideX": -1,
20-
"offsetX": 2,
20+
"offsetX": 1,
2121
"beta": 0.5,
22-
"y": [ 1.0, 2.0, 3.0 ],
22+
"y": [ 4.0, 3.0, 2.0, 1.0 ],
2323
"strideY": -1,
24-
"offsetY": 2,
25-
"y_out": [ 16.0, 6.0, 2.0 ]
24+
"offsetY": 3,
25+
"y_out": [ 13.5, 10.0, 6.5, 3.0 ]
2626
}

lib/node_modules/@stdlib/blas/base/ggemv/test/fixtures/column_major_sa1_sa2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"order": "column-major",
33
"trans": "no-transpose",
4-
"M": 3,
4+
"M": 4,
55
"N": 2,
66
"alpha": 0.5,
77
"A": [ 1.0, 999.0, 3.0, 999.0, 5.0, 999.0, 7.0, 999.0, 2.0, 999.0, 4.0, 999.0, 6.0, 999.0, 8.0 ],

lib/node_modules/@stdlib/blas/base/ggemv/test/fixtures/column_major_sa1_sa2n.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"order": "column-major",
33
"trans": "no-transpose",
4-
"M": 3,
4+
"M": 4,
55
"N": 2,
66
"alpha": 0.5,
7-
"A": [ 999.0, 999.0, 999.0, 999.0, 999.0, 2.0, 999.0, 4.0, 999.0, 6.0, 999.0, 999.0, 999.0, 999.0, 999.0, 1.0, 999.0, 3.0, 999.0, 5.0 ],
7+
"A": [ 2.0, 4.0, 6.0, 8.0, 999.0, 999.0, 999.0, 999.0, 1.0, 3.0, 5.0, 7.0 ],
88
"A_mat": [
99
[ 1.0, 2.0 ],
1010
[ 3.0, 4.0 ],
1111
[ 5.0, 6.0 ],
1212
[ 7.0, 8.0 ]
1313
],
14-
"lda": 10,
15-
"strideA1": 2,
16-
"strideA2": -10,
17-
"offsetA": 15,
14+
"lda": 8,
15+
"strideA1": 1,
16+
"strideA2": -8,
17+
"offsetA": 8,
1818
"x": [ 1.0, 2.0 ],
1919
"strideX": 1,
2020
"offsetX": 0,

lib/node_modules/@stdlib/blas/base/ggemv/test/fixtures/column_major_sa1n_sa2.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"order": "column-major",
33
"trans": "no-transpose",
4-
"M": 3,
4+
"M": 4,
55
"N": 2,
66
"alpha": 0.5,
7-
"A": [ 999.0, 999.0, 999.0, 999.0, 999.0, 5.0, 999.0, 3.0, 999.0, 1.0, 999.0, 999.0, 999.0, 999.0, 999.0, 6.0, 999.0, 4.0, 999.0, 2.0 ],
7+
"A": [ 7.0, 5.0, 3.0, 1.0, 999.0, 999.0, 999.0, 999.0, 8.0, 6.0, 4.0, 2.0 ],
88
"A_mat": [
99
[ 1.0, 2.0 ],
1010
[ 3.0, 4.0 ],
1111
[ 5.0, 6.0 ],
1212
[ 7.0, 8.0 ]
1313
],
14-
"lda": 10,
15-
"strideA1": -2,
16-
"strideA2": 10,
17-
"offsetA": 9,
14+
"lda": 8,
15+
"strideA1": -1,
16+
"strideA2": 8,
17+
"offsetA": 3,
1818
"x": [ 1.0, 2.0 ],
1919
"strideX": 1,
2020
"offsetX": 0,

0 commit comments

Comments
 (0)