Dbl4sArrFlatBuilder

trait Dbl4sArrFlatBuilder[B <: Dbl4Elem, ArrB <: Dbl4sArr[B]] extends DblNsArrFlatBuilder[B, ArrB]

Trait for creating the ArrTBuilder and ArrTFlatBuilder type class instances for Dbl4Arr final classes. Instances for the ArrTBuilder type class, for classes / traits you control, should go in the companion object of type B, which will extend Dbl4Elem. Instances for [[ArrTFlatBuilder] should go in the companion object the ArrT final class. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

trait DblNsArrFlatBuilder[B, ArrB]
trait ValueNsArrFlatBuilder[B, ArrB]
trait ArrTFlatBuilder[ArrB]
trait ArrTBuilderCommon[ArrB]
class Object
trait Matchable
class Any

Type members

Types

type BuffT <: Dbl4sBuffer[B]

Value members

Concrete methods

final override def elemSize: Int
Definition Classes

Inherited methods

override def buffGrowArr(buff: BuffT, arr: ArrB): Unit
final override def buffToArr(buff: BuffT): ArrB
def fromDblArray(array: Array[Double]): ArrB
Inherited from
DblNsArrFlatBuilder
def fromDblBuffer(inp: ArrayBuffer[Double]): BuffT
Inherited from
DblNsArrFlatBuilder
final override def newBuff(length: Int): BuffT