org.matheclipse.core.interfaces
Interface IComplexNum
-
- All Superinterfaces:
- AbelianGroupElem<IExpr>, java.lang.Comparable<IExpr>, Element<IExpr>, IExpr, INumber, MonoidElem<IExpr>, RingElem<IExpr>, java.io.Serializable
- All Known Implementing Classes:
- ComplexNum
public interface IComplexNum extends INumber
-
-
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 IComplexNumadd(IComplexNum val)IComplexNumconjugate()doubledabs()Return the absolute value of this complex number.doublegetImaginaryPart()doublegetRealPart()IComplexNummultiply(IComplexNum val)IComplexNumpow(IComplexNum val)-
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
-
dabs
double dabs()
Return the absolute value of this complex number.Returns
NaNif either real or imaginary part isNaNandDouble.POSITIVE_INFINITYif neither part isNaN, but at least one part takes an infinite value.- Returns:
- the absolute value
-
getRealPart
double getRealPart()
-
getImaginaryPart
double getImaginaryPart()
-
conjugate
IComplexNum conjugate()
-
add
IComplexNum add(IComplexNum val)
-
multiply
IComplexNum multiply(IComplexNum val)
-
pow
IComplexNum pow(IComplexNum val)
-
-
DMelt 3.0 © DataMelt by jWork.ORG