trait Scalar[S] extends Any

Trait signifying that the data is scalar (i.e., numeric).

Note that while unsigned integral types (UByte, UShort, UInt, ULong) are supported, some operations may be significantly slower than when using the built-in primitive (signed) data types. In other words, it may be worthwile to directly map the data to a signed type after reading, then working with the signed data.

S

the type of the actual scalar data.

Linear Supertypes
Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scalar
  2. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def fromByte(n: Byte): S
  2. abstract def fromDouble(n: Double): S
  3. abstract def fromFloat(n: Float): S
  4. abstract def fromInt(n: Int): S
  5. abstract def fromLong(n: Long): S
  6. abstract def fromShort(n: Short): S
  7. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  8. abstract def minus(s1: S, s2: S): S
  9. abstract def one: S
  10. abstract def plus(s1: S, s2: S): S
  11. abstract def times(s1: S, s2: S): S
  12. abstract def timesDouble(s1: S, d: Double): Double
  13. abstract def toByte(a: S): Byte
  14. abstract def toDouble(a: S): Double
  15. abstract def toFloat(a: S): Float
  16. abstract def toInt(a: S): Int
  17. abstract def toLong(a: S): Long
  18. abstract def toShort(a: S): Short
  19. abstract def zero: S

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  6. def hashCode(): Int
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def toString(): String
    Definition Classes
    Any

Inherited from Any

Ungrouped