array_cross_product()

Computes the cross product of two arrays of size 3. The array elements can not be NULL.

Reference: DuckDB 2.0.0

Arguments & returns

2 overloads

array_cross_product(array1, array2)

Scalar
Overload link array1array2 Returns
#01 DOUBLE[3]DOUBLE[3] DOUBLE[3]
#02 FLOAT[3]FLOAT[3] FLOAT[3]

Example

array_cross_product example
SQL
Haybarn WASM 2.0.0-rc12 · In your browser

Engine example · Run to view results.