astuanax/funmatrix

View on GitHub
src/util/addMatrix.js

Summary

Maintainability
A
0 mins
Test Coverage
import { curry, map } from 'fun.js'

export default curry((M, m) => map((row, idx) => row.map((col, jdx) => col + M.__value[idx][jdx]))(m))