# store

`import { store } from "destack";`

Store one tensor element into `view`.

Store `value` into `destination`.

```ds title="store"
export declare function store<T, const Rank: usize, F: TensorViewFormat, P: Placement>(view: TensorView<T, Rank, F, P, "exclusive">, coordinate: Coordinate<Rank>, value: T, options?: TensorExecutionOptions | undefined): void
```

[language/library/src/tensor/ops.ds:476:481](https://github.com/destack-sh/destack/blob/main/language/library/src/tensor/ops.ds#L476-L481)

```ds title="store"
export function store<T, const N: usize>(destination: &'a exclusive [T], value: Vector<T, N>): void
```

[language/library/src/math/vector.ds:73:77](https://github.com/destack-sh/destack/blob/main/language/library/src/math/vector.ds#L73-L77)
