Class PdfFromTraceKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • pdfFromTrace

         final static PdfResult pdfFromTrace(DoubleArray trace, DoubleArray intBounds)

        Returns the empirical density function of a trace.

        Parameters:
        trace - The trace data
        intBounds - The array of interval boundaries.
        Returns:

        PdfResult containing x (center of intervals) and y (values) of the empirical PDF

      • pdfFromWeightedTrace

         final static PdfResult pdfFromWeightedTrace(DoubleArray trace, DoubleArray weights, DoubleArray intBounds)

        Returns the empirical density function of a weighted trace.

        Parameters:
        trace - The trace data
        weights - The weights for each sample
        intBounds - The array of interval boundaries.
        Returns:

        PdfResult containing x (center of intervals) and y (values) of the empirical PDF