From 1148f79d472e8b404550b8eb296d8fff10401f99 Mon Sep 17 00:00:00 2001 From: Stefano Ottolenghi Date: Tue, 28 Oct 2025 10:23:56 +0000 Subject: [PATCH] Mention list conversion --- modules/ROOT/pages/values-and-types/vector.adoc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/values-and-types/vector.adoc b/modules/ROOT/pages/values-and-types/vector.adoc index 582ac13f4..2cae483dd 100644 --- a/modules/ROOT/pages/values-and-types/vector.adoc +++ b/modules/ROOT/pages/values-and-types/vector.adoc @@ -24,15 +24,19 @@ vector([1.05, 0.123, 5], 3, FLOAT32) In this example, `[1.05, 0.123, 5]` is the list of values, `3` its dimension, and `FLOAT32` the data type of the individual entries. + Each number in the list can also be seen as a coordinate along one of the vector's dimensions. +[TIP] +You can convert vectors into lists via the functions xref:functions/list.adoc#functions-tointegerlist[`toIntegerList()`] and xref:functions/list.adoc#functions-tofloatlist[`toFloatList()`]. + [[valid-values]] === Valid values -- A `VECTOR` value must have a dimension and a coordinate type. +- A `VECTOR` value must have a dimension and a coordinate type (see table below for supported types). - The dimension of a `VECTOR` value must be larger than `0` and less than or equal to `4096`. - Vectors cannot contain lists as elements. -- Supported coordinate types are: + -+ + +[[supported-coordinate-types]] +.Supported coordinate types [options="header",cols="2*