| Copyright | (c) Nils Alex 2020 |
|---|---|
| License | MIT |
| Maintainer | nils.alex@fau.de |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Math.Tensor.LinearAlgebra.Scalar
Description
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.
Constructors
| 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\)