"ComputedComplexNumber" (Interpreter Type)
A complex number derived by computation.
Details
- "ComputedComplexNumber" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "ComputedComplexNumber" requires connectivity to the Wolfram Cloud.
Allowed Forms
- All the forms allowed by "SemanticComplexNumber", or any computation yielding a complex number.
Restriction Specifications
-
Restricted["ComputedComplexNumber",{{choice1,…}}] one among choices Restricted["ComputedComplexNumber",Automatic,n] a complex number with n-digit precision
Interpretation
- "ComputedComplexNumber" yields a Complex or an expression that reduces to a Complex via N.
Examples
Basic Examples (3)
Interpreter["ComputedComplexNumber"]["2i+1"]Interpreter["ComputedComplexNumber"]["-2i+10^3"]Interpret complex numbers derived by computation:
Interpreter["ComputedComplexNumber"]["sqrt -2"]Interpreter["ComputedComplexNumber"]["exp(2/3 pi i)"]Interpreter[Restricted["ComputedComplexNumber", Automatic, 3]]["1.23456 I + 4.56789"]Otherwise, $MachinePrecision is implied:
Interpreter["ComputedComplexNumber"]["1.23456i"]//PrecisionRelated Guides
History
Introduced in 2014 (10.0)