Dbl2ArrFlatBuilder

ostrat.Dbl2ArrFlatBuilder
trait Dbl2ArrFlatBuilder[ArrB <: Dbl2Arr[_]] extends Dbl2SeqLikeCommonBuilder[ArrB] with DblNArrFlatBuilder[ArrB]

Trait for creating the ArrTFlatBuilder type class instances for Dbl2Arr final classes. Instances for [[ArrFlatBuilder] should go in the companion object the ArrT final class. The first type parameter is called B, because it corresponds to the B in

build: ArrTBuilder[B, ArrB]): ArrB

function. build: ArrTBuilder[B, ArrB]): ArrB


Attributes

Graph
Supertypes
trait DblNArrFlatBuilder[ArrB]
trait ArrFlatBuilder[ArrB]
trait SeqLikeFlatBuilder[ArrB]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type BuffT <: Dbl2Buff[_]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

Attributes

Inherited from:
Dbl2SeqLikeCommonBuilder

Value members

Inherited methods

Attributes

Inherited from:
DblNSeqLikeCommonBuilder
override def buffGrowArr(buff: BuffT, arr: ArrB): Unit

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

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

Attributes

Definition Classes
Inherited from:
DblNArrFlatBuilder
final override def buffToSeqLike(buff: BuffT): BB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Definition Classes
Inherited from:
DblNSeqLikeCommonBuilder
final override def elemProdSize: Int
def fromDblArray(array: Array[Double]): BB

Attributes

Inherited from:
DblNSeqLikeCommonBuilder
final override def newBuff(length: Int): BuffT

Creates a new empty Buff with a default capacity of 4 elements.

Creates a new empty Buff with a default capacity of 4 elements.

Attributes

Definition Classes
Inherited from:
DblNSeqLikeCommonBuilder