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