Talk:Geometric algebra: Difference between revisions

Content added Content deleted
Line 156: Line 156:
--[[User:G.Brougnard|G.Brougnard]] ([[User talk:G.Brougnard|talk]]) 10:04, 19 October 2015 (UTC)
--[[User:G.Brougnard|G.Brougnard]] ([[User talk:G.Brougnard|talk]]) 10:04, 19 October 2015 (UTC)


:In this Wikipedia the indices begin with 1, as is often the case for the notation of basis in linear algebra. However, in computing it's more traditional to begin array indices with 0. Thus a basis <math>(\mathbf{e}_1, \mathbf{e}_2,\ldots)</math> is often implemented as <tt>e(0), e(1), e(2)</tt> etc. It's not an inconsistency between this particular article and task, it's more a slight notation difference between mathematics and computing.
:In this Wikipedia article the indices begin with 1, as is often the case for the notation of basis in linear algebra. However, in computing it's more traditional to begin array indices with 0, for consistency with the C programming language, I suppose. Thus a basis <math>(\mathbf{e}_1, \mathbf{e}_2,\ldots)</math> is often implemented as <tt>e(0), e(1), e(2)</tt> etc. It's not an inconsistency between this particular article and task, it's more a slight notation difference between mathematics and computing.
:So I disagree that we should reserve the 0 index to the scalar part. To me a scalar should be a regular scalar somehow "promoted" to the status of a multivector. In my library I offered a way to create it with a call to <tt>e</tt> with no argument : <tt>e()</tt>
:So I disagree that we should reserve the 0 index to the scalar part. To me a scalar should be a regular scalar somehow "promoted" to the status of a multivector. In my library I offered a way to create it with a call to <tt>e</tt> with no argument : <tt>e()</tt>
:--[[User:Grondilu|Grondilu]] ([[User talk:Grondilu|talk]]) 15:41, 19 October 2015 (UTC)
:--[[User:Grondilu|Grondilu]] ([[User talk:Grondilu|talk]]) 15:41, 19 October 2015 (UTC)