Resistor mesh: Difference between revisions

(→‎{{header|Haskell}}: Added Haskell solution)
Line 566:
 
=={{header|Haskell}}==
Translation of {{trans|Octave program.}} All mutations are expressed as monoidal operations.
<lang haskell>{-# LANGUAGE ParallelListComp #-}
import Numeric.LinearAlgebra (linearSolve, toDense, (!), flatten)
Anonymous user