# \[ANN\] CeedNumerics released (SN's ShapedArray API discussion)

**URL:** <https://forums.swift.org/t/ann-ceednumerics-released-sns-shapedarray-api-discussion/31285>\
**Category:** Swift Numerics\
**Tags:** numerics, simd\
**Created:** [December 2, 2019, 6:34pm UTC](https://forums.swift.org/t/ann-ceednumerics-released-sns-shapedarray-api-discussion/31285 "2019-12-02T18:34:12Z")\
**Posts on this page:** 1\
**Showing post:** 31

<div class="post-metadata">

**Author:** ![Lantua](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/lantua/32/8868_2.png) [@Lantua](https://forums.swift.org/u/Lantua)\
**Post date:** [December 4, 2019, 1:46pm UTC](https://forums.swift.org/t/ann-ceednumerics-released-sns-shapedarray-api-discussion/31285/31 "2019-12-04T13:46:59Z")

</div>

One caveat though, is that `inout` that replaces the storage could cause a problem.

```swift
func foo(_ value: inout Matrix<Int>) {
  value = newMatrix
}

var a = ...
foo(&a[...]) // Now `a` lost its storage after `yield`.

```

If that happens, when the we will lost the original storage since the yielding value is the only one that has it.

And I couldn't figure it out a way to avoid both copying and have it work with this. Maybe `_modify` could be changed to work during the proposal. 🤔

---

_[View the full topic](https://forums.swift.org/t/ann-ceednumerics-released-sns-shapedarray-api-discussion/31285)._
