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 MatrixFunction
Matrices.DEC_FUNCTION
Decreases each element of matrix by1
.static final MatrixFunction
Matrices.INC_FUNCTION
Increases each element of matrix by1
.static final MatrixFunction
Matrices.INV_FUNCTION
Inverts each element of matrix.Methods in org.la4j that return MatrixFunctionModifier and TypeMethodDescriptionstatic MatrixFunction
Matrices.asConstFunction
(double arg) Creates a const function that evaluates it's argument to givenvalue
.static MatrixFunction
Matrices.asDivFunction
(double arg) Creates a div function that divides it's argument by givenvalue
.static MatrixFunction
Matrices.asMinusFunction
(double arg) Creates a minus function that subtracts givenvalue
from it's argument.static MatrixFunction
Matrices.asModFunction
(double arg) Creates a mod function that calculates the modulus of it's argument and givenvalue
.static MatrixFunction
Matrices.asMulFunction
(double arg) Creates a mul function that multiplies givenvalue
by it's argument.static MatrixFunction
Matrices.asPlusFunction
(double arg) Creates a plus function that adds givenvalue
to it's argument.Methods in org.la4j with parameters of type MatrixFunctionModifier and TypeMethodDescriptionstatic MatrixAccumulator
Matrices.asProductFunctionAccumulator
(double neutral, MatrixFunction function) Creates a product function accumulator, that calculates the product of all elements in the matrix after applying givenfunction
to each of them.static MatrixAccumulator
Matrices.asSumFunctionAccumulator
(double neutral, MatrixFunction function) Creates a sum function accumulator, that calculates the sum of all elements in the matrix after applying givenfunction
to each of them.Matrix.transform
(MatrixFunction function) Builds a new matrix by applying givenfunction
to each element of this matrix.void
Matrix.update
(MatrixFunction function) Updates all elements of this matrix by applying givenfunction
.void
Matrix.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 TypeMethodDescriptionvoid
CCSMatrix.updateAt
(int i, int j, MatrixFunction function) void
CRSMatrix.updateAt
(int i, int j, MatrixFunction function)