jhypercomplex.matrices
Class Vector

java.lang.Object
  extended by jhypercomplex.numbers.Hypernumber
      extended by jhypercomplex.matrices.Vector
All Implemented Interfaces:
CommonMethods

public class Vector
extends Hypernumber


Field Summary
 
Fields inherited from class jhypercomplex.numbers.Hypernumber
ARG_NUM, CIRCULAR, COMP_NUM, components, HYPERBOLIC, ZERO_PRECISSION
 
Constructor Summary
Vector()
           
Vector(java.lang.String components)
           
Vector(Vector c)
           
 
Method Summary
 Vector add(Vector v)
           
 java.lang.String[] getBasis()
           
 Vector getClone()
           
 Hypernumber getNewInstance()
           
 int getNumberOfComponents()
           
static Vector getProduct(Vector v1, Vector v2)
           
 int getType()
           
 Vector multiplyWithScalar(java.lang.String scalar)
          Multiplication with a scalar.
 Vector negate()
          Negates the hypernumber: h --> -h.
 Vector rightMultiplyWith(Vector c)
           
 
Methods inherited from class jhypercomplex.numbers.Hypernumber
add, 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, 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
getGrade, getNumberOfGrades, isCayleyDicksonAlgebra
 

Constructor Detail

Vector

public Vector()

Vector

public Vector(java.lang.String components)
       throws java.lang.Exception
Throws:
java.lang.Exception

Vector

public Vector(Vector c)
Method Detail

rightMultiplyWith

public Vector rightMultiplyWith(Vector c)
                         throws java.lang.Exception
Throws:
java.lang.Exception

add

public Vector add(Vector v)

multiplyWithScalar

public Vector 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 Vector 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

getClone

public Vector getClone()

getNewInstance

public Hypernumber getNewInstance()

getProduct

public static Vector getProduct(Vector v1,
                                Vector v2)
                         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()