Talk:Quaternion type: Difference between revisions

Formula for norm of quaternion made invisible by under-tested cosmetic edit at 20:52, 6 July 2016
(Formula for norm of quaternion made invisible by under-tested cosmetic edit at 20:52, 6 July 2016)
 
(8 intermediate revisions by 2 users not shown)
Line 118:
: First, the Julia entry plainly states that the code is part of the Julia library. It is helpful to see the code as a whole -- that's what this website is all about! Second, as rdm pointed out, since the library (taken as a whole) can be used to solve the assigned problems completely and accurately, it seems unnecessary and unwise to flag irrelevant details about naming as needing attention, letting alone claiming they are "incorrect". Third, the bit that offends you makes no claim that "imag(.)" returns all the imaginary parts -- indeed that would probably not even be desirable.
 
: You might say that since the Julia library that provides real(_), it ought to provide accessor functions for each of the imaginary components, but that should perhaps be the subject of discussion between you and the good people at Julia. I've checked the most recent Julia library, and the same accessor functions ("real" and "imag") are still defined there. The choice of the name "imag" for the "i" component has four letters, just like "real", and is really unobjectionable. [[User:Peak|Peak]] ([[User talk:Peak|talk]]) 19:28, 10 August 2014 (UTC)
 
Hi Peak, imag looks like it was probably forgotten from extending imaginary numbers to their implementation for quaternions. It jq is based on the Julia entry, could you state its use? Maybe there is no use for this in Julia either? --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 19:52, 10 August 2014 (UTC)
 
It seemed straight -forward to involve the [https://github.com/JuliaLang/julia/issues/7945 Julia library writers]. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 20:08, 10 August 2014 (UTC)
: Moved to [https://github.com/andrioni/Quaternions.jl/issues/4 here]. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 20:26, 10 August 2014 (UTC)
: Julia code on site (well one source), is fixed.
 
===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:
:<code>imag{T}(z::Quaternion{T}) = Quaternion(zero(T), z.q1, z.q2, z.q3)</code>
If jq was a copy ...
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:16, 11 August 2014 (UTC)
 
==Formula hidden to most browsers by under-tested cosmetic edits at 20:52, 6 July 2016 ==
 
Under-tested cosmetic edits made to the task page at 20:52, 6 July 2016, including the injection of spaces around expressions in &lt;math&gt; tags, have left the formula for the '''norm of a quaternion''' completely invisible to all browsers which display the graphic file version of formulae rather than processing the MathML (this is, in fact, the majority of browsers). The MediaWiki processor does not currently expect such spaces, and generates syntactically ill-formed HTML if they are introduced. Other aspects of this cosmetic edits may further compound the problem. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 21:41, 22 September 2016 (UTC)
9,655

edits