> For the complete documentation index, see [llms.txt](https://docs.fractalworks.io/joule/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fractalworks.io/joule/components/analytics/analytic-tools/analytic-functions/stateless/general/euclidean.md).

# Euclidean

## Objective

Compute the Euclidean length by the square root of the sum of the squares.

## Example

```yaml
time window:
  emitting type: slidingEuclidean
  window functions:
    vector lengths:
      function:
        euclidean length: {}
      attributes: [ ask,bid ]
  policy:
    type: slidingTime
    slide: 500
    window size: 2500
```

### Output attributes

After processing, attributes receive automatically applied postfix ID = `EUCL_LEN`

| Before processing | After processing | Type         |
| ----------------- | ---------------- | ------------ |
| ask               | ask\_EUCL\_LEN   | double value |
| bid               | bid\_EUCL\_LEN   | double value |
