Uses of Interface
org.la4j.vector.functor.VectorFunction
Packages that use VectorFunction
-
Uses of VectorFunction in org.la4j
Fields in org.la4j declared as VectorFunctionModifier and TypeFieldDescriptionstatic final VectorFunction
Vectors.DEC_FUNCTION
Decreases each element of vectors by1
.static final VectorFunction
Vectors.INC_FUNCTION
Increases each element of vector by1
.static final VectorFunction
Vectors.INV_FUNCTION
Inverts each element of vector.Methods in org.la4j that return VectorFunctionModifier and TypeMethodDescriptionstatic VectorFunction
Vectors.asConstFunction
(double arg) Creates a const function that evaluates it's argument to givenvalue
.static VectorFunction
Vectors.asDivFunction
(double arg) Creates a div function that divides it's argument by givenvalue
.static VectorFunction
Vectors.asMinusFunction
(double arg) Creates a minus function that subtracts givenvalue
from it's argument.static VectorFunction
Vectors.asModFunction
(double arg) Creates a mod function that calculates the modulus of it's argument and givenvalue
.static VectorFunction
Vectors.asMulFunction
(double arg) Creates a mul function that multiplies givenvalue
by it's argument.static VectorFunction
Vectors.asPlusFunction
(double arg) Creates a plus function that adds givenvalue
to it's argument.Methods in org.la4j with parameters of type VectorFunctionModifier and TypeMethodDescriptionstatic VectorAccumulator
Vectors.asProductFunctionAccumulator
(double neutral, VectorFunction function) Creates a product function accumulator, that calculates the product of all elements in the vector after applying givenfunction
to each of them.static VectorAccumulator
Vectors.asSumFunctionAccumulator
(double neutral, VectorFunction function) Creates a sum function accumulator, that calculates the sum of all elements in the vector after applying givenfunction
to each of them.Vector.transform
(VectorFunction function) Builds a new vector by applying givenfunction
to each element of this vector.Matrix.transformColumn
(int j, VectorFunction function) Builds a new matrix by applying givenfunction
to each element of specified column in this matrix.Matrix.transformRow
(int i, VectorFunction function) Builds a new matrix by applying givenfunction
to each element of specified row in this matrix.void
Vector.update
(VectorFunction function) Updates all elements of this vector by applying givenfunction
.void
Vector.updateAt
(int i, VectorFunction function) Updates the specified element of this vector by applying givenfunction
.void
Matrix.updateColumn
(int j, VectorFunction function) Updates all elements of the specified column in this matrix by applying givenfunction
.void
Matrix.updateRow
(int i, VectorFunction function) Updates all elements of the specified row in this matrix by applying givenfunction
. -
Uses of VectorFunction in org.la4j.operation.ooplace
Methods in org.la4j.operation.ooplace that return VectorFunction -
Uses of VectorFunction in org.la4j.vector.sparse
Methods in org.la4j.vector.sparse with parameters of type VectorFunction