---
title: "insert(_:for:)"
framework: coreai
role: symbol
role_heading: Instance Method
path: "coreai/inferencefunction/mutableviews/insert(_:for:)-8ossp"
---

# insert(_:for:)

Insert the mutable view to be used as the ndArray value named name.

## Declaration

```swift
mutating func insert<Element>(_ mutableView: consuming NDArray.MutableView<Element>, for name: String) where Element : BitwiseCopyable
```

## Parameters

- `mutableView`: A mutable view of the ndArray to be used as the value.
- `name`: The name of the value that this view should be used for.
