Packages

t

ostrat

ArrProdDbl2

trait ArrProdDbl2[A <: ProdDbl2] extends ArrProdDblN[A]

Base trait for Array[Double] base collections of Products of 2 Doubles.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrProdDbl2
  2. ArrProdDblN
  3. ArrProdHomo
  4. ArrValues
  5. ArrImut
  6. ArrayLike
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type ThisT <: ArrProdDbl2[A]
    Definition Classes
    ArrProdDbl2ArrProdDblNArrValuesArrImutArrayLike

Abstract Value Members

  1. abstract def array: Array[Double]
    Definition Classes
    ArrProdDblN
  2. abstract def elemBuilder(d1: Double, d2: Double): A

    Method for creating new elements from 2 Doubles.

  3. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  4. abstract def typeStr: String
    Definition Classes
    ArrProdHomo
  5. abstract def unsafeFromArray(array: Array[Double]): ThisT
    Definition Classes
    ArrProdDblN

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def ++[N <: ArrProdHomo[A]](operand: N)(implicit factory: (Int) => N): N

    Appends ProductValue collection with the same type of Elements to a new ValueProduct collection.

    Appends ProductValue collection with the same type of Elements to a new ValueProduct collection. Note the operand collection can have a different type, although it shares the same element type. In such a case, the returned collection will have the type of the operand not this collection.

    Definition Classes
    ArrProdHomo
  4. def :+[N <: ArrProdHomo[A]](operand: A)(implicit factory: (Int) => N): N

    Appends an element to a new ProductValue collection of type N with the same type of Elements.

    Appends an element to a new ProductValue collection of type N with the same type of Elements.

    Definition Classes
    ArrProdHomo
  5. def :+(op: A): ThisT
    Definition Classes
    ArrValues
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. def appendArray(appendProductsLength: Int): Array[Double]

    Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

    Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

    Definition Classes
    ArrProdDblN
  8. def apply(index: Int): A
    Definition Classes
    ArrProdDbl2ArrayLike
  9. def arrLen: Int
    Definition Classes
    ArrProdDblNArrProdHomo
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. final def buildThis(length: Int): ThisT
    Definition Classes
    ArrProdDblNArrImut
  12. def contains[A1 >: A](elem: A1): Boolean
    Definition Classes
    ArrayLike
  13. def eMap[B, BB <: ArrImut[B]](f: (A) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  14. def elem1sArray: Array[Double]
  15. def elem2sArray: Array[Double]
  16. def empty: Boolean
    Definition Classes
    ArrayLike
  17. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  18. def existsCount(f: (A) => Boolean): Int

    Counts the number of elements that fulfil the condition A => Boolean

    Counts the number of elements that fulfil the condition A => Boolean

    Definition Classes
    ArrayLike
  19. def foldHeadTail[B](initial: B)(fHead: (B, A) => B)(fTail: (B, A) => B): B
    Definition Classes
    ArrayLike
  20. def foldLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  21. def foldTailLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  22. def foldWithPrevious[B](initPrevious: A, initAcc: B)(f: (B, A, A) => B): B
    Definition Classes
    ArrProdHomo
  23. def foreach[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  24. def foreachArr(f: (Arr[Double]) => Unit): Unit
    Definition Classes
    ArrProdDbl2ArrProdDblN
  25. def foreachInit[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  26. def foreachPairTail[U](f: (Double, Double) => U): Unit
  27. def foreachReverse[U](f: (A) => U): Unit

    Consider changing this name, as might not be appropriate to all sub classes.

    Consider changing this name, as might not be appropriate to all sub classes.

    Definition Classes
    ArrayLike
  28. def foreachTail[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  29. def getPair(index: Int): (Double, Double)
  30. def hashCode(): Int
    Definition Classes
    Any
  31. def head: A
    Definition Classes
    ArrayLike
  32. def head1: Double
  33. def head2: Double
  34. def iForeach[U](f: (A, Int) => U, startIndex: Int = 0): Unit

    foreach with index.

    foreach with index. The startIndex parameter is placed 2nd to allow it to have a default value of zero.

    Definition Classes
    ArrayLike
  35. def iForeachReverse[U](f: (A, Int) => U): Unit
    Definition Classes
    ArrayLike
  36. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  37. def indexOf(elem: A): Int
    Definition Classes
    ArrayLike
  38. def indexWhere(f: (A) => Boolean): Int

    Return the index of the first lemenet where predicate is true, or -1 if predicate not true forall.

    Return the index of the first lemenet where predicate is true, or -1 if predicate not true forall.

    Definition Classes
    ArrayLike
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def iterFlatMap[B, BB <: ArrImut[B]](f: (A) => Iterable[B])(implicit ev: ArrBuild[B, BB]): BB

    FlatMaps over a function from A to any Iterable.

    FlatMaps over a function from A to any Iterable.

    Definition Classes
    ArrayLike
  41. def last: A
    Definition Classes
    ArrayLike
  42. def lenStr: String
    Definition Classes
    ArrayLike
  43. final def length: Int
    Definition Classes
    ArrProdHomoArrayLike
  44. def map[B, BB <: ArrImut[B]](f: (A) => B)(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  45. def map2To1[B, BB <: ArrImut[B]](f: (A, A) => B)(implicit ev: ArrBuild[B, BB]): BB

    map 2 elements of A to 1 element of B.

    map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

    Definition Classes
    ArrayLike
  46. def mapArrSeq[B <: AnyRef](f: (A) => B)(implicit ev: ClassTag[B]): Arr[B]

    Maps to ArrSeq of type B.

    Maps to ArrSeq of type B.

    Definition Classes
    ArrProdHomo
  47. def mapList[B <: AnyRef](f: (A) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  48. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  49. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
  50. def offsetter: ArrOff[A]
    Definition Classes
    ArrImut
  51. def pMap[B, N <: ArrProdHomo[B]](f: (A) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ArrProdHomo
  52. def productSize: Int
    Definition Classes
    ArrProdDbl2ArrProdHomo
  53. def removeFirst(f: (A) => Boolean): ThisT
    Definition Classes
    ArrImut
  54. def replace(oldValue: A, newValue: A): ThisT

    Replaces all instances of the old value with the new value.

    Replaces all instances of the old value with the new value.

    Definition Classes
    ArrImut
  55. def returnThis: ThisT
    Definition Classes
    ArrayLike
  56. def toArrs: Arr[Arr[Double]]
  57. def toList: List[A]
    Definition Classes
    ArrayLike
  58. def toString(): String
    Definition Classes
    ArrProdDblN → Any
  59. def toStrsFold(seperator: String = "", f: (A) => String = _.toString): String
    Definition Classes
    ArrayLike
  60. def unsafeArrayCopy(operand: Array[A], offset: Int, copyLength: Int): Unit
    Definition Classes
    ArrImut
  61. def unsafeSetElem(index: Int, elem: A): Unit
    Definition Classes
    ArrProdDbl2ArrImut
  62. def unsafeSetElemSeq(index: Int, elems: Iterable[A]): Unit
    Definition Classes
    ArrImut
  63. def unsafeSetElems(index: Int, elems: A*): Unit
    Definition Classes
    ArrImut
  64. def unsafeSetHead(value: A): Unit
    Definition Classes
    ArrImut
  65. def unsafeSetLast(value: A): Unit
    Definition Classes
    ArrImut

Deprecated Value Members

  1. def toArraySeq(implicit ct: ClassTag[A]): ArraySeq[A]

    transitional method to be removed.

    transitional method to be removed.

    Definition Classes
    ArrayLike
    Annotations
    @deprecated
    Deprecated

Inherited from ArrProdDblN[A]

Inherited from ArrProdHomo[A]

Inherited from ArrValues[A]

Inherited from ArrImut[A]

Inherited from ArrayLike[A]

Inherited from Any

Ungrouped