# ScatterAxes

`import { ScatterAxes } from "destack:tensor";`

Axis mapping for tensor scatter.

```ds title="ScatterAxes"
export struct ScatterAxes<const UpdateWindowCount: usize, const InsertedWindowCount: usize, const ScatterOperandCount: usize> {
    updateWindow: [Axis; UpdateWindowCount];
    insertedWindow: [Axis; InsertedWindowCount];
    scatterToOperand: [Axis; ScatterOperandCount];
    indexVector: Axis;
}
```

[language/library/src/tensor/axes.ds:70:86](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/axes.ds#L70-L86)

## Members

### `updateWindow: [Axis; UpdateWindowCount]`

Window axes in the updates tensor.

### `insertedWindow: [Axis; InsertedWindowCount]`

Inserted window axes in the operand tensor.

### `scatterToOperand: [Axis; ScatterOperandCount]`

Mapping from scatter index components to operand axes.

### `indexVector: Axis`

Axis containing index vectors in the indices tensor.
