Package org.meeuw.math.abstractalgebra
Interface VectorInterface<V extends VectorInterface<V,S>,S extends ScalarFieldElement<S>>
-
- All Superinterfaces:
Iterable<S>
,WithScalarOperations<V,S>
public interface VectorInterface<V extends VectorInterface<V,S>,S extends ScalarFieldElement<S>> extends Iterable<S>, WithScalarOperations<V,S>
- Since:
- 0.4
- Author:
- Michiel Meeuwissen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S
dot(V multiplier)
S
get(int i)
VectorSpaceInterface<S,V>
getSpace()
V
negation()
V
plus(V summand)
V
times(S multiplier)
Multiplies the current object with a scalar and returns a new instance-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface org.meeuw.math.abstractalgebra.WithScalarOperations
dividedBy
-
-
-
-
Method Detail
-
times
V times(S multiplier)
Description copied from interface:WithScalarOperations
Multiplies the current object with a scalar and returns a new instance- Specified by:
times
in interfaceWithScalarOperations<V extends VectorInterface<V,S>,S extends ScalarFieldElement<S>>
-
negation
V negation()
-
get
S get(int i) throws ArrayIndexOutOfBoundsException
- Throws:
ArrayIndexOutOfBoundsException
-
getSpace
VectorSpaceInterface<S,V> getSpace()
-
-