jhypercomplex.numbers.clifford_algebras
Class PlaneAlgebra

java.lang.Object
  extended by jhypercomplex.numbers.Hypernumber
      extended by jhypercomplex.numbers.clifford_algebras.CliffordAlgebra
          extended by jhypercomplex.numbers.clifford_algebras.PlaneAlgebra
All Implemented Interfaces:
CommonMethods

public class PlaneAlgebra
extends CliffordAlgebra


Field Summary
 
Fields inherited from class jhypercomplex.numbers.clifford_algebras.CliffordAlgebra
dim, grade_nr
 
Fields inherited from class jhypercomplex.numbers.Hypernumber
ARG_NUM, CIRCULAR, COMP_NUM, components, HYPERBOLIC, ZERO_PRECISSION
 
Constructor Summary
PlaneAlgebra()
           
PlaneAlgebra(int p, int q)
           
PlaneAlgebra(PlaneAlgebra sta)
           
 
Method Summary
 PlaneAlgebra add(Hypernumber h)
           
static PlaneAlgebra getAntiCommutator(PlaneAlgebra sta1, PlaneAlgebra sta2)
           
static PlaneAlgebra getAssociator(PlaneAlgebra sta1, PlaneAlgebra sta2, PlaneAlgebra sta3)
           
 java.lang.String[] getBasis()
           
 Hypernumber getClone()
           
 PlaneAlgebra getClone(Hypernumber sta)
           
static PlaneAlgebra getCommutator(PlaneAlgebra sta1, PlaneAlgebra sta2)
           
 PlaneAlgebra getEvenGrade(PlaneAlgebra sta)
           
 PlaneAlgebra getGrade(int grade)
          Projects out a given grade.
 java.lang.String[][] getMultiplicationTable()
           
 PlaneAlgebra getNewInstance()
           
 int getNumberOfComponents()
           
 int getNumberOfGrades()
           
static PlaneAlgebra getProduct(PlaneAlgebra sta1, PlaneAlgebra sta2)
           
 PlaneAlgebra getReverted()
          Reverts a vector.
 int getType()
           
 java.lang.String[] getVectorComponents()
           
 PlaneAlgebra rightMultiplyWith(PlaneAlgebra sta)
           
 
Methods inherited from class jhypercomplex.numbers.clifford_algebras.CliffordAlgebra
compress, getBiVectorComponents, getBladeNumbers, getBlades, getGrades, getGradesOccuring, getMultTableAsHtml, order, rightMultiplyWith, setBasis, setBiVectorComponents, setBiVectorComponentsExclusively, setCliffordComponentsOfGrade, setVectorComponents, setVectorComponentsExclusively
 
Methods inherited from class jhypercomplex.numbers.Hypernumber
add, applyLeibnizRule, asString, asString, calculateBCHWith, collectTerms, compressComponents, conjugate, 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, multiplyWithScalar, negate, 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
 
Methods inherited from interface jhypercomplex.numbers.CommonMethods
isCayleyDicksonAlgebra
 

Constructor Detail

PlaneAlgebra

public PlaneAlgebra()

PlaneAlgebra

public PlaneAlgebra(int p,
                    int q)

PlaneAlgebra

public PlaneAlgebra(PlaneAlgebra sta)
Method Detail

getReverted

public PlaneAlgebra getReverted()
Reverts a vector. A reversion R obeys R(A*B) = R(A)*R(B). For the components it means that the grade 2 and grade 3 summans change their sign.

Parameters:
sta - Plane algebra to be inversted.
Returns:
Copy of Reverted multivector.

getGrade

public PlaneAlgebra getGrade(int grade)
Projects out a given grade.

Specified by:
getGrade in interface CommonMethods
Overrides:
getGrade in class CliffordAlgebra
Parameters:
grade - Grade.
Returns:
Spacetime algebra multivector of given grade.

add

public PlaneAlgebra add(Hypernumber h)
Overrides:
add in class Hypernumber

getEvenGrade

public PlaneAlgebra getEvenGrade(PlaneAlgebra sta)

getProduct

public static PlaneAlgebra getProduct(PlaneAlgebra sta1,
                                      PlaneAlgebra sta2)
                               throws java.lang.Exception
Throws:
java.lang.Exception

rightMultiplyWith

public PlaneAlgebra rightMultiplyWith(PlaneAlgebra sta)
                               throws java.lang.Exception
Throws:
java.lang.Exception

getCommutator

public static PlaneAlgebra getCommutator(PlaneAlgebra sta1,
                                         PlaneAlgebra sta2)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getAntiCommutator

public static PlaneAlgebra getAntiCommutator(PlaneAlgebra sta1,
                                             PlaneAlgebra sta2)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getAssociator

public static PlaneAlgebra getAssociator(PlaneAlgebra sta1,
                                         PlaneAlgebra sta2,
                                         PlaneAlgebra sta3)
                                  throws java.lang.Exception
Throws:
java.lang.Exception

getClone

public PlaneAlgebra getClone(Hypernumber sta)
Specified by:
getClone in class CliffordAlgebra

getVectorComponents

public java.lang.String[] getVectorComponents()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getNewInstance

public PlaneAlgebra getNewInstance()
Specified by:
getNewInstance in interface CommonMethods
Specified by:
getNewInstance in class CliffordAlgebra

getClone

public Hypernumber getClone()

getBasis

public java.lang.String[] getBasis()
Specified by:
getBasis in class Hypernumber

getMultiplicationTable

public java.lang.String[][] getMultiplicationTable()

getNumberOfComponents

public int getNumberOfComponents()

getType

public int getType()

getNumberOfGrades

public int getNumberOfGrades()
                      throws java.lang.Exception
Throws:
java.lang.Exception