th-cas: Compile-time CAS(Computer Algebra System)

[ library, math, mit, numeric ] [ Propose Tags ]

Compile-time CAS(Computer Algebra System)

[Skip to Readme]
Versions [RSS] [faq] 0.1.0
Change log
Dependencies base (==4.*), template-haskell [details]
License MIT
Author Junji Hashimoto
Category Math, Numeric
Home page https://github/junjihashimoto/th-cas
Bug tracker
Source repo head: git clone
Uploaded by junjihashimoto at 2015-11-16T01:20:34Z
Distributions NixOS:0.1.0
Downloads 746 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-11-16 [all 2 reports]




Maintainer's Corner

For package maintainers and hackage trustees


Readme for th-cas-0.1.0

[back to package description]

th-cas : Compile-time CAS(Computer Algebra System)

Hackage version Build Status

CAS(Computer Algebra System) operations like diff are done at compile-time. (integrate-function is under development.)


Write diff function var with Quotes of TemplateHaskell. diff makes a diffirential of the function at compile-time. So there is no overhead at execution-time.

A example is below.

import Algebra.CAS.TH

myfunc x = $(diff [|x*x+2*x+1|] [|x|])