packages feed

resistor-cube 0.0.0.2 → 0.0.0.3

raw patch · 2 files changed

+5/−2 lines, 2 files

Files

resistor-cube.cabal view
@@ -1,5 +1,5 @@ Name:                resistor-cube-Version:             0.0.0.2+Version:             0.0.0.3 Synopsis:            Compute total resistance of a cube of resistors Description:   This is an example of how to compute the total resistance@@ -7,6 +7,8 @@   It demonstrates how to build the necessary matrix.   The computed voltages and currents   are elements of the null vector of that matrix.+  .+  For a generalized version see the tests of the @linear-circuit@ package. Homepage:            http://hub.darcs.net/thielema/resistor-cube License:             BSD3 License-File:        LICENSE@@ -17,7 +19,7 @@ Cabal-Version:       >=1.10  Source-Repository this-  Tag:         0.0.0.2+  Tag:         0.0.0.3   Type:        darcs   Location:    http://hub.darcs.net/thielema/resistor-cube 
src/Main.hs view
@@ -66,6 +66,7 @@ sourceCorner = Corner C0 C0 C0 destCorner = Corner C1 C1 C1 +-- almost transposed voltageMatrix with some removed rows currentMatrix :: Matrix Double currentMatrix =    Matrix.fromLists $