Class MatrixHeapMerger

java.lang.Object
org.tribuo.math.util.MatrixHeapMerger
All Implemented Interfaces:
Serializable, Merger

public class MatrixHeapMerger extends Object implements Merger
See Also:
  • Constructor Details

    • MatrixHeapMerger

      public MatrixHeapMerger()
  • Method Details

    • merge

      public DenseSparseMatrix merge(DenseSparseMatrix[] inputs)
      Description copied from interface: Merger
      Merges an array of DenseSparseMatrix into a single DenseSparseMatrix.
      Specified by:
      merge in interface Merger
      Parameters:
      inputs - The matrices to merge.
      Returns:
      The merged matrix.
    • merge

      public SparseVector merge(SparseVector[] inputs)
      Description copied from interface: Merger
      Merges an array of SparseVector into a single SparseVector.
      Specified by:
      merge in interface Merger
      Parameters:
      inputs - The vectors to merge.
      Returns:
      The merged vector.