# What is the best way to update matrix in callable function?

**URL:** https://discourse.julialang.org/t/what-is-the-best-way-to-update-matrix-in-callable-function/84641
**Category:** General Usage
**Tags:** question
**Created:** [July 22, 2022, 4:20pm UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-update-matrix-in-callable-function/84641 "2022-07-22T16:20:27Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![acxz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/acxz/32/16759_2.png) [@acxz](https://discourse.julialang.org/u/acxz)
#### Post date: [July 23, 2022, 2:29am UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-update-matrix-in-callable-function/84641/10 "2022-07-23T02:29:16Z")

</div>

For a solution to a similar problem to this see the following comment; [How to build this sparsematrix in Julia - #9 by acxz](https://discourse.julialang.org/t/how-to-build-this-sparsematrix-in-julia/84608/9)

---

_[View the full topic](https://discourse.julialang.org/t/what-is-the-best-way-to-update-matrix-in-callable-function/84641)._
