Uses of Interface
org.la4j.matrix.functor.MatrixFunction
Packages that use MatrixFunction
-
Uses of MatrixFunction in org.la4j
Fields in org.la4j declared as MatrixFunctionModifier and TypeFieldDescriptionstatic final MatrixFunctionMatrices.DEC_FUNCTIONDecreases each element of matrix by1.static final MatrixFunctionMatrices.INC_FUNCTIONIncreases each element of matrix by1.static final MatrixFunctionMatrices.INV_FUNCTIONInverts each element of matrix.Methods in org.la4j that return MatrixFunctionModifier and TypeMethodDescriptionstatic MatrixFunctionMatrices.asConstFunction(double arg) Creates a const function that evaluates it's argument to givenvalue.static MatrixFunctionMatrices.asDivFunction(double arg) Creates a div function that divides it's argument by givenvalue.static MatrixFunctionMatrices.asMinusFunction(double arg) Creates a minus function that subtracts givenvaluefrom it's argument.static MatrixFunctionMatrices.asModFunction(double arg) Creates a mod function that calculates the modulus of it's argument and givenvalue.static MatrixFunctionMatrices.asMulFunction(double arg) Creates a mul function that multiplies givenvalueby it's argument.static MatrixFunctionMatrices.asPlusFunction(double arg) Creates a plus function that adds givenvalueto it's argument.Methods in org.la4j with parameters of type MatrixFunctionModifier and TypeMethodDescriptionstatic MatrixAccumulatorMatrices.asProductFunctionAccumulator(double neutral, MatrixFunction function) Creates a product function accumulator, that calculates the product of all elements in the matrix after applying givenfunctionto each of them.static MatrixAccumulatorMatrices.asSumFunctionAccumulator(double neutral, MatrixFunction function) Creates a sum function accumulator, that calculates the sum of all elements in the matrix after applying givenfunctionto each of them.Matrix.transform(MatrixFunction function) Builds a new matrix by applying givenfunctionto each element of this matrix.voidMatrix.update(MatrixFunction function) Updates all elements of this matrix by applying givenfunction.voidMatrix.updateAt(int i, int j, MatrixFunction function) Updates the specified element of this matrix by applying givenfunction. -
Uses of MatrixFunction in org.la4j.matrix.sparse
Methods in org.la4j.matrix.sparse with parameters of type MatrixFunctionModifier and TypeMethodDescriptionvoidCCSMatrix.updateAt(int i, int j, MatrixFunction function) voidCRSMatrix.updateAt(int i, int j, MatrixFunction function)