Fork me on GitHub
#uncomplicate
<
2018-09-19
>
jon.armond07:09:47

is there an efficient way to compute row sums? at the moment I am doing

(map core/sum (core/rows x))

blueberry09:09:21

yes! mv the matrix with a vector of ones.

jon.armond09:09:21

excellent! must try harder to think in linalg instead of loops