octarin 2017-02-24 22:45:26
with powers of φ ?
flxw 2017-02-24 22:45:35
yes
octarin 2017-02-24 22:46:29
but is exponentiation quicker than powering matrixes ?
flxw 2017-02-24 22:47:13
good question. :)
bollu 2017-02-24 22:47:26
octarin: it really depends
bollu 2017-02-24 22:47:59
flxw: exponentiation of phi will need you to use some symbolic method right, otherwise floating point errors?
bollu 2017-02-24 22:48:09
whereas with the matrix method, you have no such problems
octarin 2017-02-24 22:48:46
That's true
bollu 2017-02-24 22:48:46
flxw: correct me if I'm wrong here
octarin 2017-02-24 22:49:03
for very large numbers you would have to estimate the error for the exponential
bollu 2017-02-24 22:49:05
so I think matrices would be faster keeping correctness in mind
bollu 2017-02-24 22:49:12
yeah
flxw 2017-02-24 22:50:53
this is true. (I don't remember the error bound anymore, but it was pretty amazing how small it was)
bollu 2017-02-24 22:52:23
is there an arrow based FRP library?
bollu 2017-02-24 22:52:29
I've wanted to use both for a while now
flxw 2017-02-24 22:55:21
the wires library, no?
bollu 2017-02-24 22:55:21
is it?
bollu 2017-02-24 22:55:21
let me check
bollu 2017-02-24 22:55:44
uhh, Wire seems to be Monad, not Arrow
bollu 2017-02-24 22:55:45
https://hackage.haskell.org/package/wires-0.1.0/docs/Control-Wire-Core.html
bollu 2017-02-24 22:55:49
oh no
bollu 2017-02-24 22:55:52
there is Arrow, sorry
bollu 2017-02-24 22:56:18
wow the API is small
bollu 2017-02-24 22:56:19
this is cute
flxw 2017-02-24 22:57:01
arrows were the reason for me to stay away from it for another few months. :)
bollu 2017-02-24 23:01:57
flxw: what do you mean by that?
flxw 2017-02-24 23:04:12
I know nothing about arrows yet.
bollu 2017-02-24 23:04:37
ah, OK
flxw 2017-02-24 23:06:55
I am wrapping my head around FRP and lenses right now, so I thought I better keep arrows out of the picture for another while.
bollu 2017-02-24 23:09:51
flxw: heh, I'm trying to grok lenses as wel :P
bollu 2017-02-24 23:10:31
flxw: in fact, I had asked a reddit post about understanding lens internals. https://www.reddit.com/r/haskell/comments/5vb6x1/how_do_i_learn_lensinternals/?utm_content=title&utm_medium=user&utm_source=reddit&utm_name=frontpage
flxw 2017-02-24 23:22:34
haha, cool. I am not quite there yet, but once I am, I know where to continue. ;)