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 VectorFunctionVectors.DEC_FUNCTIONDecreases each element of vectors by1.static final VectorFunctionVectors.INC_FUNCTIONIncreases each element of vector by1.static final VectorFunctionVectors.INV_FUNCTIONInverts each element of vector.Methods in org.la4j that return VectorFunctionModifier and TypeMethodDescriptionstatic VectorFunctionVectors.asConstFunction(double arg) Creates a const function that evaluates it's argument to givenvalue.static VectorFunctionVectors.asDivFunction(double arg) Creates a div function that divides it's argument by givenvalue.static VectorFunctionVectors.asMinusFunction(double arg) Creates a minus function that subtracts givenvaluefrom it's argument.static VectorFunctionVectors.asModFunction(double arg) Creates a mod function that calculates the modulus of it's argument and givenvalue.static VectorFunctionVectors.asMulFunction(double arg) Creates a mul function that multiplies givenvalueby it's argument.static VectorFunctionVectors.asPlusFunction(double arg) Creates a plus function that adds givenvalueto it's argument.Methods in org.la4j with parameters of type VectorFunctionModifier and TypeMethodDescriptionstatic VectorAccumulatorVectors.asProductFunctionAccumulator(double neutral, VectorFunction function) Creates a product function accumulator, that calculates the product of all elements in the vector after applying givenfunctionto each of them.static VectorAccumulatorVectors.asSumFunctionAccumulator(double neutral, VectorFunction function) Creates a sum function accumulator, that calculates the sum of all elements in the vector after applying givenfunctionto each of them.Vector.transform(VectorFunction function) Builds a new vector by applying givenfunctionto each element of this vector.Matrix.transformColumn(int j, VectorFunction function) Builds a new matrix by applying givenfunctionto each element of specified column in this matrix.Matrix.transformRow(int i, VectorFunction function) Builds a new matrix by applying givenfunctionto each element of specified row in this matrix.voidVector.update(VectorFunction function) Updates all elements of this vector by applying givenfunction.voidVector.updateAt(int i, VectorFunction function) Updates the specified element of this vector by applying givenfunction.voidMatrix.updateColumn(int j, VectorFunction function) Updates all elements of the specified column in this matrix by applying givenfunction.voidMatrix.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