org.saddle.scalar

ScalarTag

Related Docs: object ScalarTag | package scalar

trait ScalarTag[T] extends ClassManifest[T] with SpecializedFactory[T] with CouldBeOrdered[T] with CouldBeNumber[T] with ScalarHelperOps[T] with Serializable

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
ScalarHelperOps[T], CouldBeNumber[T], CouldBeOrdered[T], SpecializedFactory[T], ClassTag[T], Equals, ClassManifestDeprecatedApis[T], OptManifest[T], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalarTag
  2. ScalarHelperOps
  3. CouldBeNumber
  4. CouldBeOrdered
  5. SpecializedFactory
  6. ClassTag
  7. Equals
  8. ClassManifestDeprecatedApis
  9. OptManifest
  10. Serializable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def compare(a: T, b: T)(implicit ev: ORD[T]): Int

    Definition Classes
    CouldBeOrdered
  2. abstract def concat(vecs: IndexedSeq[Vec[T]]): Vec[T]

    Offer a type-specific way to concat vecs

    Offer a type-specific way to concat vecs

    Definition Classes
    ScalarHelperOps
  3. abstract def inf(implicit ev: NUM[T]): T

    Definition Classes
    CouldBeNumber
  4. abstract def isMissing(t: T): Boolean

  5. abstract def makeBuf(sz: Int = Buffer.INIT_CAPACITY): Buffer[T]

    Definition Classes
    SpecializedFactory
  6. abstract def makeIndex(vec: Vec[T])(implicit ord: ORD[T]): Index[T]

    Definition Classes
    SpecializedFactory
  7. abstract def makeLoc(sz: Int = Buffer.INIT_CAPACITY): Locator[T]

    Definition Classes
    SpecializedFactory
  8. abstract def makeMat(r: Int, c: Int, arr: Array[T]): Mat[T]

    Definition Classes
    SpecializedFactory
  9. abstract def makeSorter(implicit ord: ORD[T]): Sorter[T]

    Definition Classes
    SpecializedFactory
  10. abstract def makeVec(arr: Array[T]): Vec[T]

    Definition Classes
    SpecializedFactory
  11. abstract def missing: T

  12. abstract def negInf(implicit ev: NUM[T]): T

    Definition Classes
    CouldBeNumber
  13. abstract def notMissing(t: T): Boolean

  14. abstract def one(implicit ev: NUM[T]): T

    Definition Classes
    CouldBeNumber
  15. abstract def runtimeClass: Class[_]

    Definition Classes
    ScalarTag → ClassTag
  16. abstract def show(v: T): String

  17. abstract def toDouble(t: T)(implicit ev: NUM[T]): Double

    Definition Classes
    CouldBeNumber
  18. 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[T](tp: Class[_]): Class[Array[T]]

    Attributes
    protected
    Definition Classes
    ClassManifestDeprecatedApis
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def canEqual(x: Any): Boolean

    Definition Classes
    ClassTag → Equals → ClassManifestDeprecatedApis
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(o: Any): Boolean

    Definition Classes
    ScalarTag → ClassTag → Equals → AnyRef → Any
  12. def erasure: Class[_]

    Definition Classes
    ScalarTag → ClassManifestDeprecatedApis
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def gt(a: T, b: T)(implicit ev: ORD[T]): Boolean

    Definition Classes
    CouldBeOrdered
  16. def hashCode(): Int

    Definition Classes
    ScalarTag → ClassTag → AnyRef → Any
  17. def isAny: Boolean

  18. def isAnyVal: Boolean

  19. def isDouble: Boolean

    Definition Classes
    ScalarTagCouldBeNumber
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def isTuple: Boolean

  22. def iseq(a: T, b: T)(implicit ev: ORD[T]): Boolean

    Definition Classes
    CouldBeOrdered
  23. def lt(a: T, b: T)(implicit ev: ORD[T]): Boolean

    Definition Classes
    CouldBeOrdered
  24. 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
  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. def newArray(len: Int): Array[T]

    Definition Classes
    ClassTag → ClassManifestDeprecatedApis
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def strList: (T) ⇒ List[String]

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    ScalarTag → ClassTag → AnyRef → Any
  32. def unapply(x: Unit): Option[T]

    Definition Classes
    ClassTag
  33. def unapply(x: Boolean): Option[T]

    Definition Classes
    ClassTag
  34. def unapply(x: Double): Option[T]

    Definition Classes
    ClassTag
  35. def unapply(x: Float): Option[T]

    Definition Classes
    ClassTag
  36. def unapply(x: Long): Option[T]

    Definition Classes
    ClassTag
  37. def unapply(x: Int): Option[T]

    Definition Classes
    ClassTag
  38. def unapply(x: Char): Option[T]

    Definition Classes
    ClassTag
  39. def unapply(x: Short): Option[T]

    Definition Classes
    ClassTag
  40. def unapply(x: Byte): Option[T]

    Definition Classes
    ClassTag
  41. def unapply(x: Any): Option[T]

    Definition Classes
    ClassTag
  42. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. 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): WrappedArray[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 ScalarHelperOps[T]

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 Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped