Perl 6 - the future is here, just unevenly distributed

IRC log for #pdl, 2013-07-31

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:18 lungching joined #pdl
01:22 lungching joined #pdl
01:57 Meiermann joined #pdl
08:52 Mithaldu sivoais: if that works it'd be pretty fucking cool, i'll give it a try :)
09:47 Mithaldu sivoais: damn, that does the same, but it's slower :/
10:14 Mithaldu so, my current fastest implementation of the above stuff is this: http://paste.scsys.co.uk/264520
10:14 Mithaldu now i wonder if it'd be worth it to look into adding those two quaternion math functions as C code to PDL
10:32 drrho joined #pdl
12:29 MeierM joined #pdl
13:22 mib_iifp8s joined #pdl
13:24 mib_jpfwri joined #pdl
14:42 run4flat joined #pdl
14:54 is joined #pdl
14:56 is left #pdl
14:56 is joined #pdl
17:51 sivoais Mithaldu: heh, this package says the same thing <https://metacpan.org/source/CHM/PDL-2.0​06/Graphics/TriD/TriD/Quaternion.pm#L5>
17:52 Mithaldu sivoais: yeah, the problem is i don't yet know how to do that :(
17:53 sivoais Hmm, learning PDL::PP has been on my TODO...
17:54 Mithaldu right now i implemented the math in C, because it's about 10 times faster
17:54 Mithaldu err
17:54 Mithaldu in Perl
17:54 Mithaldu and deferred the yak-shaving for later
17:55 sivoais working is better than perfect! ;-)
17:57 Mithaldu yup
17:57 Mithaldu also, thanks for confirming that PDL::PP is the way to go
21:40 chm joined #pdl
21:41 chm joined #pdl
21:43 chm mithaldu: You can get the cross product form from sivoasis from the product of a quaternion and a pure imaginary quaternion on the wikipedia page.
21:43 chm I haven't checked but even the "slower" PDL implementation should be capable of threading.
21:44 chm For processing a single quaternion product, what is killing your performance is the piddle creation time and function/method call overhead.
21:44 Mithaldu chm: i'm aware :)
21:45 chm PDL::PP is the way to go but for a quick function, I recommend using Inline::Pdlpp as that is much simpler to start with...
21:45 chm Good luck.  o/
21:45 Mithaldu alright, i'll be trying with that, thanks :)

| Channels | #pdl index | Today | | Search | Google Search | Plain-Text | summary