From f43dda6cdcee504145f6e41ebc475564070c2b44 Mon Sep 17 00:00:00 2001 From: Athan Reines Date: Mon, 12 Dec 2022 01:57:43 -0800 Subject: [PATCH] Add complex number support to `linalg.outer` --- spec/API_specification/array_api/linalg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/API_specification/array_api/linalg.py b/spec/API_specification/array_api/linalg.py index b3595e1fa..9d5a4b9c6 100644 --- a/spec/API_specification/array_api/linalg.py +++ b/spec/API_specification/array_api/linalg.py @@ -287,9 +287,9 @@ def outer(x1: array, x2: array, /) -> array: Parameters ---------- x1: array - first one-dimensional input array of size ``N``. Should have a real-valued data type. + first one-dimensional input array of size ``N``. Must have a numeric data type. x2: array - second one-dimensional input array of size ``M``. Should have a real-valued data type. + second one-dimensional input array of size ``M``. Must have a numeric data type. Returns -------