Package org.core.vector
Class Vector<N extends Number,VSelf extends Vector<N,?>>
java.lang.Object
org.core.vector.Vector<N,VSelf>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract VSelf
createNew(BigDecimal... values)
divide(BigDecimal amount, RoundingMode mode)
divide(VSelf vector, RoundingMode mode)
boolean
getPoint(int index)
int
getRawPoint(int index)
int
hashCode()
multiply(BigDecimal amount)
toString()
toVector(Function<BigDecimal,Num> function)
toVector(Function<BigDecimal,Num> function, VectorConverter converter)
toVector(VectorConverter.Specific<Num,C> converter)
-
Field Details
-
points
-
toNumber
-
-
Constructor Details
-
Vector
-
-
Method Details
-
createNew
-
toVector
-
plus
-
minus
-
divide
-
divide
-
multiply
-
multiply
-
multiply
-
toVector
public <Num extends Number, C extends Vector<Num, ?>> C toVector(VectorConverter.Specific<Num,C> converter) -
toVector
public <Num extends Number, C extends Vector<Num, ?>> C toVector(Function<BigDecimal,Num> function, VectorConverter converter) -
getPoint
-
getRawPoint
-
getPointCount
public int getPointCount() -
hashCode
public int hashCode() -
equals
-
toString
-