Packages

trait ScalarTag[T] extends ClassTag[T] with SpecializedFactory[T] with CouldBeOrdered[T] with CouldBeNumber[T]

Typeclass definition for scalar tags. A ScalarTag contains important meta-data regarding a scalar type, including how to instantiate a Buffer/Vec/Mat/Index of that type, as well as an array. Often implicitly required when dealing with objects in Saddle

Linear Supertypes
CouldBeNumber[T], CouldBeOrdered[T], SpecializedFactory[T], ClassTag[T], Equals, ClassManifestDeprecatedApis[T], OptManifest[T], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalarTag
  2. CouldBeNumber
  3. CouldBeOrdered
  4. SpecializedFactory
  5. ClassTag
  6. Equals
  7. ClassManifestDeprecatedApis
  8. OptManifest
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def compare(a: T, b: T)(implicit ev: ORD[T]): Int
    Definition Classes
    CouldBeOrdered
  2. abstract def inf(implicit ev: NUM[T]): T
    Definition Classes
    CouldBeNumber
  3. abstract def isMissing(t: T): Boolean
  4. abstract def makeBuf(sz: Int = org.saddle.Buffer.INIT_CAPACITY): Buffer[T]
    Definition Classes
    SpecializedFactory
  5. abstract def makeIndex(vec: Vec[T])(implicit ord: ORD[T]): Index[T]
    Definition Classes
    SpecializedFactory
  6. abstract def makeMat(r: Int, c: Int, arr: Array[T]): Mat[T]
    Definition Classes
    SpecializedFactory
  7. abstract def makeSorter(implicit ord: ORD[T]): Sorter[T]
    Definition Classes
    SpecializedFactory
  8. abstract def makeVec(arr: Array[T]): Vec[T]
    Definition Classes
    SpecializedFactory
  9. abstract def missing: T
  10. abstract def negInf(implicit ev: NUM[T]): T
    Definition Classes
    CouldBeNumber
  11. abstract def one(implicit ev: NUM[T]): T
    Definition Classes
    CouldBeNumber
  12. abstract def parse(s: Array[Char], from: Int, to: Int): T

    Parses from a char array

    Parses from a char array

    Does not throw on erroneous input, rather returns the missing value.

    s

    characters

    from

    first index, inclusive

    to

    last index, exclusive

    returns

    a parsed value, or the missing value if any error occurs

  13. abstract def runtimeClass: Class[_]
    Definition Classes
    ScalarTag → ClassTag
  14. abstract def show(v: T): String
  15. abstract def toDouble(t: T)(implicit ev: NUM[T]): Double
    Definition Classes
    CouldBeNumber
  16. abstract def zero(implicit ev: NUM[T]): T
    Definition Classes
    CouldBeNumber

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def altMatConstructor(r: Int, c: Int, arr: Array[Vec[T]])(implicit st: ST[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
    protected
    Definition Classes
    SpecializedFactory
  5. def argString: String
    Attributes
    protected
    Definition Classes
    ClassManifestDeprecatedApis
  6. def arrayClass[A](tp: Class[_]): Class[Array[A]]
    Attributes
    protected
    Definition Classes
    ClassManifestDeprecatedApis
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def asString(v: T): String
  9. def canEqual(x: Any): Boolean
    Definition Classes
    ClassTag → Equals → ClassManifestDeprecatedApis
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(o: Any): Boolean
    Definition Classes
    ScalarTag → ClassTag → Equals → AnyRef → Any
  13. def erasure: Class[_]
    Definition Classes
    ScalarTag → ClassManifestDeprecatedApis
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def gt(a: T, b: T)(implicit ev: ORD[T]): Boolean
    Definition Classes
    CouldBeOrdered
  17. def hashCode(): Int
    Definition Classes
    ScalarTag → ClassTag → AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def iseq(a: T, b: T)(implicit ev: ORD[T]): Boolean
    Definition Classes
    CouldBeOrdered
  20. def lt(a: T, b: T)(implicit ev: ORD[T]): Boolean
    Definition Classes
    CouldBeOrdered
  21. final def makeMat(arr: Array[Vec[T]])(implicit st: ST[T]): Mat[T]

    An alternative Mat factory method using array of Vecs

    An alternative Mat factory method using array of Vecs

    Definition Classes
    SpecializedFactory
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def newArray(len: Int): Array[T]
    Definition Classes
    ClassTag
  24. def notMissing(t: T): Boolean
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def strList(v: T): List[String]
  28. def strListLossless(v: T): List[String]
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    ScalarTag → ClassTag → AnyRef → Any
  31. def unapply(x: Any): Option[T]
    Definition Classes
    ClassTag
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. def wrap: ClassTag[Array[T]]
    Definition Classes
    ClassTag

Deprecated Value Members

  1. def <:<(that: ClassManifest[_]): Boolean
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use scala.reflect.runtime.universe.TypeTag for subtype checking instead

  2. def >:>(that: ClassManifest[_]): Boolean
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use scala.reflect.runtime.universe.TypeTag for subtype checking instead

  3. def arrayManifest: ClassManifest[Array[T]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap instead

  4. def newArray2(len: Int): Array[Array[T]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.newArray instead

  5. def newArray3(len: Int): Array[Array[Array[T]]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.wrap.newArray instead

  6. def newArray4(len: Int): Array[Array[Array[Array[T]]]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.wrap.wrap.newArray instead

  7. def newArray5(len: Int): Array[Array[Array[Array[Array[T]]]]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.wrap.wrap.wrap.newArray instead

  8. def newArrayBuilder(): ArrayBuilder[T]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use ArrayBuilder.make(this) instead

  9. def newWrappedArray(len: Int): ArraySeq[T]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) create WrappedArray directly instead

  10. def typeArguments: List[OptManifest[_]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use scala.reflect.runtime.universe.TypeTag to capture type structure instead

Inherited from CouldBeNumber[T]

Inherited from CouldBeOrdered[T]

Inherited from SpecializedFactory[T]

Inherited from ClassTag[T]

Inherited from Equals

Inherited from ClassManifestDeprecatedApis[T]

Inherited from OptManifest[T]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped