Conjugate()
An ACTIVE verb mutates this number and returns nothing; the PASSIVE ...ed form returns the [re, im] DATA and leaves it alone; the Q twin returns a new stzComplex so calls chain. The first version of this class had Conjugate() and Negated() both returning new objects from plain names, which breaks the rule that a plain method returns data and only a Q form returns a Softanza object.
The forms of this verb
Conjugate · Conjugated
Basic examples (1)
oZ = new stzComplex(3, 4) aC = oZ.Conjugated() # Conjugated() returns a [re, im] pair ? isList(aC) # ...with the imaginary part negated ? aC[2] # ...and the original is UNCHANGED ? oZ.ImaginaryPart() # ConjugatedQ() returns something chainable ? oZ.ConjugatedQ().Content() # ...and STILL did not change the original ? oZ.ImaginaryPart() # Conjugate() returns nothing ? isNull(oZ.Conjugate()) # ...and it DID change the original ? oZ.ImaginaryPart() oA = new stzComplex(1, 2) # Plus() returns data ? isList(oA.Plus([3,4])) # ...the right data ? @@(oA.Plus([3,4])) # PlusQ() returns a chainable object ? oA.PlusQ([3,4]).Content() # TimesQ() chains as well ? oA.TimesQ(2).Content() # DividedBy() returns data too ? isList(oA.DividedBy(2))
1 -4 4 3-4i 4 1 -4 1 [ 4, 6 ] 4+6i 2+4i 1
run on 2026-10-02 04:23 inside the library at commit 0e72e2e2c; taken from numeric_eigenvectors_narrated.ring(opens in a new tab)
The extensions of this method
Each extension, and whether it exists for this method; an extension that exists combines with the others (FindSTCS).
Every example is a test file of the library, run inside the library for this page; only those whose output kept every promise their file wrote are shown.
See also
- The class stzComplex
- The area's reference: Numeric & optimization
- The other methods in these examples: stzComplex.Conjugated · stzComplex.DividedBy · stzComplex.ImaginaryPart · stzComplex.Plus · stzComplex.Times

