Copyright | Copyright 2025 Yoo Chung |
---|---|
License | Apache-2.0 |
Maintainer | dev@chungyc.org |
Safe Haskell | None |
Language | GHC2021 |
Synopsis
- type IndexedPolynomial = IndexedPolynomialWith Rational
- type IndexedSymbolicPolynomial = IndexedPolynomialWith Expression
- type IndexedPolynomialWith a = P Int a
Documentation
type IndexedPolynomial = IndexedPolynomialWith Rational Source #
Polynomial representation which maps the power of each term to its coefficient.
Exponents are represented with Int
, while coefficients are represented with Rational
.
It is an instance of the Polynomial
type class.
type IndexedSymbolicPolynomial = IndexedPolynomialWith Expression Source #
Polynomial representation which maps the power of each term to its coefficient.
Exponents are represented with Int
, while coefficients are represented with Expression
.
It is an instance of the Polynomial
type class.
type IndexedPolynomialWith a = P Int a Source #
Polynomial representation which maps the power of each term to its coefficient.
Exponents are represented with Int
. Coefficients have a type as specified by the type parameter.
These types are an instance of the Polynomial
type class.