DblNPairArrMapBuilder

ostrat.DblNPairArrMapBuilder
trait DblNPairArrMapBuilder[B1 <: ElemDblN, ArrB1 <: DblNArr[B1], B2, B <: ElemDblNPair[B1, B2], ArrB <: DblNPairArr[B1, ArrB1, B2, B]] extends DblNPAirArrCommonBuilder[B1, ArrB1, B2, ArrB] with PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]

Attributes

Graph
Supertypes
trait PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait ArrMapBuilder[B, ArrB]
trait SeqLikeMapBuilder[B, ArrB]
trait DblNPAirArrCommonBuilder[B1, ArrB1, B2, ArrB]
trait PairArrCommonBuilder[B1, ArrB1, B2, ArrB]
class Object
trait Matchable
class Any
Known subtypes
trait Dbl2PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Dbl3PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Dbl4PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]

Members list

Concise view

Type members

Types

type BuffT <: DblNPairBuff[B1, B2, B]

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 types

type B1BuffT <: DblNBuff[B1]

The type of the Buff for accumulating B1s.

The type of the Buff for accumulating B1s.

Attributes

Inherited from:
DblNPAirArrCommonBuilder

Value members

Abstract methods

The number of Doubles required to construct the first component of the pairs.

The number of Doubles required to construct the first component of the pairs.

Attributes

Concrete methods

final inline override def buffGrow(buff: BuffT, value: B): 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 uninitialised(length: Int): ArrB

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 arrFromArrAndArray(b1Arr: ArrB1, b2s: Array[B2]): ArrB

Builder for the sequence of pairs, takes the results of the other two builder methods to produce the end product.

Builder for the sequence of pairs, takes the results of the other two builder methods to produce the end product.

Attributes

Inherited from:
PairArrMapBuilder
def arrFromArrays(b1ArrayDbl: Array[Double], b2Array: Array[B2]): ArrB

Constructs the Arr class from an Array[Double] object for the first components of the pairs and an Array[B2] for the second components of the pairs.

Constructs the Arr class from an Array[Double] object for the first components of the pairs and an Array[B2] for the second components of the pairs.

Attributes

Inherited from:
DblNPAirArrCommonBuilder
final override def arrFromBuffs(a1Buff: B1BuffT, b2s: ArrayBuffer[B2]): ArrB

Constructs an Arr of B from the Buffs of the B1 and B2 components.

Constructs an Arr of B from the Buffs of the B1 and B2 components.

Attributes

Definition Classes
Inherited from:
DblNPAirArrCommonBuilder
def b1ArrBuilder: ArrMapBuilder[B1, ArrB1]

Builder for an Arr of the first element of the pair.

Builder for an Arr of the first element of the pair.

Attributes

Inherited from:
PairArrMapBuilder
final override def b1BuffGrow(buff: B1BuffT, newElem: B1): Unit

Expands / appends the B1 Buff with a songle element of B1.

Expands / appends the B1 Buff with a songle element of B1.

Attributes

Definition Classes
Inherited from:
DblNPAirArrCommonBuilder
final def b1Uninitialised(length: Int): ArrB1

Attributes

Inherited from:
PairArrMapBuilder
def buffContains(buff: BuffT, newElem: B): Boolean

Attributes

Inherited from:
ArrMapBuilder
def buffFromBuffers(b1Buffer: ArrayBuffer[Double], b2Buffer: ArrayBuffer[B2]): BuffT

Constructs the Buff class from an ArrayBuffer[Double] object for the first components of the pairs and an ArrayBuffer[B2] for the second components of the pairs.

Constructs the Buff class from an ArrayBuffer[Double] object for the first components of the pairs and an ArrayBuffer[B2] for the second components of the pairs.

Attributes

Inherited from:
DblNPAirArrCommonBuilder
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.

Attributes

Inherited from:
SeqLikeMapBuilder
final override def buffToSeqLike(buff: BuffT): ArrB

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:
DblNPAirArrCommonBuilder
def indexSet(seqLike: ArrB, index: Int, value: B): 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

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

Attributes

Inherited from:
ArrMapBuilder

Constructs a new empty Buff for the B1 components of the pairs.

Constructs a new empty Buff for the B1 components of the pairs.

Attributes

Inherited from:
PairArrCommonBuilder
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:
DblNPAirArrCommonBuilder

Implicits

Inherited implicits

implicit def b2ClassTag: ClassTag[B2]

ClassTag for building Arrays and ArrayBuffers of B2s.

ClassTag for building Arrays and ArrayBuffers of B2s.

Attributes

Inherited from:
PairArrCommonBuilder