> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RS_Array

Create an array that is filled by the given value

## Signatures

```sql theme={"system"}
RS_Array(length: Integer, value: Double)
```

## Parameters

<ParamField body="length" type="Integer" required>
  The length value.
</ParamField>

<ParamField body="value" type="Double" required>
  The fill value for the array.
</ParamField>

## Return type

<ResponseField type="Array<Double>">
  An array of double values.
</ResponseField>

## Example

```scala theme={"system"}
SELECT RS_Array(height * width, 0.0)
```
