Package edu.jas.structure
Interface AlgebraElem<A extends AlgebraElem<A,C>,C extends RingElem<C>>
-
- Type Parameters:
A- algebra typeC- scalar type
- All Superinterfaces:
AbelianGroupElem<A>,java.lang.Comparable<A>,Element<A>,MonoidElem<A>,RingElem<A>,java.io.Serializable
- All Known Implementing Classes:
GenMatrix
public interface AlgebraElem<A extends AlgebraElem<A,C>,C extends RingElem<C>> extends RingElem<A>
Algabra element interface.- Author:
- Heinz Kredel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlinearCombination(A b, C s)Linear combination.AlinearCombination(C a, A b, C s)Linear combination.AscalarMultiply(C s)Scalar multiplication.-
Methods inherited from interface edu.jas.structure.AbelianGroupElem
abs, isZERO, negate, signum, subtract, sum
-
Methods inherited from interface edu.jas.structure.Element
compareTo, copy, equals, factory, hashCode, toScript, toScriptFactory
-
Methods inherited from interface edu.jas.structure.MonoidElem
divide, inverse, isONE, isUnit, leftDivide, leftRemainder, multiply, power, quotientRemainder, remainder, rightDivide, rightRemainder, twosidedDivide, twosidedRemainder
-
-
-
-
Method Detail
-
scalarMultiply
A scalarMultiply(C s)
Scalar multiplication. Multiply this by a scalar.- Parameters:
s- scalar- Returns:
- this * s.
-
linearCombination
A linearCombination(C a, A b, C s)
Linear combination.- Parameters:
a- scalarb- algebra elements- scalar- Returns:
- a * b + this * s.
-
linearCombination
A linearCombination(A b, C s)
Linear combination.- Parameters:
b- algebra elements- scalar- Returns:
- b + this * s.
-
-