Class

scalismo.common

PrimitiveScalarArray

Related Doc: package common

Permalink

final class PrimitiveScalarArray[S <: AnyVal] extends AbstractScalarArray[S, S]

A ScalarArray containing data of a native primitive data type.

S

the type of the contained data.

Linear Supertypes
AbstractScalarArray[S, S], Serializable, Serializable, Product, Equals, ScalarArray[S], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PrimitiveScalarArray
  2. AbstractScalarArray
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. ScalarArray
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrimitiveScalarArray(rawData: Array[S])(implicit arg0: ClassTag[S])

    Permalink

    rawData

    the actual raw data contained in the array

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(index: Int): S

    Permalink

    Returns the indexth element of the array

    Returns the indexth element of the array

    index

    the index of the value to return

    returns

    the value at index index

    Definition Classes
    PrimitiveScalarArrayScalarArray
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    PrimitiveScalarArrayAbstractScalarArray → Equals
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    PrimitiveScalarArrayAbstractScalarArray → Equals → AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromUnderlying(u: S): S

    Permalink

    Convert one datum from the underlying type to the ScalarArray's type.

    Convert one datum from the underlying type to the ScalarArray's type. Since for primitive scalars, the underlying data type is the same as the array's data type, the input value is returned unchanged.

    u

    a value of this array's data type

    returns

    the value, unchanged

    Attributes
    protected
    Definition Classes
    PrimitiveScalarArrayAbstractScalarArray
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. lazy val hashCode: Int

    Permalink
    Definition Classes
    PrimitiveScalarArrayAbstractScalarArray → AnyRef → Any
  14. final def isDefinedAt(index: Int): Boolean

    Permalink

    Determines if index lies within the bounds of the array

    Determines if index lies within the bounds of the array

    index

    the index in the array for which to check if it lies within the array bounds

    returns

    true if index lies within the array bounds, false otherwise.

    Definition Classes
    ScalarArray
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def iterator: Iterator[S]

    Permalink

    Returns an iterator over the array's values.

    Returns an iterator over the array's values.

    returns

    an iterator over the array's values.

    Definition Classes
    PrimitiveScalarArrayScalarArray
  17. final def length: Int

    Permalink

    Returns the length of the data array.

    Returns the length of the data array.

    returns

    the length of the data array

    Definition Classes
    AbstractScalarArrayScalarArray
  18. def map[T](f: (S) ⇒ T)(implicit arg0: Scalar[T], arg1: ClassTag[T]): ScalarArray[T]

    Permalink

    Maps this ScalarArray to another ScalarArray using the given mapping function

    Maps this ScalarArray to another ScalarArray using the given mapping function

    T

    the type of the values of the resulting ScalarArray

    f

    the mapping function to use

    returns

    a new ScalarArray whose values correspond to the values of this instance, mapped by the function f

    Definition Classes
    AbstractScalarArrayScalarArray
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val rawData: Array[S]

    Permalink

    the actual raw data contained in the array

    the actual raw data contained in the array

    Attributes
    protected[scalismo]
    Definition Classes
    AbstractScalarArray
  23. final lazy val size: Int

    Permalink

    Returns the length of the data array.

    Returns the length of the data array. This is an alias for ScalarArray#length

    Definition Classes
    ScalarArray
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AbstractScalarArray[S, S]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ScalarArray[S]

Inherited from AnyRef

Inherited from Any

Ungrouped