Packages

object DArray

The DArray object is the companion object for the DArray class.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DArray
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[A](a: Array[A])(implicit arg0: ClassTag[A]): DArray[A]

    Create a DArray from an Array.

    Create a DArray from an Array.

    a

    the Array to be converted

  2. def fill[A](n: Int)(elem: ⇒ A)(implicit arg0: ClassTag[A]): DArray[A]

    Create a DArray of type A and dimension 'n' with its values determined by the 'elem' function.

    Create a DArray of type A and dimension 'n' with its values determined by the 'elem' function.

    n

    the size of the DArray

    elem

    function giving the elements for the DArray

  3. def ofDim[A](n: Int)(implicit arg0: ClassTag[A]): DArray[A]

    Create a DArray with dimension 'n'.

    Create a DArray with dimension 'n'.

    n

    the size of the DArray