"SemanticComplexNumber" (Interpreter Type)
Natural-language name of a complex number.
Details
- "SemanticComplexNumber" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "SemanticComplexNumber" requires connectivity to the Wolfram Cloud.
Allowed Forms
- The real and imaginary parts can be in the number formats allowed by "SemanticNumber".
Restriction Specifications
-
Restricted["SemanticComplexNumber",{{choice1,…}}] one among choices Restricted["SemanticComplexNumber",Automatic,n] a complex number with n-digit precision
Interpretation
- "SemanticComplexNumber" yields a Complex.
Examples
Basic Examples (4)
Interpreter["SemanticComplexNumber"][".5i"]Interpreter["SemanticComplexNumber"]["1+i"]Interpret complex numbers in natural language:
Interpreter["SemanticComplexNumber"]["two + i"]Interpreter["SemanticComplexNumber"]["minus i"]Interpreter["SemanticComplexNumber"]["sqrt -1"]Interpreter[Restricted["SemanticComplexNumber", Automatic, 3]]["1.23456 I + 4.56789"]Otherwise, $MachinePrecision is implied:
Interpreter["ComplexNumber"]["1.23456i"]//PrecisionRelated Guides
History
Introduced in 2014 (10.0)