org.matheclipse.core.interfaces
Interface IComplex
-
- All Superinterfaces:
- AbelianGroupElem<IExpr>, java.lang.Comparable<IExpr>, Element<IExpr>, IBigNumber, IExpr, INumber, MonoidElem<IExpr>, RingElem<IExpr>, java.io.Serializable
- All Known Implementing Classes:
- ComplexSym
public interface IComplex extends IBigNumber
An expression representing a complex number
-
-
Field Summary
-
Fields inherited from interface org.matheclipse.core.interfaces.IExpr
ASTID, COMPLEXID, DOUBLECOMPLEXID, DOUBLEID, FRACTIONID, INTEGERID, METHODSYMBOLID, PATTERNID, STRINGID, SYMBOLID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IComplexadd(IComplex val)IComplexconjugate()BigFractiongetImaginaryPart()Returns the imaginary part of a complex numberBigFractiongetRealPart()Returns the real part of a complex numberIComplexmultiply(IComplex val)INumbernormalize()Return the normalized form of this number (i.e.IComplexpow(int parm1)-
Methods inherited from interface org.matheclipse.core.interfaces.IBigNumber
numericNumber
-
Methods inherited from interface org.matheclipse.core.interfaces.INumber
complexSign, eabs, equalsInt, getIm, getRe, opposite
-
Methods inherited from interface org.matheclipse.core.interfaces.IExpr
accept, accept, accept, and, apply, apply, asType, compareTo, evaluate, fullFormString, getAt, head, hierarchy, internalFormString, inverse, isAnd, isArcCos, isArcCosh, isArcSin, isArcSinh, isArcTan, isArcTanh, isAST, isAST, isAST, isAST, isAST, isAST, isASTSizeGE, isAtom, isComplex, isComplexInfinity, isComplexNumeric, isCondition, isConstant, isCos, isCosh, isDirectedInfinity, isFalse, isFlatAST, isFraction, isFree, isFree, isFunction, isGEOrdered, isGTOrdered, isInfinity, isInteger, isLEOrdered, isList, isListOfLists, isLog, isLTOrdered, isMatrix, isMember, isMember, isMinusOne, isModule, isNegative, isNegativeInfinity, isNot, isNumber, isNumEqualInteger, isNumeric, isNumericFunction, isNumIntValue, isOne, isOr, isOrderlessAST, isPattern, isPatternExpr, isPatternSequence, isPlus, isPositive, isPower, isRational, isRealFunction, isRuleAST, isSame, isSame, isSequence, isSignedNumber, isSin, isSinh, isSlot, isSlotSequence, isSymbol, isTan, isTanh, isTimes, isTrue, isValue, isVector, isZero, leaves, minus, mod, multiply, negative, or, plus, power, power, replaceAll, replaceAll, replacePart, replaceRepeated, replaceRepeated, replaceSlots, signum, times, topHead, variables2Slots
-
Methods inherited from interface edu.jas.structure.AbelianGroupElem
abs, isZERO, negate, subtract, sum
-
Methods inherited from interface edu.jas.structure.MonoidElem
divide, isONE, isUnit, remainder
-
-
-
-
Method Detail
-
conjugate
IComplex conjugate()
-
getImaginaryPart
BigFraction getImaginaryPart()
Returns the imaginary part of a complex number- Returns:
- imaginary part
-
getRealPart
BigFraction getRealPart()
Returns the real part of a complex number- Returns:
- real part
-
pow
IComplex pow(int parm1)
-
normalize
INumber normalize()
Return the normalized form of this number (i.e. if the imaginary part equals zero, return the real part as a fractional or integer number).- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG