DblNsArrBuilder

trait DblNsArrBuilder[B <: DblNElem, ArrB <: DblNsArr[B]] extends ValueNsArrBuilder[B, ArrB]

Trait for creating the ArrTBuilder type class instances for DblNsArr final classes. Instances for the ArrTBuilder type class, for classes / traits you control, should go in the companion object of B. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

trait ValueNsArrBuilder[B, ArrB]
trait ArrTBuilder[B, ArrB]
trait ArrTBuilderCommon[ArrB]
class Object
trait Matchable
class Any
trait Dbl2sArrBuilder[B, ArrB]
trait Dbl3sArrBuilder[B, ArrB]
trait Dbl4sArrBuilder[B, ArrB]

Type members

Types

type BuffT <: DblNsBuffer[B]

Value members

Abstract methods

def fromDblArray(array: Array[Double]): ArrB
def fromDblBuffer(inp: ArrayBuffer[Double]): BuffT

Concrete methods

final override def buffGrow(buff: BuffT, value: B): Unit
Definition Classes
final override def buffGrowArr(buff: BuffT, arr: ArrB): Unit
Definition Classes
final override def buffToArr(buff: BuffT): ArrB
Definition Classes
final override def newArr(length: Int): ArrB
Definition Classes
final override def newBuff(length: Int): BuffT
Definition Classes

Inherited methods

def arrSet(arr: ArrB, index: Int, value: B): Unit
Inherited from
ArrTBuilder
def buffContains(buff: BuffT, newElem: B): Boolean
Inherited from
ArrTBuilder
def buffGrowIter(buff: BuffT, values: Iterable[B]): Unit

A mutable operation that extends the ArrayBuffer with the elements of the Iterable operand.

A mutable operation that extends the ArrayBuffer with the elements of the Iterable operand.

Inherited from
ArrTBuilder
def elemSize: Int
Inherited from
ValueNsArrBuilder
def iterMap[A](inp: Iterable[A], f: A => B): ArrB
Inherited from
ArrTBuilder