Fork me on GitHub
#core-matrix
<
2015-10-26
>
mikera11:10:19

(assign! m 1.0) should work

mikera11:10:33

Otherwise you can also do (broadcast 1.0 target-shape) I think, that probably means you need to set the right implementation first

mikera11:10:50

The broadcast method may be better if you have a big array and don't plan to mutate it, since that means it only needs to store a single double value

keithschulze21:10:40

Thanks, I will give those a go.