Difference between revisions of "ToComplex Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|vector-matrix}} |
− | {{command|vector-matrix}} | + | ;ToComplex( <Vector> ) |
− | ;ToComplex | ||
: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 | + | :{{example|1=<div><code><nowiki>ToComplex((3, 2))</nowiki></code> yields ''3 + 2ί''.</div>}} |
==CAS Syntax== | ==CAS Syntax== | ||
− | ;ToComplex | + | ;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 | + | :{{example|1=<div><code><nowiki>ToComplex((3, 2))</nowiki></code> yields ''3 + 2ί''.</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>}} |
Latest revision as of 19:16, 30 September 2017
- 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 3 + 2ί.
Note:
- The complex ί is obtained by pressing ALT + i.
- See also ToExponential Command, ToPoint Command and ToPolar Command.