Liste des Groupes | Revenir à s math |
On 1/20/2025 11:33 AM, Moebius wrote:
Same in math. Even though we may use the same symbol, say "*", it denotes two different operations (in this case).Complex numbers can be defined as (ordered) pairs of real numbers.Indeed. 0+1i = (0, 1)
>
Then we may define (in this context):
>
i := (0, 1) .
In some of my vector code I allow for traditional 2-ary vector multiplication and complex multiplication.
A complex number can be a simple 2-ary vector.Exactly.
[...] Multiplying two 2-ary vectors together is different than multiply two complex number together,Right. It's the context that "decides" here; at least in math.
however they can both be stored in the same vector representation.Right. In math we call such an object an ordered pair (or 2-tuple).
z = 2 + 8i = (2, 8)
Where 2 = Re(z), and 8 = Im(z)
Les messages affichés proviennent d'usenet.