ArrayDblArrMapBuilder

ostrat.ArrayDblArrMapBuilder
trait ArrayDblArrMapBuilder[A <: ArrayDblBacked, ArrT <: ArrayDblArr[A]] extends ArrMapBuilder[A, ArrT]

This is the map builder for Arrays of Arrays of Double. It is not to be confused with the builder for Arrays of Double. It requires 3 memebers to be implemented in the final type BuffT, newBuff and fromArrayArrayDbl.

Attributes

Graph
Supertypes
trait ArrMapBuilder[A, ArrT]
trait SeqLikeMapBuilder[A, ArrT]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type BuffT <: ArrayDblBuff[A]

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

Value members

Abstract methods

def fromArrayArrayDbl(array: Array[Array[Double]]): ArrT

Concrete methods

final override def buffGrow(buff: BuffT, value: A): Unit

A mutable operation that extends the ArrayBuffer by a single element of type B.

A mutable operation that extends the ArrayBuffer by a single element of type B.

Attributes

Definition Classes
final override def buffToSeqLike(buff: BuffT): ArrT

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Definition Classes
final override def indexSet(seqLike: ArrT, index: Int, value: A): Unit

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Attributes

Definition Classes
final override def uninitialised(length: Int): ArrT

Creates a new uninitialised Arr of type ArrB of the given length.

Creates a new uninitialised Arr of type ArrB of the given length.

Attributes

Definition Classes

Inherited methods

def buffContains(buff: BuffT, newElem: A): Boolean

Attributes

Inherited from:
ArrMapBuilder
def buffGrowIter(buff: BuffT, values: Iterable[A]): 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.

Attributes

Inherited from:
SeqLikeMapBuilder
def iterMap[A](inp: Iterable[A], f: A => A): ArrB

Attributes

Inherited from:
ArrMapBuilder
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

Inherited from:
SeqLikeCommonBuilder