Talk:Quaternion type: Difference between revisions
Content added Content deleted
(→Imaginary parts (plural): Julia outdated w.r.t. imag?) |
m (→=Julia outdated w.r.t. imag?: Whoops.) |
||
Line 126: | Line 126: | ||
: Julia code on site (well one source), is fixed. |
: Julia code on site (well one source), is fixed. |
||
===Julia outdated w.r.t. imag?== |
===Julia outdated w.r.t. imag?=== |
||
Look at [https://github.com/andrioni/Quaternions.jl this link] to see a version from the Julia site that has fixed imag to be: |
Look at [https://github.com/andrioni/Quaternions.jl this link] to see a version from the Julia site that has fixed imag to be: |
||
:<code>imag{T}(z::Quaternion{T}) = Quaternion(zero(T), z.q1, z.q2, z.q3)</code> |
:<code>imag{T}(z::Quaternion{T}) = Quaternion(zero(T), z.q1, z.q2, z.q3)</code> |