Trait/Object

scalismo.common

Scalar

Related Docs: object Scalar | package common

Permalink

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Scalar
  2. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def fromByte(n: Byte): S

    Permalink
  2. abstract def fromDouble(n: Double): S

    Permalink
  3. abstract def fromFloat(n: Float): S

    Permalink
  4. abstract def fromInt(n: Int): S

    Permalink
  5. abstract def fromLong(n: Long): S

    Permalink
  6. abstract def fromShort(n: Short): S

    Permalink
  7. abstract def getClass(): Class[_]

    Permalink
    Definition Classes
    Any
  8. abstract def toByte(a: S): Byte

    Permalink
  9. abstract def toDouble(a: S): Double

    Permalink
  10. abstract def toFloat(a: S): Float

    Permalink
  11. abstract def toInt(a: S): Int

    Permalink
  12. abstract def toLong(a: S): Long

    Permalink
  13. abstract def toShort(a: S): Short

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  6. def hashCode(): Int

    Permalink
    Definition Classes
    Any
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from Any

Ungrouped