|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.vector.GenVector<C>
public class GenVector<C extends RingElem<C>>
GenVector implements generic vectors with RingElem entries. Vectors of n columns over C.
Field Summary | |
---|---|
GenVectorModul<C> |
modul
|
java.util.List<C> |
val
|
Constructor Summary | |
---|---|
GenVector(GenVectorModul<C> m)
Constructor for GenVector. |
|
GenVector(GenVectorModul<C> m,
java.util.List<C> v)
Constructor for GenVector. |
Method Summary | |
---|---|
GenVector<C> |
abs()
Absolute value of this vector. |
GenVector<C> |
clone()
clone method. |
int |
compareTo(GenVector<C> b)
compareTo, lexicogaphical comparison. |
boolean |
equals(java.lang.Object other)
equals method. |
GenVectorModul<C> |
factory()
Get the corresponding element factory. |
int |
hashCode()
Hash code for this GenVector. |
boolean |
isZERO()
test if this is equal to a zero vector. |
GenVector<C> |
leftLinearCombination(C s,
C t,
GenVector<C> b)
left linear compination of this vector with scalar multiple of other vector. |
GenVector<C> |
leftScalarMultiply(C s)
Left product of this vector with scalar. |
GenVector<C> |
linearCombination(C t,
GenVector<C> b)
Left linear compination of this vector with scalar multiple of other vector. |
GenVector<C> |
linearCombination(C s,
GenVector<C> b,
C t)
Linear compination of this vector with scalar multiple of other vector. |
GenVector<C> |
linearCombination(GenVector<C> b,
C t)
Linear compination of this vector with scalar multiple of other vector. |
GenVector<C> |
negate()
Negative of this vector. |
GenVector<C> |
rightScalarProduct(java.util.List<GenVector<C>> B)
right scalar / dot product of this vector with list of other vectors. |
GenVector<C> |
scalarMultiply(C s)
Product of this vector with scalar. |
C |
scalarProduct(GenVector<C> b)
scalar / dot product of this vector with other vector. |
GenVector<C> |
scalarProduct(java.util.List<GenVector<C>> B)
scalar / dot product of this vector with list of other vectors. |
int |
signum()
sign of vector. |
GenVector<C> |
subtract(GenVector<C> b)
Difference of vectors. |
GenVector<C> |
sum(GenVector<C> b)
Sum of vectors. |
java.lang.String |
toScript()
Get a scripting compatible string representation. |
java.lang.String |
toScriptFactory()
Get a scripting compatible string representation of the factory. |
java.lang.String |
toString()
Get the String representation as RingElem. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final GenVectorModul<C extends RingElem<C>> modul
public final java.util.List<C extends RingElem<C>> val
Constructor Detail |
---|
public GenVector(GenVectorModul<C> m)
public GenVector(GenVectorModul<C> m, java.util.List<C> v)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String toScript()
toScript
in interface Element<GenVector<C extends RingElem<C>>>
Element.toScript()
public java.lang.String toScriptFactory()
toScriptFactory
in interface Element<GenVector<C extends RingElem<C>>>
Element.toScriptFactory()
public GenVectorModul<C> factory()
factory
in interface Element<GenVector<C extends RingElem<C>>>
Element.factory()
public GenVector<C> clone()
clone
in class java.lang.Object
Object.clone()
public boolean isZERO()
isZERO
in interface AbelianGroupElem<GenVector<C extends RingElem<C>>>
public boolean equals(java.lang.Object other)
equals
in interface Element<GenVector<C extends RingElem<C>>>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface Element<GenVector<C extends RingElem<C>>>
hashCode
in class java.lang.Object
Object.hashCode()
public int compareTo(GenVector<C> b)
compareTo
in interface Element<GenVector<C extends RingElem<C>>>
compareTo
in interface java.lang.Comparable<GenVector<C extends RingElem<C>>>
b
- other
public int signum()
signum
in interface AbelianGroupElem<GenVector<C extends RingElem<C>>>
public GenVector<C> sum(GenVector<C> b)
sum
in interface AbelianGroupElem<GenVector<C extends RingElem<C>>>
public GenVector<C> subtract(GenVector<C> b)
subtract
in interface AbelianGroupElem<GenVector<C extends RingElem<C>>>
public GenVector<C> negate()
negate
in interface AbelianGroupElem<GenVector<C extends RingElem<C>>>
public GenVector<C> abs()
abs
in interface AbelianGroupElem<GenVector<C extends RingElem<C>>>
public GenVector<C> scalarMultiply(C s)
scalarMultiply
in interface ModulElem<GenVector<C extends RingElem<C>>,C extends RingElem<C>>
s
- scalar
public GenVector<C> leftScalarMultiply(C s)
public GenVector<C> linearCombination(C s, GenVector<C> b, C t)
linearCombination
in interface ModulElem<GenVector<C extends RingElem<C>>,C extends RingElem<C>>
s
- scalarb
- module elementt
- scalar
public GenVector<C> linearCombination(GenVector<C> b, C t)
linearCombination
in interface ModulElem<GenVector<C extends RingElem<C>>,C extends RingElem<C>>
b
- module elementt
- scalar
public GenVector<C> linearCombination(C t, GenVector<C> b)
public GenVector<C> leftLinearCombination(C s, C t, GenVector<C> b)
public C scalarProduct(GenVector<C> b)
scalarProduct
in interface ModulElem<GenVector<C extends RingElem<C>>,C extends RingElem<C>>
b
- module element
public GenVector<C> scalarProduct(java.util.List<GenVector<C>> B)
scalarProduct
in interface ModulElem<GenVector<C extends RingElem<C>>,C extends RingElem<C>>
B
- list of module elements
public GenVector<C> rightScalarProduct(java.util.List<GenVector<C>> B)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |