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

[ library, math, mit, numeric ] [ Propose Tags ] [ Report a vulnerability ]

Compile-time CAS(Computer Algebra System)


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0
Change log ChangeLog.md
Dependencies base (>=4 && <5), template-haskell [details]
License MIT
Author Junji Hashimoto
Maintainer junji.hashimoto@gmail.com
Category Math, Numeric
Home page https://github/junjihashimoto/th-cas
Bug tracker https://github.com/junjihashimoto/th-cas/issues
Source repo head: git clone https://github.com/junjihashimoto/th-cas
Uploaded by junjihashimoto at 2015-11-16T01:20:34Z
Distributions NixOS:0.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 968 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-11-16 [all 2 reports]

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.)

Usage

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|])