|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjhypercomplex.numbers.Hypernumber
jhypercomplex.numbers.cayley_dickson_algebras.CayleyDicksonAlgebra
jhypercomplex.numbers.cayley_dickson_algebras.Octonion
public class Octonion
| Field Summary |
|---|
| Fields inherited from class jhypercomplex.numbers.cayley_dickson_algebras.CayleyDicksonAlgebra |
|---|
_2_N_ON, CLASSICAL, COMPLEX, OCTONION, QUATERNION, SEDENION, TRIGINTADUONION, TWISTED |
| Fields inherited from class jhypercomplex.numbers.Hypernumber |
|---|
ARG_NUM, CIRCULAR, COMP_NUM, components, HYPERBOLIC, ZERO_PRECISSION |
| Constructor Summary | |
|---|---|
Octonion()
|
|
Octonion(Octonion o)
|
|
Octonion(java.lang.String components)
|
|
| Method Summary | |
|---|---|
Octonion |
add(Hypernumber o)
|
Octonion |
calculateBCHWith(Octonion o,
int from_order,
int to_order)
|
Octonion |
conjugate()
|
static void |
doCayleyDicksonDoubling(java.lang.String signature)
|
static void |
doCayleyDicksonDoubling(java.lang.String signatures,
java.lang.String vector_basis)
|
static void |
doCayleyDicksonDoubling(java.lang.String signatures,
java.lang.String vector_basis,
int type)
|
static void |
doCayleyDicksonProcess(java.lang.String signature)
|
static java.lang.String |
getAlgebraType()
The normed multiplication table is compared with a multiplication table of i) a non-split octonion ii) a split octonion |
static Octonion |
getAntiAssociator(Hypernumber h1,
Hypernumber h2,
Hypernumber h3)
|
Octonion |
getAntiCommutatorWith(Hypernumber h)
Calculates the anti-commutator of the hypernumber h1 with another one h2 which is defined as: {h1, h2} = h1*h2 + h2*h1 |
static Octonion |
getAssociationType(int nr,
Octonion o1,
Octonion o2,
Octonion o3,
Octonion o4)
|
static Octonion |
getAssociationTypeCommutator(int nr,
Octonion o1,
Octonion o2,
Octonion o3,
Octonion o4)
|
static Octonion |
getAssociator(Octonion o1,
Octonion o2,
Octonion o3)
Calculates the associator of 3 octonions o1, o2, o3 which is defined as {o1, o2, o3} = (o1*o2)*o3 - o1*(o2*o3) The associator is non-trivial as the octonion algebra is non-associative. |
java.lang.String[] |
getBasis()
|
java.lang.String[] |
getBiVectorComponents()
|
static java.lang.String[][] |
getCayleyDicksonTable(java.lang.String[] signature,
int type)
|
static java.lang.String[][] |
getCayleyDicksonTable(java.lang.String[] signature,
java.lang.String[] vector_basis,
int type)
|
Octonion |
getClone()
|
static Octonion |
getCommutator(Octonion o1,
Octonion o2)
|
static Octonion |
getCommutatorJacobian(Octonion o1,
Octonion o2,
Octonion o3)
|
Octonion |
getCommutatorWith(Hypernumber o)
Analysis * |
static Octonion |
getDifference(Octonion o1,
Octonion o2)
|
static SevenPointsSTS |
getFanoPlane()
|
Octonion |
getGrade(int grade)
|
static java.util.TreeMap<java.lang.Integer,java.lang.Integer> |
getGrades()
|
java.lang.String |
getGradesOccuring()
|
static Octonion |
getJacobian(Octonion o1,
Octonion o2,
Octonion o3)
|
static MultiplicationTable |
getMultiplicationTable()
|
static java.lang.String[][] |
getMultiplicationTableAsArray()
|
java.lang.String[][] |
getMultTable()
|
static java.lang.String |
getMultTableAsHtml()
|
static Octonion |
getNegated(Octonion o)
|
Hypernumber |
getNewInstance()
|
static java.lang.String[][] |
getNormedMultiplicationTable()
|
static java.lang.String |
getNormedMultiplicationtableAsHtml()
|
int |
getNumberOfComponents()
|
int |
getNumberOfGrades()
|
static Octonion |
getNumericalInverse(Hypernumber h)
|
static Octonion |
getOuterProduct(Octonion o1,
Octonion o2)
|
static Octonion |
getProduct(Octonion o1,
Octonion o2)
|
static Octonion |
getProductWithScalar(Hypernumber h,
java.lang.String scalar)
|
static Octonion |
getScalarProduct(Octonion o1,
Octonion o2)
|
static java.util.HashSet<java.lang.String> |
getSubalgebras(int order)
|
static java.util.HashSet<int[]> |
getSubalgebrasUnsigned(int order)
|
static Octonion |
getSum(Octonion o1,
Octonion o2)
|
java.util.Collection<java.lang.String> |
getTriadSet(int nr)
|
java.lang.String[] |
getTriVectorComponents()
|
java.lang.String[] |
getVectorComponents()
|
static Octonion |
getVectorProduct(Octonion o1,
Octonion o2)
|
static boolean |
isSixthRootOfUnity(Octonion o)
|
static boolean |
isThirdRootOfUnity(Octonion o)
|
Octonion |
multiplyWithScalar(java.lang.String scalar)
Multiplication with a scalar. |
Octonion |
negate()
Arithmetics * |
Octonion |
rightMultiplyWith(Octonion o2)
|
void |
setBiVectorComponents(java.lang.String comps)
|
static void |
setDefaultTable()
|
static void |
setFanoPlane(int nr)
Sets a multiplication table based on one of the 30 Fano planes according to the definition in the octonion multiplication table class. |
static void |
setMultiplicationTable(MultiplicationTable mult_table)
|
static void |
setMultiplicationTable(java.lang.String[][] mult_table)
|
void |
setOctonionMultTable(OctonionMultiplicationTable mult_table)
|
void |
setTriVectorComponents(java.lang.String comps)
|
static void |
setType(int nr)
Sets the n-th multiplication table, according to the definition in the octonion multiplication table class. |
void |
setVectorComponents(java.lang.String comps)
Components * |
Octonion |
subtract(Hypernumber o)
Subtracts a hypernumber. |
| Methods inherited from class jhypercomplex.numbers.cayley_dickson_algebras.CayleyDicksonAlgebra |
|---|
getLoopMultiplicationTable, isCayleyDicksonAlgebra, isLoop |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Octonion()
public Octonion(java.lang.String components)
throws java.lang.Exception
java.lang.Exceptionpublic Octonion(Octonion o)
| Method Detail |
|---|
public Octonion getClone()
public Hypernumber getNewInstance()
public static void doCayleyDicksonDoubling(java.lang.String signatures,
java.lang.String vector_basis,
int type)
throws java.lang.Exception
java.lang.Exception
public static void doCayleyDicksonDoubling(java.lang.String signature)
throws java.lang.Exception
java.lang.Exception
public static void doCayleyDicksonDoubling(java.lang.String signatures,
java.lang.String vector_basis)
throws java.lang.Exception
java.lang.Exception
public static java.lang.String[][] getCayleyDicksonTable(java.lang.String[] signature,
java.lang.String[] vector_basis,
int type)
throws java.lang.Exception
java.lang.Exception
public static java.lang.String[][] getCayleyDicksonTable(java.lang.String[] signature,
int type)
throws java.lang.Exception
java.lang.Exception
public static void doCayleyDicksonProcess(java.lang.String signature)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String[] getBasis()
getBasis in class Hypernumberpublic static void setMultiplicationTable(java.lang.String[][] mult_table)
public static void setMultiplicationTable(MultiplicationTable mult_table)
public void setOctonionMultTable(OctonionMultiplicationTable mult_table)
public static java.lang.String[][] getMultiplicationTableAsArray()
public static MultiplicationTable getMultiplicationTable()
public static void setDefaultTable()
public static java.lang.String getMultTableAsHtml()
public static java.lang.String[][] getNormedMultiplicationTable()
public static java.lang.String getNormedMultiplicationtableAsHtml()
public java.lang.String[][] getMultTable()
public void setVectorComponents(java.lang.String comps)
throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getVectorComponents()
throws java.lang.Exception
java.lang.Exception
public void setBiVectorComponents(java.lang.String comps)
throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getBiVectorComponents()
throws java.lang.Exception
java.lang.Exception
public void setTriVectorComponents(java.lang.String comps)
throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getTriVectorComponents()
throws java.lang.Exception
java.lang.Exceptionpublic int getNumberOfComponents()
public Octonion negate()
throws java.lang.Exception
negate in class Hypernumberjava.lang.Exceptionpublic Octonion add(Hypernumber o)
add in class Hypernumber
public Octonion subtract(Hypernumber o)
throws java.lang.Exception
Hypernumber
subtract in class Hypernumbero - Hypernumber to be subtacted.
java.lang.Exception
public Octonion multiplyWithScalar(java.lang.String scalar)
throws java.lang.Exception
Hypernumber
multiplyWithScalar in class Hypernumberscalar - Scalar.
java.lang.Exception
public Octonion conjugate()
throws java.lang.Exception
conjugate in class Hypernumberjava.lang.Exception
public static Octonion getScalarProduct(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exception
public java.lang.String getGradesOccuring()
throws java.lang.Exception
java.lang.Exception
public Octonion rightMultiplyWith(Octonion o2)
throws java.lang.Exception
java.lang.Exception
public Octonion getCommutatorWith(Hypernumber o)
throws java.lang.Exception
Hypernumber
getCommutatorWith in class Hypernumberjava.lang.Exception
public static Octonion getSum(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exception
public static Octonion getDifference(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exception
public static Octonion getNegated(Octonion o)
throws java.lang.Exception
java.lang.Exception
public static Octonion getProductWithScalar(Hypernumber h,
java.lang.String scalar)
throws java.lang.Exception
java.lang.Exception
public static Octonion getProduct(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exception
public static Octonion getCommutator(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exception
public static boolean isThirdRootOfUnity(Octonion o)
throws java.lang.Exception
java.lang.Exception
public static boolean isSixthRootOfUnity(Octonion o)
throws java.lang.Exception
java.lang.Exception
public Octonion getAntiCommutatorWith(Hypernumber h)
throws java.lang.Exception
Hypernumber
getAntiCommutatorWith in class Hypernumberh - Second hypernumber.
java.lang.Exception
public static Octonion getCommutatorJacobian(Octonion o1,
Octonion o2,
Octonion o3)
throws java.lang.Exception
java.lang.Exception
public static Octonion getJacobian(Octonion o1,
Octonion o2,
Octonion o3)
throws java.lang.Exception
java.lang.Exception
public static java.lang.String getAlgebraType()
throws java.lang.Exception
java.lang.Exception
public static void setType(int nr)
throws java.lang.Exception
nr - Number of multiplication table in the range 1,...,480.
java.lang.Exception
public static void setFanoPlane(int nr)
throws java.lang.Exception
nr - Number of Fano plane in the range 1...30.
java.lang.Exception
public static Octonion getAssociator(Octonion o1,
Octonion o2,
Octonion o3)
throws java.lang.Exception
o1 - Octonion 1o2 - Octonion 2o3 - Octonion 3
java.lang.Exception
public static Octonion getAntiAssociator(Hypernumber h1,
Hypernumber h2,
Hypernumber h3)
throws java.lang.Exception
java.lang.Exception
public Octonion calculateBCHWith(Octonion o,
int from_order,
int to_order)
throws java.lang.Exception
java.lang.Exception
public static Octonion getVectorProduct(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exceptionpublic int getNumberOfGrades()
public Octonion getGrade(int grade)
throws java.lang.Exception
java.lang.Exception
public static Octonion getNumericalInverse(Hypernumber h)
throws java.lang.Exception
java.lang.Exception
public static Octonion getOuterProduct(Octonion o1,
Octonion o2)
throws java.lang.Exception
java.lang.Exception
public static Octonion getAssociationType(int nr,
Octonion o1,
Octonion o2,
Octonion o3,
Octonion o4)
throws java.lang.Exception
java.lang.Exception
public static Octonion getAssociationTypeCommutator(int nr,
Octonion o1,
Octonion o2,
Octonion o3,
Octonion o4)
throws java.lang.Exception
java.lang.Exception
public static SevenPointsSTS getFanoPlane()
throws java.lang.Exception
java.lang.Exception
public java.util.Collection<java.lang.String> getTriadSet(int nr)
throws java.lang.Exception
java.lang.Exception
public static java.util.TreeMap<java.lang.Integer,java.lang.Integer> getGrades()
throws java.lang.Exception
java.lang.Exception
public static java.util.HashSet<java.lang.String> getSubalgebras(int order)
throws java.lang.Exception
java.lang.Exception
public static java.util.HashSet<int[]> getSubalgebrasUnsigned(int order)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||