final class MyDbl2s extends AnyVal with ArrProdDbl2[MyDbl2]
- Alphabetic
- By Inheritance
- MyDbl2s
- ArrProdDbl2
- ArrProdDblN
- ArrayDblBased
- ArrProdHomo
- ArrBase
- ArrayLike
- ArrayLikeBase
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ThisT = MyDbl2s
- Definition Classes
- MyDbl2s → ArrProdDbl2 → ArrProdDblN → ArrProdHomo → ArrBase → ArrayLike
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def ++[N <: ArrProdHomo[MyDbl2]](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
- def :+[N <: ArrProdHomo[MyDbl2]](operand: MyDbl2)(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
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def append(op: MyDbl2): ThisT
Functionally appends the operand of type A.
Functionally appends the operand of type A. This alphanumeric method is not aliased by the ++ operator, to avoid confusion with numeric operators.
- Definition Classes
- ArrProdDbl2
- 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
- def apply(index: Int): MyDbl2
- Definition Classes
- ArrProdDbl2 → ArrayLike
- def arrLen: Int
- Definition Classes
- ArrProdDblN → ArrProdHomo
- val arrayUnsafe: Array[Double]
- Definition Classes
- MyDbl2s → ArrayDblBased
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def collect[B, BB <: ArrBase[B]](pf: PartialFunction[MyDbl2, B])(implicit ev: ArrBuild[B, BB]): BB
Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.
Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.
- Definition Classes
- ArrayLike
- def collectList[B](pf: PartialFunction[MyDbl2, B]): List[B]
Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.
Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.
- Definition Classes
- ArrayLike
- def contains[A1 >: MyDbl2](elem: A1): Boolean
- Definition Classes
- ArrayLike
- def cycleGet(index: Int): MyDbl2
Applys an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection.
Applys an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def eMap[B, BB <: ArrBase[B]](f: (MyDbl2) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
- Definition Classes
- ArrayLike
- def eMapList[B](f: (MyDbl2) => EMon[B]): EMon[List[B]]
- Definition Classes
- ArrayLike
- def elem1sArray: Array[Double]
- Definition Classes
- ArrProdDbl2
- def elem2sArray: Array[Double]
- Definition Classes
- ArrProdDbl2
- def elemBuilder(d1: Double, d2: Double): MyDbl2
Method for creating new elements from 2 Doubles.
Method for creating new elements from 2 Doubles.
- Definition Classes
- MyDbl2s → ArrProdDbl2
- final def elemsLen: Int
The number of elements in the collection.
The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array maybe longer by a multiple of this number.
- Definition Classes
- ArrProdHomo → ArrayLikeBase
- final def elemsStr: String
The element String allows the composition of toString for the whole collection.
The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.
- Definition Classes
- ArrBase
- def empty: Boolean
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def existsCount(f: (MyDbl2) => 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
- def fElemStr: (MyDbl2) => String
- def fHeadElse[B](noHead: => B)(ifHead: (MyDbl2) => B): B
- Definition Classes
- ArrayLike
- def fMax[B](f: (MyDbl2) => B)(implicit cmp: Ordering[B]): B
- Definition Classes
- ArrayLike
- def fMin[B](f: (MyDbl2) => B)(implicit cmp: Ordering[B]): B
- Definition Classes
- ArrayLike
- def filter[AA <: ArrBase[MyDbl2]](f: (MyDbl2) => Boolean)(implicit ev: ArrBuild[MyDbl2, AA]): AA
- Definition Classes
- ArrayLike
- def filterNot[AA <: ArrBase[MyDbl2]](f: (MyDbl2) => Boolean)(implicit ev: ArrBuild[MyDbl2, AA]): AA
- Definition Classes
- ArrayLike
- def filterToList(f: (MyDbl2) => Boolean): List[MyDbl2]
- Definition Classes
- ArrayLike
- def find(f: (MyDbl2) => Boolean): Option[MyDbl2]
- Definition Classes
- ArrBase
- def flatMap[BB <: ArrBase[_]](f: (MyDbl2) => BB)(implicit ev: ArrFlatBuild[BB]): BB
Specialised flatMap to an immutable Arr.
Specialised flatMap to an immutable Arr.
- Definition Classes
- ArrayLike
- def foldHeadTail[B](initial: B)(fHead: (B, MyDbl2) => B)(fTail: (B, MyDbl2) => B): B
- Definition Classes
- ArrayLike
- def foldLeft[B](initial: B)(f: (B, MyDbl2) => B): B
- Definition Classes
- ArrayLike
- def foldTailLeft[B](initial: B)(f: (B, MyDbl2) => B): B
- Definition Classes
- ArrayLike
- def foldWithPrevious[B](initPrevious: MyDbl2, initAcc: B)(f: (B, MyDbl2, MyDbl2) => B): B
- Definition Classes
- ArrProdHomo
- def forAll(p: (MyDbl2) => Boolean): Boolean
- Definition Classes
- ArrayLike
- def foreach[U](f: (MyDbl2) => U): Unit
Performs the effectful function on each member of the collection.
Performs the effectful function on each member of the collection.
- Definition Classes
- ArrayLike → ArrayLikeBase
- def foreachArr(f: (Dbls) => Unit): Unit
- Definition Classes
- ArrProdDbl2 → ArrProdDblN
- def foreachInit[U](f: (MyDbl2) => U): Unit
- Definition Classes
- ArrayLike
- def foreachPairTail[U](f: (Double, Double) => U): Unit
- Definition Classes
- ArrProdDbl2
- def foreachReverse[U](f: (MyDbl2) => 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
- def foreachTail[U](f: (MyDbl2) => U): Unit
- Definition Classes
- ArrayLike
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getPair(index: Int): (Double, Double)
- Definition Classes
- ArrProdDbl2
- def head: MyDbl2
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def head1: Double
- Definition Classes
- ArrProdDbl2
- def head2: Double
- Definition Classes
- ArrProdDbl2
- def headToStringElse(ifEmptyString: String): String
- Definition Classes
- ArrayLike
- def iFlatMap[BB <: ArrBase[_]](iInit: Int = 0)(f: (MyDbl2, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB
Specialised flatMap with index to an immutable Arr.
Specialised flatMap with index to an immutable Arr.
- Definition Classes
- ArrayLike
- def iFlatMap[BB <: ArrBase[_]](f: (MyDbl2, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB
Specialised flatMap with index to an immutable Arr.
Specialised flatMap with index to an immutable Arr.
- Definition Classes
- ArrayLike
- def iForAll(p: (MyDbl2, Int) => Boolean): Boolean
- Definition Classes
- ArrayLike
- def iForeach[U](f: (MyDbl2, 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
- def iForeachReverse[U](f: (MyDbl2, Int) => U): Unit
- Definition Classes
- ArrayLike
- def iMap[B, BB <: ArrBase[B]](f: (MyDbl2, Int) => B)(implicit ev: ArrBuild[B, BB]): BB
Specialised map with index to an immutable ArrBase of B.
Specialised map with index to an immutable ArrBase of B. This method should be overridden in sub classes.
- Definition Classes
- ArrayLike
- def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
- Definition Classes
- ArrayLike
- def indexOf(elem: MyDbl2): Int
- Definition Classes
- ArrayLike
- def indexWhere(f: (MyDbl2) => Boolean): Int
Return the index of the first element where predicate is true, or -1 if predicate not true forall.
Return the index of the first element where predicate is true, or -1 if predicate not true forall.
- Definition Classes
- ArrayLike
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterFlatMap[B, BB <: ArrBase[B]](f: (MyDbl2) => 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
- def last: MyDbl2
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def lenStr: String
Just a handy short cut to give the length of this collection as a string.
Just a handy short cut to give the length of this collection as a string.
- Definition Classes
- ArrayLikeBase
- def map[B, BB <: ArrBase[B]](f: (MyDbl2) => B)(implicit ev: ArrBuild[B, BB]): BB
Specialised map to an immutable ArrBase of B.
Specialised map to an immutable ArrBase of B.
- Definition Classes
- ArrayLike
- def map2To1[B, BB <: ArrBase[B]](f: (MyDbl2, MyDbl2) => 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
- def mapCollectGoods[B, BB <: ArrBase[B]](f: (MyDbl2) => EMon[B])(implicit ev: ArrBuild[B, BB]): BB
maps from A to EMon[B], collects the good values.
maps from A to EMon[B], collects the good values.
- Definition Classes
- ArrayLike
- def mapList[B <: AnyRef](f: (MyDbl2) => B): List[B]
maps ValueProduct collection to List
maps ValueProduct collection to List
- Definition Classes
- ArrayLike
- def mapWithAcc[B, BB <: ArrBase[B], C](initC: C)(f: (MyDbl2, C) => (B, C))(implicit ev: ArrBuild[B, BB]): BB
- Definition Classes
- ArrayLike
- def max[B >: MyDbl2](implicit ord: Ordering[B]): MyDbl2
- Definition Classes
- ArrayLike
- def min[B >: MyDbl2](implicit ord: Ordering[B]): MyDbl2
- Definition Classes
- ArrayLike
- def mkString(seperator: String): String
Not sure about this method.
Not sure about this method.
- Definition Classes
- ArrayLike
- def modifyWhere(pred: (MyDbl2) => Boolean, fNewValue: (MyDbl2) => MyDbl2): ThisT
Replaces all instances of the old value that fulfill predicate with the new value.
Replaces all instances of the old value that fulfill predicate with the new value.
- Definition Classes
- ArrBase
- def nonEmpty: Boolean
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def pMap[B, N <: ArrProdHomo[B]](f: (MyDbl2) => B)(implicit factory: (Int) => N): N
- Definition Classes
- ArrProdHomo
- def productSize: Int
- Definition Classes
- ArrProdDbl2 → ArrProdHomo
- def removeFirst(f: (MyDbl2) => Boolean): ThisT
- Definition Classes
- ArrBase
- def replace(oldValue: MyDbl2, newValue: MyDbl2): 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
- ArrBase
- def replaceWhere(pred: (MyDbl2) => Boolean, newValue: MyDbl2): ThisT
Replaces all instances of the old value that fulfill predicate with the new value.
Replaces all instances of the old value that fulfill predicate with the new value.
- Definition Classes
- ArrBase
- def returnThis: ThisT
- Definition Classes
- ArrayLike
- def sumBy(f: (MyDbl2) => Int): Int
- Definition Classes
- ArrayLike
- def toList: List[MyDbl2]
- Definition Classes
- ArrayLike
- final def toString(): String
- Definition Classes
- ArrBase → Any
- def toStrsCommaFold(fToStr: (MyDbl2) => String): String
- Definition Classes
- ArrayLike
- def toStrsCommaNoSpaceFold(fToStr: (MyDbl2) => String): String
- Definition Classes
- ArrayLike
- def toStrsCommaParenth(fToStr: (MyDbl2) => String): String
- Definition Classes
- ArrayLike
- def toStrsFold(seperator: String, f: (MyDbl2) => String): String
- Definition Classes
- ArrayLike
- def toStrsSemiFold(fToStr: (MyDbl2) => String): String
- Definition Classes
- ArrayLike
- def toStrsSemiParenth(fToStr: (MyDbl2) => String): String
- Definition Classes
- ArrayLike
- def typeStr: String
- def unsafeArrayCopy(operand: Array[MyDbl2], offset: Int, copyLength: Int): Unit
- Definition Classes
- ArrBase
- def unsafeCopyFromArray(opArray: Array[Double], offset: Int = 0): Unit
- Definition Classes
- ArrProdDblN
- def unsafeFromArray(array: Array[Double]): MyDbl2s
- Definition Classes
- MyDbl2s → ArrProdDblN
- final def unsafeNew(length: Int): ThisT
- Definition Classes
- ArrProdDblN → ArrBase
- def unsafeSetElem(index: Int, elem: MyDbl2): Unit
- Definition Classes
- ArrProdDbl2 → ArrBase
- def unsafeSetElemSeq(index: Int, elems: Iterable[MyDbl2]): Unit
- Definition Classes
- ArrBase
- def unsafeSetElems(index: Int, elems: MyDbl2*): Unit
- Definition Classes
- ArrBase
- def unsafeSetHead(value: MyDbl2): Unit
- Definition Classes
- ArrBase
- def unsafeSetLast(value: MyDbl2): Unit
- Definition Classes
- ArrBase