jhypercomplex.numbers.cayley_dickson_algebras
Class Complex
java.lang.Object
jhypercomplex.numbers.Hypernumber
jhypercomplex.numbers.cayley_dickson_algebras.CayleyDicksonAlgebra
jhypercomplex.numbers.cayley_dickson_algebras.Complex
- All Implemented Interfaces:
- CommonMethods
public class Complex
- extends CayleyDicksonAlgebra
| Methods inherited from class jhypercomplex.numbers.Hypernumber |
add, add, applyLeibnizRule, asString, asString, calculateBCHWith, collectTerms, compressComponents, dual, getAlternator1, getAlternator2, getAntiAssociator, getAntiCommutator, getAntiCommutatorWith, getAssociationType, getAssociationType, getAssociationTypeAsString, getAssociationTypeAsString, getAssociationTypeCommutator, getAssociationTypeCommutator, getAssociationTypeCommutatorAsString, getAssociationTypeCommutatorAsString, getAssociator, getBasisElementsAsString, getCommuAssociator, getCommutator, getCommutator, getCommutatorJacobian, getCommutatorSaglian, getCommutatorWith, getCommutatorWith, getComponent, getComponents, getComponentsAsString, getComponentsAsString, getComponentsOfGrade, getConjugate, getDiagonalProducts, getDifference, getDual, getExpressionAsList, getFirstHetztelPeresian, getFormattedMultTable, getGradedInnerProduct, getHermitianConjugate, getImaginaryPart, getInstance, getIntersection, getJacobian, getJordanAssociator, getLeftCovariantDerivative, getMultiplicativeOrder, getMultiplicativeOrder, getMultTableDiagonal, getNegated, getNextBitmap, getNormedMultiplicationTable, getNormSquared, getNormSquaredAsValue, getNumberOfClosedElements, getNumberOfClosedPairs, getNumberOfComponents, getNumberOfNonzeroComponents, getNumericalInverse, getOuterProduct, getProduct, getProductWithScalar, getPseudoScalarComponent, getRandomClosedPair, getRandomNonClosedPair, getScalarComponent, getScalarProduct, getSecondHetztelPeresian, getSignature, getSubalgebras, getSubalgebrasAsString, getSubalgebrasSignatures, getSum, getTrace, getTraceRespDeterminant, getVectorDerivative, getVectorProduct, isAutomorphism, isClosedAlgebra, isCommutative, isComponentZero, isEqual, isLinearlyDependent, isNumerical, isNumericalityDetected, isOrthogonal, isOrthogonalTo, isZero, resetComponents, rightMultiplyWith, rightMultiplyWith, setBasis, setComponent, setComponents, setComponents, setNumerical, setNumerical, setPseudoScalarComponent, setRandomComponents, setRandomComponents, setRandomComponents, setRandomComponentsAll, setScalarComponent, simplifyNumericalFactors, simplifyNumericalSummands, simplifyPlusMinus, square, subtract |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Complex
public Complex()
Complex
public Complex(java.lang.String components)
throws java.lang.Exception
- Throws:
java.lang.Exception
Complex
public Complex(Complex c)
rightMultiplyWith
public Complex rightMultiplyWith(Complex c)
throws java.lang.Exception
- Throws:
java.lang.Exception
conjugate
public Complex conjugate()
throws java.lang.Exception
- Overrides:
conjugate in class Hypernumber
- Returns:
- The conjugate of the hypernumber, i.e. reverses the signs of
the imaginary hypercomplex components.
- Throws:
java.lang.Exception
add
public Complex add(Complex c)
multiplyWithScalar
public Complex multiplyWithScalar(java.lang.String scalar)
throws java.lang.Exception
- Description copied from class:
Hypernumber
- Multiplication with a scalar.
- Overrides:
multiplyWithScalar in class Hypernumber
- Parameters:
scalar - Scalar.
- Returns:
- Hypernumber multiplied with a scalar.
- Throws:
java.lang.Exception
negate
public Complex negate()
throws java.lang.Exception
- Description copied from class:
Hypernumber
- Negates the hypernumber: h --> -h.
- Overrides:
negate in class Hypernumber
- Returns:
- Negated hypernumber h.
- Throws:
java.lang.Exception
getAntiCommutatorWith
public Complex getAntiCommutatorWith(Complex c)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCommutatorWith
public Complex getCommutatorWith(Complex c)
throws java.lang.Exception
- Throws:
java.lang.Exception
getClone
public Complex getClone()
getNewInstance
public Hypernumber getNewInstance()
doCayleyDicksonProcess
public static void doCayleyDicksonProcess(java.lang.String[] signature,
java.lang.String[] vector_basis)
throws java.lang.Exception
- Throws:
java.lang.Exception
getProduct
public static Complex getProduct(Complex c1,
Complex c2)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNumberOfComponents
public int getNumberOfComponents()
getBasis
public java.lang.String[] getBasis()
- Specified by:
getBasis in class Hypernumber
getType
public int getType()
getMultiplicationTable
public static java.lang.String[][] getMultiplicationTable()
setMultiplicationTable
public static void setMultiplicationTable(java.lang.String[][] mult_table)
setDefaultTable
public static void setDefaultTable()
getMultTableAsHtml
public static java.lang.String getMultTableAsHtml()
getNormedMultiplicationTable
public static java.lang.String[][] getNormedMultiplicationTable()
getNormedMultiplicationtableAsHtml
public static java.lang.String getNormedMultiplicationtableAsHtml()
getNumberOfGrades
public int getNumberOfGrades()
getGrades
public static java.util.HashMap<java.lang.String,java.lang.Integer> getGrades()
- Returns:
- Array with the grades.
getGrade
public Complex getGrade(int grade)
throws java.lang.Exception
- Throws:
java.lang.Exception