SpecializedFactory

org.saddle.scalar.SpecializedFactory

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait ScalarTag[T]
object ScalarTagBool.type
object ScalarTagDouble.type
object ScalarTagInt.type
object ScalarTagLong.type

Members list

Concise view

Value members

Abstract methods

def makeBuf(sz: Int): Buffer[T]
def makeIndex(vec: Vec[T])(implicit ord: Order[T]): Index[T]
def makeLoc(sz: Int): Locator[T]
def makeMat(r: Int, c: Int, arr: Array[T]): Mat[T]
def makeSorter(implicit ord: Order[T]): Sorter[T]
def makeVec(arr: Array[T]): Vec[T]

Concrete methods

protected def altMatConstructor(r: Int, c: Int, arr: Array[Vec[T]])(implicit st: ScalarTag[T]): Mat[T]

Can override this default construction methodology to avoid the toArray call if you don't want to extract elements that way.

Can override this default construction methodology to avoid the toArray call if you don't want to extract elements that way.

Attributes

final def makeMat(arr: Array[Vec[T]])(implicit st: ScalarTag[T]): Mat[T]

An alternative Mat factory method using array of Vecs

An alternative Mat factory method using array of Vecs

Attributes