Class FMaskSparse.Builder

java.lang.Object
org.ejml.masks.MaskBuilder<FMaskSparse>
org.ejml.masks.FMaskSparse.Builder
Enclosing class:
FMaskSparse

public static class FMaskSparse.Builder extends MaskBuilder<FMaskSparse>
Utility class to build FMaskSparse
  • Constructor Details

  • Method Details

    • withZeroElement

      public FMaskSparse.Builder withZeroElement(float zeroElement)
      Parameters:
      zeroElement - Value to represent the zero-element in the mask
    • withIndexFirstColumn

      public FMaskSparse.Builder withIndexFirstColumn(boolean indexFirstColumn)
      Parameters:
      indexFirstColumn - Whether the first column should be indexed on mask construction
    • withWorkArray

      public FMaskSparse.Builder withWorkArray(IGrowArray gw)
      Parameters:
      gw - (Optional) Storage for internal workspace. Can be null.
    • build

      public FMaskSparse build()
      Description copied from class: MaskBuilder
      Build the mask based on the previously specified parameters
      Specified by:
      build in class MaskBuilder<FMaskSparse>