| Copyright | (c) Scott N. Walck 2023 |
|---|---|
| License | BSD3 (see LICENSE) |
| Maintainer | Scott N. Walck <walck@lvc.edu> |
| Stability | stable |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
LPFPCore.Charge
Description
Code from chapter 24 of the book Learn Physics with Functional Programming
Documentation
data ChargeDistribution Source #
chargedLine :: Charge -> R -> ChargeDistribution Source #
chargedBall :: Charge -> R -> ChargeDistribution Source #
simpleDipole :: Vec -> R -> ChargeDistribution Source #
lineDipole :: Vec -> R -> ChargeDistribution Source #
chargedDisk :: Charge -> R -> ChargeDistribution Source #
circularLineCharge :: Charge -> R -> ChargeDistribution Source #
chargedSquarePlate :: Charge -> R -> ChargeDistribution Source #
chargedSphericalShell :: Charge -> R -> ChargeDistribution Source #
chargedCube :: Charge -> R -> ChargeDistribution Source #