Difference between revisions of "ToComplex Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.2}}</noinclude> | + | <noinclude>{{Manual Page|version=4.2}}</noinclude> |
{{command|vector-matrix}} | {{command|vector-matrix}} | ||
;ToComplex[ <Vector> ] | ;ToComplex[ <Vector> ] | ||
:Transforms a vector or point to a complex number in algebraic form. | :Transforms a vector or point to a complex number in algebraic form. | ||
:{{example|1=<div><code><nowiki>ToComplex[(3, 2)]</nowiki></code> yields ''3 + 2ί''.</div>}} | :{{example|1=<div><code><nowiki>ToComplex[(3, 2)]</nowiki></code> yields ''3 + 2ί''.</div>}} | ||
+ | |||
==CAS Syntax== | ==CAS Syntax== | ||
;ToComplex[ <Vector> ] | ;ToComplex[ <Vector> ] | ||
:Transforms a vector or point to a complex number in algebraic form. | :Transforms a vector or point to a complex number in algebraic form. | ||
:{{example|1=<div><code><nowiki>ToComplex[(3, 2)]</nowiki></code> yields ''2ί+3''.</div>}} | :{{example|1=<div><code><nowiki>ToComplex[(3, 2)]</nowiki></code> yields ''2ί+3''.</div>}} | ||
+ | |||
{{note| 1=<div> | {{note| 1=<div> | ||
* The complex ί is obtained by pressing {{KeyCode| ALT + i}}. | * The complex ί is obtained by pressing {{KeyCode| ALT + i}}. | ||
* See also [[ToExponential Command]], [[ToPoint Command]] and [[ToPolar Command]].</div>}} | * See also [[ToExponential Command]], [[ToPoint Command]] and [[ToPolar Command]].</div>}} |
Revision as of 11:18, 21 December 2012
- ToComplex[ <Vector> ]
- Transforms a vector or point to a complex number in algebraic form.
- Example:
ToComplex[(3, 2)]
yields 3 + 2ί.
CAS Syntax
- ToComplex[ <Vector> ]
- Transforms a vector or point to a complex number in algebraic form.
- Example:
ToComplex[(3, 2)]
yields 2ί+3.
Note:
- The complex ί is obtained by pressing ALT + i.
- See also ToExponential Command, ToPoint Command and ToPolar Command.