Copyright | (c) Nils Alex 2020 |
---|---|
License | MIT |
Maintainer | nils.alex@fau.de |
Safe Haskell | Safe |
Language | Haskell2010 |
Scalar types for usage as Tensor values.
Documentation
Linear combination represented as mapping from variable number to prefactor.
Polynomial: Can be constant, affine, or something of higher rank which is not yet implemented.
Const !a | constant value |
Affine !a !(Lin a) | constant value plus linear term |
NotSupported | higher rank |
Produces an affine value \(c + a\cdot x_i\)