Uses of Interface
org.la4j.matrix.functor.MatrixAccumulator
-
Packages that use MatrixAccumulator Package Description org.la4j org.la4j.matrix -
-
Uses of MatrixAccumulator in org.la4j
Methods in org.la4j that return MatrixAccumulator Modifier and Type Method Description static MatrixAccumulator
Matrices. asProductAccumulator(double neutral)
Creates a product matrix accumulator that calculates the product of all elements in the matrix.static 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. asSumAccumulator(double neutral)
Creates a sum matrix accumulator that calculates the sum of all elements in the matrix.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.static MatrixAccumulator
Matrices. mkEuclideanNormAccumulator()
Makes an Euclidean norm accumulator that allows to useMatrix.fold(org.la4j.vector.functor.MatrixAccumulator)
method for norm calculation.static MatrixAccumulator
Matrices. mkInfinityNormAccumulator()
Makes an Infinity norm accumulator that allows to useMatrix.fold(org.la4j.vector.functor.MatrixAccumulator)
method for norm calculation.static MatrixAccumulator
Matrices. mkManhattanNormAccumulator()
Makes an Manhattan norm accumulator that allows to useMatrix.fold(org.la4j.vector.functor.MatrixAccumulator)
method for norm calculation.static MatrixAccumulator
Matrices. mkMaxAccumulator()
Makes a maximum matrix accumulator that accumulates the maximum of matrix elements.static MatrixAccumulator
Matrices. mkMinAccumulator()
Makes a minimum matrix accumulator that accumulates the minimum of matrix elements.Methods in org.la4j with parameters of type MatrixAccumulator Modifier and Type Method Description static MatrixProcedure
Matrices. asAccumulatorProcedure(MatrixAccumulator accumulator)
Creates an accumulator procedure that adapts a matrix accumulator for procedure interface.double
Matrix. fold(MatrixAccumulator accumulator)
Folds all elements of this matrix with givenaccumulator
. -
Uses of MatrixAccumulator in org.la4j.matrix
Methods in org.la4j.matrix with parameters of type MatrixAccumulator Modifier and Type Method Description double
SparseMatrix. foldNonZero(MatrixAccumulator accumulator)
Folds non-zero elements of this matrix with givenaccumulator
.
-