From 5555d41466d8f326ba550ba293ab94fdefeae9ab Mon Sep 17 00:00:00 2001 From: Athan Date: Wed, 29 Nov 2023 21:20:16 -0800 Subject: [PATCH] Revise guidance to require a minimum upper bound for supported ranks PR-URL: https://github.com/data-apis/array-api/pull/702 Reviewed-by: Ralf Gommers Reviewed-by: Leo Fang --- spec/draft/API_specification/array_object.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/draft/API_specification/array_object.rst b/spec/draft/API_specification/array_object.rst index b15bbdc43..0fadf9fc5 100644 --- a/spec/draft/API_specification/array_object.rst +++ b/spec/draft/API_specification/array_object.rst @@ -7,7 +7,7 @@ Array object A conforming implementation of the array API standard must provide and support an array object having the following attributes and methods. -Furthermore, a conforming implementation of the array API standard must support array objects of arbitrary rank ``N`` (i.e., number of dimensions), where ``N`` is greater than or equal to zero. +Furthermore, a conforming implementation of the array API standard must support, at minimum, array objects of rank (i.e., number of dimensions) ``0``, ``1``, ``2``, ``3``, and ``4`` and must explicitly document their maximum supported rank ``N``. .. note:: Conforming implementations must support zero-dimensional arrays.