packages feed

learn-physics-0.6.6: learn-physics.cabal

Name:                learn-physics
Version:             0.6.6
Synopsis:            Haskell code for learning physics
Description:         A library of functions for vector calculus,
                     calculation of electric field, electric flux,
                     magnetic field, and other quantities in classical mechanics,
                     electromagnetic theory, and quantum mechanics.
License:             BSD3
License-file:        LICENSE
Author:              Scott N. Walck
Maintainer:          Scott N. Walck <walck@lvc.edu>
Category:            Physics
Build-type:          Simple
Cabal-version:       >=1.10
Library
  Exposed-modules:     Physics.Learn
                       Physics.Learn.BeamStack
                       Physics.Learn.BlochSphere
                       Physics.Learn.CarrotVec
                       Physics.Learn.Charge
                       Physics.Learn.CommonVec
                       Physics.Learn.CompositeQuadrature
                       Physics.Learn.CoordinateFields
                       Physics.Learn.CoordinateSystem
                       Physics.Learn.Current
                       Physics.Learn.Curve
                       Physics.Learn.Ket
                       Physics.Learn.Mechanics
                       Physics.Learn.Position
                       Physics.Learn.QuantumMat
                       Physics.Learn.RootFinding
                       Physics.Learn.RungeKutta
                       Physics.Learn.Schrodinger1D
                       Physics.Learn.SimpleVec
                       Physics.Learn.StateSpace
                       Physics.Learn.Surface
                       Physics.Learn.Visual.GlossTools
                       Physics.Learn.Visual.PlotTools
                       Physics.Learn.Visual.VisTools
                       Physics.Learn.Volume
  Build-depends:       base >= 4.7 && < 5,
                       gloss >= 1.8 && < 1.14,
                       gnuplot >= 0.5 && < 0.6,
                       hmatrix >= 0.17 && < 0.21,
                       Vis >= 0.7.7 && < 0.8,
                       SpatialMath >= 0.2.7 && < 0.3,
                       vector-space >= 0.8.4 && < 0.17
  Hs-source-dirs:      src
  default-language: Haskell2010

Source-repository head
  type:                git
  location:            https://github.com/walck/learn-physics

Executable           learn-physics-PlaneWave
  Main-is:           examples/src/PlaneWave.hs
  Build-depends:     Vis >= 0.7.7 && < 0.8,
                     base >= 4.5 && < 5,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-eFieldLine3D
  Main-is:           examples/src/eFieldLine3D.hs
  Build-depends:     Vis >= 0.7.7 && < 0.8,
                     base >= 4.5 && < 5,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-LorentzForceSimulation
  Main-is:           examples/src/LorentzForceSimulation.hs
  Build-depends:     Vis >= 0.7.7 && < 0.8,
                     base >= 4.5 && < 5,
                     SpatialMath >= 0.2.7 && < 0.3,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-BCircularLoop
  Main-is:           examples/src/BCircularLoop.hs
  Build-depends:     Vis >= 0.7.7 && < 0.8,
                     base >= 4.5 && < 5,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-sunEarth
  Main-is:           examples/src/sunEarthRK4.hs
  Build-depends:     gloss >= 1.8 && < 1.14,
                     base >= 4.5 && < 5,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-eFieldLine2D
  Main-is:           examples/src/eFieldLine2D.hs
  Build-depends:     gloss >= 1.8 && < 1.14,
                     base >= 4.5 && < 5,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-Projectile
  Main-is:           examples/src/Projectile.hs
  Build-depends:     gnuplot >= 0.5 && < 0.6,
                     base >= 4.5 && < 5,
                     learn-physics
  default-language: Haskell2010

Executable           learn-physics-NMR
  Main-is:           examples/src/NMR.hs
  Build-depends:     base >= 4.5,
                     learn-physics
  default-language: Haskell2010