The th-cas package

[Tags:library, mit, test]

Compile-time CAS(Computer Algebra System)


[Skip to Readme]

Properties

Versions 0.1.0
Change log ChangeLog.md
Dependencies base (==4.*), 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 repository head: git clone https://github.com/junjihashimoto/th-cas
Uploaded Mon Nov 16 01:20:34 UTC 2015 by junjihashimoto
Distributions NixOS:0.1.0
Downloads 102 total (8 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2015-11-16 [all 2 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for th-cas

Readme for th-cas-0.1.0

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