Trait

geotrellis.raster.histogram

Histogram

Related Doc: package histogram

Permalink

trait Histogram[T <: AnyVal] extends Serializable

Data object representing a histogram of values.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Histogram
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bucketCount(): Int

    Permalink

    The number of buckets utilized by this Histogram.

  2. abstract def foreach(f: (T, Int) ⇒ Unit): Unit

    Permalink

    Execute the given function on the value and count of each bucket in the histogram.

  3. abstract def foreachValue(f: (T) ⇒ Unit): Unit

    Permalink

    Execute the given function on the value of each bucket in the histogram.

    Execute the given function on the value of each bucket in the histogram.

    f

    A unit function of one parameter

  4. abstract def itemCount(item: T): Int

    Permalink

    Return the number of occurrences for 'item'.

  5. abstract def maxValue(): Option[T]

    Permalink

    Return the largest item seen.

  6. abstract def mean(): Option[Double]

    Permalink

    Compute the mean of the distribution represented by the histogram.

  7. abstract def median(): Option[T]

    Permalink

    Compute the median of the distribution represented by the histogram.

  8. abstract def merge(histogram: Histogram[T]): Histogram[T]

    Permalink

    Return the sum of this histogram and the given one (the sum is the histogram that would result from seeing all of the values seen by the two antecedent histograms).

  9. abstract def minValue(): Option[T]

    Permalink

    Return the smallest item seen.

  10. abstract def mode(): Option[T]

    Permalink

    Compute the mode of the distribution represented by the histogram.

  11. abstract def mutable(): MutableHistogram[T]

    Permalink

    Return a mutable copy of this histogram.

  12. abstract def quantileBreaks(num: Int): Array[T]

    Permalink

    Compute the quantile breaks of the histogram, where the latter are evenly spaced in 'num' increments starting at zero percent.

  13. abstract def rawValues(): Array[T]

    Permalink

    Return an array containing the values seen by this histogram.

  14. abstract def statistics(): Option[Statistics[T]]

    Permalink

    Return a statistics object for the distribution represented by the histogram.

    Return a statistics object for the distribution represented by the histogram. Contains among other things: mean, mode, median, and so-forth.

  15. abstract def totalCount(): Int

    Permalink

    Return the total number of occurrences for all items.

  16. abstract def values(): Array[T]

    Permalink

    Return a sorted array of values seen by this histogram.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def minMaxValues(): Option[(T, T)]

    Permalink

    Return the smallest and largest items seen as a tuple.

  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped