ch.wsl.fireindices.functions

ListFunctions

object ListFunctions

Contains functions to apply the base functions with data series (Lists).

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ListFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def applyFunction[A, B, C, D, E, F, G, To](funct: (A, B, C, D, E, F, G) ⇒ To, a: List[A], b: List[B], c: List[C], d: List[D], e: List[E], f: List[F], g: List[G]): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  7. def applyFunction[A, B, C, D, E, F, To](funct: (A, B, C, D, E, F) ⇒ To, a: List[A], b: List[B], c: List[C], d: List[D], e: List[E], f: List[F]): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  8. def applyFunction[A, B, C, D, E, To](funct: (A, B, C, D, E) ⇒ To, a: List[A], b: List[B], c: List[C], d: List[D], e: List[E]): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  9. def applyFunction[A, B, C, D, To](funct: (A, B, C, D) ⇒ To, a: List[A], b: List[B], c: List[C], d: List[D]): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  10. def applyFunction[A, B, C, To](funct: (A, B, C) ⇒ To, a: List[A], b: List[B], c: List[C]): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  11. def applyFunction[A, B, To](funct: (A, B) ⇒ To, a: List[A], b: List[B]): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  12. def applyFunctionPrev[A, C, D, E, F, G, H, To](funct: (To, A, C, D, E, E, E, E, F, F, F, G, H) ⇒ To, prev: To, a: List[A], c: List[C], d: List[D], e: List[E], e1: E, e2: E, e3: E, f: List[F], f1: F, f2: F, g: G, h: H): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  13. def applyFunctionPrev[A, B, C, D, E, F, G, H, To](funct: (To, A, B, C, D, E, E, E, E, F, F, F, G, H) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C], d: List[D], e: List[E], e1: E, e2: E, e3: E, f: List[F], f1: F, f2: F, g: G, h: H): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  14. def applyFunctionPrev[A, B, C, D, To](funct: (To, A, B, C, D) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C], d: List[D]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  15. def applyFunctionPrev[A, B, C, To](funct: (To, A, B, C) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  16. def applyFunctionPrev[A, B, To](funct: (To, A, B) ⇒ To, prev: To, a: List[A], b: List[B]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  17. def applyFunctionPrev[A, To](funct: (To, A) ⇒ To, prev: To, a: List[A]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  18. def applyFunctionPrevLastRainSum[A, To](funct: (To, A, A) ⇒ To, prev: To, a: List[A], a_1: A): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    returns

    list with results of the function

  19. def applyFunctionPrevThreshold[Thr, A, B, C, To](funct: (To, Thr, A, B, C) ⇒ To, prev: To, threshold: Thr, a: List[A], b: List[B], c: List[C]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result and a given threshold

    Applies a given function (funct) on input list of Data keeping the previous result and a given threshold

    returns

    list with results of the function

  20. def applyFunctionPrevThreshold[Thr, Num, A, B, C, D, To](funct: (To, Thr, Num, A, B, C, D) ⇒ To, prev: To, threshold: Thr, num: Num, a: List[A], b: List[B], c: List[C], d: List[D]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result and a given threshold

    Applies a given function (funct) on input list of Data keeping the previous result and a given threshold

    returns

    list with results of the function

  21. def applyFunctionPrevThreshold[Thr, A, To](funct: (To, Thr, A) ⇒ To, prev: To, threshold: Thr, a: List[A]): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  22. def applyFunctionPrev_k[A, B, C, D, E, F, To](funct: (To, A, B, C, D, E, F) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C], d: List[D], e: List[E], f: F): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  23. def applyFunctionPrev_k[A, B, C, D, E, To](funct: (To, A, B, C, D, E) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C], d: List[D], e: E): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  24. def applyFunctionPrev_kk[A, B, C, D, E, F, G, To](funct: (To, A, B, C, D, E, F, G) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C], d: List[D], e: List[E], f: F, g: G): List[To]

    Applies the DMC index funtion on input list of Data keeping the previous result

    Applies the DMC index funtion on input list of Data keeping the previous result

    returns

    list with results of the function

  25. def applyFunctionPrev_kk[A, B, C, D, E, F, To](funct: (To, A, B, C, D, E, F) ⇒ To, prev: To, a: List[A], b: List[B], c: List[C], d: List[D], e: E, f: F): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result

    Applies a given function (funct) on input list of Data keeping the previous result

    returns

    list with results of the function

  26. def applyFunction_k[A, B, C, D, E, To](funct: (A, B, C, D, E) ⇒ To, a: List[A], b: List[B], c: List[C], d: List[D], e: E): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  27. def applyFunction_k[A, B, C, D, To](funct: (A, B, C, D) ⇒ To, a: List[A], b: List[B], c: List[C], d: D): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    returns

    list with results of the function

  28. def applyFunction_k[A, B, C, To](funct: (A, B, C) ⇒ To, a: List[A], b: List[B], c: C): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    returns

    list with results of the function

  29. def applyFunction_k[A, B, To](funct: (A, B) ⇒ To, a: List[A], b: B): List[To]

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    Applies a given function (funct) on input list of Data keeping the previous result and previous days input data serie

    returns

    list with results of the function

  30. def applyFunction_kkkk[A, B, C, D, E, G, H, I, To](funct: (A, B, C, D, E, G, H, I) ⇒ To, a: List[A], b: List[B], c: List[C], d: List[D], e: E, g: G, h: H, i: I): List[To]

    Applies a given function (funct) on input list of Data

    Applies a given function (funct) on input list of Data

    returns

    list with results of the function

  31. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  32. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def cumSum(list: List[Double], start: Double = 0.0): List[Double]

    returns a list with the cumulative sums of a list of data

    returns a list with the cumulative sums of a list of data

    list

    List[Double] > the list with datas

    returns

    the cumulative sum list

  34. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  37. def gapFillwithPrev(MaxNullGap: Double, list: List[Double]): List[Double]

    for correction of void inputs with last correct data

  38. def gapLinearization(MaxNullGap: Double, list: List[Double]): List[Double]

    for correction of void inputs with linearization of correct data

  39. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  40. def getNaNList(number: Int): List[Double]

    returns a list of Double.

    returns a list of Double.NaN of given length

    number

    number of NaN in the list

    returns

    List[Double] > the NaN list

  41. def hashCode(): Int

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

    Definition Classes
    Any
  43. def lastRainSum_withThreshold_20days(P: List[Double], rainfallEventThreshold: Double = 2.00, pastDaysToConsider: Int = 20): (List[Double], List[Double])

    Computes amount (sum) of the last significant rainfall event.

    Computes amount (sum) of the last significant rainfall event. The rainfall event is defined as consecutive days with rainfall above a threshold (2 mm inFinkele 2006).

    To be used for the calculation of the DF (Drought Factor) according to Griffith and Finkele.

    P

    List of Rainfall amount [mm]

    rainfallEventThreshold

    threshold daily rain to consider a rain evnet

    pastDaysToConsider

    number of past days to consider

    returns

    amount of last significant rainfall event [mm]

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

    Definition Classes
    AnyRef
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def runningSum(period: Int, list: List[Double]): List[Double]

    returns the consecutive sum of a list of data for a given period

    returns the consecutive sum of a list of data for a given period

    period

    the period for consecutive sum

    list

    List[Double] > the list with datas

    returns

    the sum

  48. def runningSumPos(period: Int, position: Int, list: List[Double]): List[Double]

    returns the consecutive sum of a list of data for a given period and from a given position

    returns the consecutive sum of a list of data for a given period and from a given position

    period

    the period for consecutive sum

    position

    the position of the result (0-based, eg. 0 means at first element = runningSum)

    list

    List[Double] > the list with datas

    returns

    the sum

  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def weeklySum(list: List[Double]): List[Double]

    return the consecutive sum of a list of data for period of seven days

    return the consecutive sum of a list of data for period of seven days

    list

    List[Double] > the list with datas

    returns

    the sum

Inherited from AnyRef

Inherited from Any

Ungrouped