mutableView(as:)
Returns a mutable, typed view of this array’s elements.
Declaration
mutating func mutableView<T>(as type: T.Type = T.self) -> NDArray.MutableView<T> where T : BitwiseCopyableParameters
- type:
The Swift type that corresponds to this array’s Scalartype Swift.property. For example, pass
Int32.selffor an array with scalar type.int32.
Mentioned in
Return Value
A mutable view of the array’s elements.