Class MPSMatrixRandomDistributionDescriptor

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class MPSMatrixRandomDistributionDescriptor
extends NSObject
Since:
Available in iOS 13.0 and later.
  • Constructor Details

    • MPSMatrixRandomDistributionDescriptor

      public MPSMatrixRandomDistributionDescriptor()
    • MPSMatrixRandomDistributionDescriptor

      protected MPSMatrixRandomDistributionDescriptor​(NSObject.Handle h, long handle)
    • MPSMatrixRandomDistributionDescriptor

      protected MPSMatrixRandomDistributionDescriptor​(NSObject.SkipInit skipInit)
    • MPSMatrixRandomDistributionDescriptor

      public MPSMatrixRandomDistributionDescriptor​(float minimum, float maximum)
  • Method Details

    • getDistributionType

      public MPSMatrixRandomDistribution getDistributionType()
    • setDistributionType

      public void setDistributionType​(MPSMatrixRandomDistribution v)
    • getMinimum

      public float getMinimum()
    • setMinimum

      public void setMinimum​(float v)
    • getMaximum

      public float getMaximum()
    • setMaximum

      public void setMaximum​(float v)
    • getMean

      public float getMean()
    • setMean

      public void setMean​(float v)
    • getStandardDeviation

      public float getStandardDeviation()
    • setStandardDeviation

      public void setStandardDeviation​(float v)
    • create

      protected static long create​(float minimum, float maximum)
    • createNormalDistributionDescriptor

      public static MPSMatrixRandomDistributionDescriptor createNormalDistributionDescriptor​(float mean, float standardDeviation)
      Since:
      Available in iOS 14.0 and later.
    • createNormalDistributionDescriptor

      public static MPSMatrixRandomDistributionDescriptor createNormalDistributionDescriptor​(float mean, float standardDeviation, float minimum, float maximum)
      Since:
      Available in iOS 14.0 and later.
    • defaultDistributionDescriptor

      public static MPSMatrixRandomDistributionDescriptor defaultDistributionDescriptor()