Class

scalismo.common

AbstractScalarArray

Related Doc: package common

Permalink

abstract case class AbstractScalarArray[S, U](rawData: Array[U]) extends ScalarArray[S] with Product with Serializable

Basic implementation of ScalarArray, common to both primitive and value-class scalar arrays.

S

the type of the contained data.

U

the type of the underlying contained raw data

rawData

the actual raw data contained in the array

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

Instance Constructors

  1. new AbstractScalarArray(rawData: Array[U])

    Permalink

    rawData

    the actual raw data contained in the array

Abstract Value Members

  1. abstract 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
    ScalarArray
  2. abstract def fromUnderlying(u: U): 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

    u

    a value of the underlying type

    returns

    the corresponding value of the array type

    Attributes
    protected
  3. abstract 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
    ScalarArray

Concrete 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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. 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
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. 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
  12. 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
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. val rawData: Array[U]

    Permalink

    the actual raw data contained in the array

    the actual raw data contained in the array

    Attributes
    protected[scalismo]
  17. 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
  18. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ScalarArray[S]

Inherited from AnyRef

Inherited from Any

Ungrouped