trait
Scalar[S] extends Any
Abstract Value Members
-
abstract
def
fromByte(n: Byte): S
-
abstract
def
fromDouble(n: Double): S
-
abstract
def
fromFloat(n: Float): S
-
abstract
def
fromInt(n: Int): S
-
abstract
def
fromLong(n: Long): S
-
abstract
def
fromShort(n: Short): S
-
abstract
def
getClass(): Class[_]
-
abstract
def
toByte(a: S): Byte
-
abstract
def
toDouble(a: S): Double
-
abstract
def
toFloat(a: S): Float
-
abstract
def
toInt(a: S): Int
-
abstract
def
toLong(a: S): Long
-
abstract
def
toShort(a: S): Short
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
equals(arg0: Any): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
toString(): String
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.
the type of the actual scalar data.