| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
QLinear.Constructor.Operator
Synopsis
Documentation
operator :: QuasiQuoter Source #
Macro constructor for operator
>>>[operator| (x, y) => (y, x) |][0,1] [1,0]>>>[operator| (x, y) => (2 * x, y + x) |] ~*~ [vector| 3 4 |][6] [7]
Do note,constructor doesn't prove linearity. It just builds matrix of given operator.