Class DMaskSparse.Builder

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

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

  • Method Details

    • withZeroElement

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

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

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

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