From 1e82698abe6c0b781d96e3b584bca50a8562d312 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Wed, 3 Nov 2021 21:18:43 -0700 Subject: [PATCH 1/2] Disallow providing a stack of vectors --- spec/extensions/linear_algebra_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/extensions/linear_algebra_functions.md b/spec/extensions/linear_algebra_functions.md index a2d53d9a6..019a3b0b1 100644 --- a/spec/extensions/linear_algebra_functions.md +++ b/spec/extensions/linear_algebra_functions.md @@ -484,7 +484,7 @@ Whether an array library explicitly checks whether an input array is full rank i - **x2**: _<array>_ - - ordinate (or "dependent variable") array `B`. If `x2` has shape `(..., M)`, `x2` is equivalent to an array having shape `(..., M, 1)`, and `shape(x2)` must be compatible with `shape(x1)[:-1]` (see {ref}`broadcasting`). If `x2` has shape `(..., M, K)`, each column `k` defines a set of ordinate values for which to compute a solution, and `shape(x2)[:-1]` must be compatible with `shape(x1)[:-1]` (see {ref}`broadcasting`). Should have a floating-point data type. + - ordinate (or "dependent variable") array `B`. If `x2` has shape `(M)`, `x2` is equivalent to an array having shape `(..., M, 1)`. If `x2` has shape `(..., M, K)`, each column `k` defines a set of ordinate values for which to compute a solution, and `shape(x2)[:-1]` must be compatible with `shape(x1)[:-1]` (see {ref}`broadcasting`). Should have a floating-point data type. #### Returns From 8c8f0d62715617a615e0b70f9ddd7d54ff155ffc Mon Sep 17 00:00:00 2001 From: Athan Date: Tue, 9 Nov 2021 13:00:41 -0800 Subject: [PATCH 2/2] Update copy Co-authored-by: Leo Fang --- spec/extensions/linear_algebra_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/extensions/linear_algebra_functions.md b/spec/extensions/linear_algebra_functions.md index 019a3b0b1..2545bc16a 100644 --- a/spec/extensions/linear_algebra_functions.md +++ b/spec/extensions/linear_algebra_functions.md @@ -484,7 +484,7 @@ Whether an array library explicitly checks whether an input array is full rank i - **x2**: _<array>_ - - ordinate (or "dependent variable") array `B`. If `x2` has shape `(M)`, `x2` is equivalent to an array having shape `(..., M, 1)`. If `x2` has shape `(..., M, K)`, each column `k` defines a set of ordinate values for which to compute a solution, and `shape(x2)[:-1]` must be compatible with `shape(x1)[:-1]` (see {ref}`broadcasting`). Should have a floating-point data type. + - ordinate (or "dependent variable") array `B`. If `x2` has shape `(M,)`, `x2` is equivalent to an array having shape `(..., M, 1)`. If `x2` has shape `(..., M, K)`, each column `k` defines a set of ordinate values for which to compute a solution, and `shape(x2)[:-1]` must be compatible with `shape(x1)[:-1]` (see {ref}`broadcasting`). Should have a floating-point data type. #### Returns