Class/Object

cogx.platform.cpumemory

ScalarFieldMemory

Related Docs: object ScalarFieldMemory | package cpumemory

Permalink

final class ScalarFieldMemory extends AbstractFieldMemory with cpumemory.readerwriter.ScalarFieldReader with cpumemory.readerwriter.ScalarFieldWriter

CPU memory for a scalar field.

Linear Supertypes
readerwriter.ScalarFieldWriter, FieldWriter, readerwriter.ScalarFieldReader, Iterable[Float], IterableLike[Float, Iterable[Float]], Equals, GenIterable[Float], GenIterableLike[Float, Iterable[Float]], Traversable[Float], GenTraversable[Float], GenericTraversableTemplate[Float, Iterable], TraversableLike[Float, Iterable[Float]], GenTraversableLike[Float, Iterable[Float]], Parallelizable[Float, ParIterable[Float]], TraversableOnce[Float], GenTraversableOnce[Float], FilterMonadic[Float, Iterable[Float]], HasNewBuilder[Float, Iterable[Float] @scala.annotation.unchecked.uncheckedVariance], AbstractFieldMemory, readerwriter.FieldReader, FieldMemoryLayout, FieldParameters, FieldLimits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ScalarFieldMemory
  2. ScalarFieldWriter
  3. FieldWriter
  4. ScalarFieldReader
  5. Iterable
  6. IterableLike
  7. Equals
  8. GenIterable
  9. GenIterableLike
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. AbstractFieldMemory
  21. FieldReader
  22. FieldMemoryLayout
  23. FieldParameters
  24. FieldLimits
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Iterable[Float]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Float, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: Float, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  5. def ++:[B >: Float, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def /:[B](z: B)(op: (B, Float) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. def :\[B](z: B)(op: (Float, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. val MaxFieldDimensions: Int

    Permalink

    Maximum number of dimensions in tensor fields.

    Maximum number of dimensions in tensor fields.

    Definition Classes
    FieldLimits
  10. val MaxTensorOrder: Int

    Permalink

    Maximum supported tensor order for tensors in field.

    Maximum supported tensor order for tensors in field.

    Definition Classes
    FieldLimits
  11. val PixelSize: Int

    Permalink
    Definition Classes
    FieldMemoryLayout
  12. var _byteBuffer: ByteBuffer

    Permalink

    The actual memory for the field.

    The actual memory for the field.

    Attributes
    protected
    Definition Classes
    AbstractFieldMemory
  13. var _directBuffer: Buffer

    Permalink
    Attributes
    protected
    Definition Classes
    AbstractFieldMemory
  14. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  16. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  17. def aggregate[B](z: ⇒ B)(seqop: (B, Float) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  18. def allocateDirectByteBuffer(bytes: Int): ByteBuffer

    Permalink

    Allocates a direct ByteBuffer with native ordering.

    Allocates a direct ByteBuffer with native ordering.

    bytes

    Number of bytes in the buffer

    returns

    A direct byte buffer.

    Attributes
    protected
    Definition Classes
    AbstractFieldMemory
  19. def allocateIndirectByteBuffer(bytes: Int): ByteBuffer

    Permalink

    Allocates an indirect ByteBuffer with native ordering.

    Allocates an indirect ByteBuffer with native ordering.

    bytes

    Number of bytes in the buffer

    returns

    An indirect byte buffer.

    Attributes
    protected
    Definition Classes
    AbstractFieldMemory
  20. def allocatePinnedDirectByteBuffer(bytes: Int, commandQueue: OpenCLParallelCommandQueue): ByteBuffer

    Permalink

    Allocates a pinned, direct ByteBuffer with native (?) ordering.

    Allocates a pinned, direct ByteBuffer with native (?) ordering.

    There is no way in OpenCL to create a pinned buffer, but the "NVIDIA OpenCL Best Practices Guide" suggests that this has the highest probability of success.

    bytes

    Number of bytes in the buffer

    commandQueue

    Command queue needed for mapping allocated buffer to a direct buffer.

    returns

    A pinned, direct byte buffer.

    Attributes
    protected
    Definition Classes
    AbstractFieldMemory
  21. def approxEquals(that: readerwriter.FieldReader, maxError: Float = 0.001f): Boolean

    Permalink

    Test for approximate equality between this and that using L-infinity norm.

    Test for approximate equality between this and that using L-infinity norm.

    that

    AbstractFieldMemory to compare to this

    maxError

    Maximum L-infinity error value to consider equal

    returns

    true if L_inf(this, that) <= maxError

    Definition Classes
    FieldReader
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. val bufferType: BufferType

    Permalink
    Definition Classes
    AbstractFieldMemory
  24. val bytesPerNumber: Int

    Permalink

    Number of bytes in each "number" of the element.

    Number of bytes in each "number" of the element.

    Definition Classes
    FieldMemoryLayout
  25. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def collect[B, That](pf: PartialFunction[Float, B])(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  28. def collectFirst[B](pf: PartialFunction[Float, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  29. val columns: Int

    Permalink

    "Columns" in the field.

    "Columns" in the field. See class description for meaning of columns.

    Definition Classes
    FieldParameters
  30. def companion: GenericCompanion[Iterable]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  31. def compareLinf(that: readerwriter.FieldReader): Float

    Permalink

    Compute the L-infinity norm on the difference of this and that.

    Compute the L-infinity norm on the difference of this and that.

    that

    AbstractFieldMemory to compare to this

    returns

    L-infinity error

    Definition Classes
    ScalarFieldMemoryFieldReader
  32. def copyTo(that: AbstractFieldMemory): Unit

    Permalink

    Copy the data in this to another field memory.

    Copy the data in this to another field memory.

    that

    Field memory to receive a copy of the data in this.

    Definition Classes
    AbstractFieldMemory
  33. def copyToArray[B >: Float](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  34. def copyToArray[B >: Float](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def copyToArray[B >: Float](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def copyToBuffer[B >: Float](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  37. def count(p: (Float) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def destroyed: Boolean

    Permalink
    Definition Classes
    AbstractFieldMemory
  39. val dimensions: Int

    Permalink

    Dimensions of the field.

    Dimensions of the field.

    Definition Classes
    FieldParameters
  40. def directBuffer: FloatBuffer

    Permalink

    The direct buffer for this memory.

    The direct buffer for this memory. This is always a view of _byteBuffer, but upcast to the appropriate subclass of Buffer using, for example, ByteBuffer.asFloatBuffer. The view calls are somewhat dangerous because they create a view with proper endianness for Java (which uses the native endianness internally) but they can also change the endianness of _byteBuffer. This is subtle, so read the Java documentation carefully if you need to change this.

    Definition Classes
    ScalarFieldMemoryAbstractFieldMemory
  41. def drop(n: Int): Iterable[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  42. def dropRight(n: Int): Iterable[Float]

    Permalink
    Definition Classes
    IterableLike
  43. def dropWhile(p: (Float) ⇒ Boolean): Iterable[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  44. val elementType: types.ElementTypes.ElementType

    Permalink

    The type of scalar that populates the tensor.

    The type of scalar that populates the tensor.

    Definition Classes
    FieldMemoryLayout
  45. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  46. def equals(that: readerwriter.FieldReader): Boolean

    Permalink

    Test for exact equality between this and that.

    Test for exact equality between this and that.

    that

    AbstractFieldMemory to compare to this

    returns

    true if every value in this and that is exactly equal

    Definition Classes
    FieldReader
  47. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  48. def exists(p: (Float) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  49. val fieldRowStride: Int

    Permalink

    Stride from beginning of one row to the next.

    Stride from beginning of one row to the next.

    Definition Classes
    FieldMemoryLayout
  50. val fieldShape: cogmath.geometry.Shape

    Permalink

    Shape of the field.

    Shape of the field.

    Definition Classes
    FieldParameters
  51. val fieldType: types.FieldType

    Permalink

    Type of the field.

    Type of the field.

    Definition Classes
    FieldMemoryLayout → FieldParameters
  52. def filter(p: (Float) ⇒ Boolean): Iterable[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  53. def filterNot(p: (Float) ⇒ Boolean): Iterable[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  54. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  55. def find(p: (Float) ⇒ Boolean): Option[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  56. def flatMap[B, That](f: (Float) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  57. def flatten[B](implicit asTraversable: (Float) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  58. def fold[A1 >: Float](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def foldLeft[B](z: B)(op: (B, Float) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def foldRight[B](z: B)(op: (Float, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  61. def forall(p: (Float) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  62. def foreach[U](f: (Float) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  63. def genericBuilder[B]: Builder[B, Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  64. def get(dst: Array[Array[Array[Float]]]): Unit

    Permalink

    Read the entire 3D field into the provided Array[Array[Array[Float]]]

    Read the entire 3D field into the provided Array[Array[Array[Float]]]

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  65. def get(dst: Array[Array[Float]]): Unit

    Permalink

    Read the entire 2D field into the provided Array[Array[Float]]

    Read the entire 2D field into the provided Array[Array[Float]]

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  66. def get(srcIndex: Int, dst: Array[Float], dstIndex: Int, length: Int): Unit

    Permalink

    Read length values of the 0D or 1D scalar field into the dst Array[Float], starting at the source buffer's srcIndex position, and placing the values in the dst Array starting at position dstIndex.

    Read length values of the 0D or 1D scalar field into the dst Array[Float], starting at the source buffer's srcIndex position, and placing the values in the dst Array starting at position dstIndex.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  67. def get(srcIndex: Int, dst: Array[Float]): Unit

    Permalink

    Read a portion of the values of the 0D or 1D scalar field into an Array[Float], starting at the source buffer's srcIndex position.

    Read a portion of the values of the 0D or 1D scalar field into an Array[Float], starting at the source buffer's srcIndex position.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  68. def get(dst: Array[Float]): Unit

    Permalink

    Read the entire 0D or 1D field into the provided Array[Float].

    Read the entire 0D or 1D field into the provided Array[Float].

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  69. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  70. def groupBy[K](f: (Float) ⇒ K): Map[K, Iterable[Float]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  71. def grouped(size: Int): Iterator[Iterable[Float]]

    Permalink
    Definition Classes
    IterableLike
  72. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  73. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  74. def head: Float

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  75. def headOption: Option[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  76. def init: Iterable[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  77. def inits: Iterator[Iterable[Float]]

    Permalink
    Definition Classes
    TraversableLike
  78. def isEmpty: Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  79. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  80. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  81. def iterator: Iterator[Float]

    Permalink

    An iterator over all values in the field that assumes no column padding, scanning in row-major order.

    An iterator over all values in the field that assumes no column padding, scanning in row-major order.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader → IterableLike → GenIterableLike
  82. def last: Float

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  83. def lastOption: Option[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  84. val layers: Int

    Permalink

    "Layers" in the field.

    "Layers" in the field. See class description for meaning of layers.

    Definition Classes
    FieldParameters
  85. def map[B, That](f: (Float) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  86. def max[B >: Float](implicit cmp: Ordering[B]): Float

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def maxBy[B](f: (Float) ⇒ B)(implicit cmp: Ordering[B]): Float

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def min[B >: Float](implicit cmp: Ordering[B]): Float

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def minBy[B](f: (Float) ⇒ B)(implicit cmp: Ordering[B]): Float

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  94. def newBuilder: Builder[Float, Iterable[Float]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  95. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  98. val numbersInTensor: Int

    Permalink

    Number of "numbers" in each tensor in the field.

    Number of "numbers" in each tensor in the field.

    Definition Classes
    FieldMemoryLayout
  99. val paddedColumns: Int

    Permalink

    Columns rounded up for memory alignment when necessary.

    Columns rounded up for memory alignment when necessary. Note that images do not have alignment requirements.

    Update: Padding of columns has been removed! Motivation:

    1. With caches now common in GPUs, this had no measurable performance benefit. 2. The native runtime exposes the layout to the user apps, and no notion of padding was described. 3. The padding introduced corner-cases where the footprint of certain fields grows dramatically, which affects buffer transfer times between GPUs and makes the GPU caches less effective.

    Definition Classes
    FieldMemoryLayout
  100. val pageSize: Int

    Permalink

    Number of elements required to represent a single tensor element in a field, including whatever padding is needed for I/O efficiency.

    Number of elements required to represent a single tensor element in a field, including whatever padding is needed for I/O efficiency.

    Definition Classes
    FieldMemoryLayout
  101. def par: ParIterable[Float]

    Permalink
    Definition Classes
    Parallelizable
  102. def parCombiner: Combiner[Float, ParIterable[Float]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  103. val partStride: Int

    Permalink

    Stride from beginning of one part of a multi-component tensor element (e.g.

    Stride from beginning of one part of a multi-component tensor element (e.g. a complex) to the next part.

    Definition Classes
    FieldMemoryLayout
  104. def partition(p: (Float) ⇒ Boolean): (Iterable[Float], Iterable[Float])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  105. def print(): Unit

    Permalink

    Print out the field for debugging.

    Print out the field for debugging.

    Definition Classes
    ScalarFieldMemoryAbstractFieldMemory
  106. def product[B >: Float](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def read(layer: Int, row: Int, col: Int): Float

    Permalink

    Read the value at (layer, row, col) in a 3D scalar field.

    Read the value at (layer, row, col) in a 3D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  108. def read(row: Int, col: Int): Float

    Permalink

    Read the value at (row, col) in a 2D scalar field.

    Read the value at (row, col) in a 2D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  109. def read(col: Int): Float

    Permalink

    Read the value at (col) in a 1D scalar field.

    Read the value at (col) in a 1D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  110. def read(): Float

    Permalink

    Read the single value in a 0D scalar field.

    Read the single value in a 0D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldReader
  111. def reduce[A1 >: Float](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def reduceLeft[B >: Float](op: (B, Float) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  113. def reduceLeftOption[B >: Float](op: (B, Float) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  114. def reduceOption[A1 >: Float](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def reduceRight[B >: Float](op: (Float, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  116. def reduceRightOption[B >: Float](op: (Float, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def repr: Iterable[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  118. def reversed: List[Float]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  119. val rows: Int

    Permalink

    "Rows" in the field.

    "Rows" in the field. See class description for meaning of rows.

    Definition Classes
    FieldParameters
  120. def sameElements[B >: Float](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  121. def scan[B >: Float, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  122. def scanLeft[B, That](z: B)(op: (B, Float) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  123. def scanRight[B, That](z: B)(op: (Float, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Float], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  124. def seq: Iterable[Float]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  125. def setShape(layers: Int, rows: Int, columns: Int): Unit

    Permalink

    Set the shape to layers x rows x columns.

    Set the shape to layers x rows x columns.

    Definition Classes
    ScalarFieldWriter
  126. def setShape(rows: Int, columns: Int): Unit

    Permalink

    Set the shape to rows x columns.

    Set the shape to rows x columns.

    Definition Classes
    ScalarFieldWriter
  127. def setShape(columns: Int): Unit

    Permalink

    Set the shape to columns.

    Set the shape to columns.

    Definition Classes
    ScalarFieldWriter
  128. def setShape(): Unit

    Permalink

    Set the shape to be 0D.

    Set the shape to be 0D.

    Definition Classes
    ScalarFieldWriter
  129. def setShape(shape: cogmath.geometry.Shape): Unit

    Permalink

    Set the shape of the scalar field for writing.

    Set the shape of the scalar field for writing.

    If the field already has a defined shape, this does nothing. Subclasses that allow field shape to be defined must override this method.

    shape

    The desired shape of the scalar field for writing

    Definition Classes
    ScalarFieldWriter
  130. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  131. def slice(from: Int, until: Int): Iterable[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  132. def sliding(size: Int, step: Int): Iterator[Iterable[Float]]

    Permalink
    Definition Classes
    IterableLike
  133. def sliding(size: Int): Iterator[Iterable[Float]]

    Permalink
    Definition Classes
    IterableLike
  134. def span(p: (Float) ⇒ Boolean): (Iterable[Float], Iterable[Float])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  135. def splitAt(n: Int): (Iterable[Float], Iterable[Float])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  136. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  137. def sum[B >: Float](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  138. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  139. def tail: Iterable[Float]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  140. def tails: Iterator[Iterable[Float]]

    Permalink
    Definition Classes
    TraversableLike
  141. def take(n: Int): Iterable[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  142. def takeRight(n: Int): Iterable[Float]

    Permalink
    Definition Classes
    IterableLike
  143. def takeWhile(p: (Float) ⇒ Boolean): Iterable[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  144. val tensorOrder: Int

    Permalink

    Order of the tensors in the field.

    Order of the tensors in the field.

    Definition Classes
    FieldParameters
  145. val tensorShape: cogmath.geometry.Shape

    Permalink

    Shape of the tensors in the field.

    Shape of the tensors in the field.

    Definition Classes
    FieldParameters
  146. val tensorStride: Int

    Permalink

    Stride from beginning of one tensor element to the next.

    Stride from beginning of one tensor element to the next.

    Definition Classes
    FieldMemoryLayout
  147. def thisCollection: Iterable[Float]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  148. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Float, Col[Float]]): Col[Float]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  149. def toArray[B >: Float](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  150. def toBuffer[B >: Float]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  151. def toCollection(repr: Iterable[Float]): Iterable[Float]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  152. def toIndexedSeq: IndexedSeq[Float]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  153. def toIterable: Iterable[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  154. def toIterator: Iterator[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  155. def toList: List[Float]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  156. def toMap[T, U](implicit ev: <:<[Float, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  157. def toSeq: Seq[Float]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  158. def toSet[B >: Float]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  159. def toStream: Stream[Float]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  160. def toString(): String

    Permalink
    Definition Classes
    TraversableLike → Any
  161. def toTraversable: Traversable[Float]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  162. def toVector: scala.Vector[Float]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  163. def transpose[B](implicit asTraversable: (Float) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  164. def unzip[A1, A2](implicit asPair: (Float) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  165. def unzip3[A1, A2, A3](implicit asTriple: (Float) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  166. def view(from: Int, until: Int): IterableView[Float, Iterable[Float]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  167. def view: IterableView[Float, Iterable[Float]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  168. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  171. def withFilter(p: (Float) ⇒ Boolean): FilterMonadic[Float, Iterable[Float]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  172. def write(layer: Int, row: Int, col: Int, value: Float): Unit

    Permalink

    Write value at (layer, row, col) in a 3D scalar field.

    Write value at (layer, row, col) in a 3D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldWriter
  173. def write(row: Int, col: Int, value: Float): Unit

    Permalink

    Write value at (row, col) in a 2D scalar field.

    Write value at (row, col) in a 2D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldWriter
  174. def write(col: Int, value: Float): Unit

    Permalink

    Write value at (col) in a 1D scalar field.

    Write value at (col) in a 1D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldWriter
  175. def write(value: Float): Unit

    Permalink

    Write value to a 0D scalar field.

    Write value to a 0D scalar field.

    Definition Classes
    ScalarFieldMemoryScalarFieldWriter
  176. def write(data: Array[_]): Unit

    Permalink

    Fill memory with values from an Array[Float], Array[Array[Float]], etc.

  177. def write(values: Iterator[Float]): Unit

    Permalink

    Fill memory with values produced by an iterator.

  178. def zip[A1 >: Float, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[Float], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  179. def zipAll[B, A1 >: Float, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[Float], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  180. def zipWithIndex[A1 >: Float, That](implicit bf: CanBuildFrom[Iterable[Float], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from FieldWriter

Inherited from Iterable[Float]

Inherited from IterableLike[Float, Iterable[Float]]

Inherited from Equals

Inherited from GenIterable[Float]

Inherited from GenIterableLike[Float, Iterable[Float]]

Inherited from Traversable[Float]

Inherited from GenTraversable[Float]

Inherited from GenericTraversableTemplate[Float, Iterable]

Inherited from TraversableLike[Float, Iterable[Float]]

Inherited from GenTraversableLike[Float, Iterable[Float]]

Inherited from Parallelizable[Float, ParIterable[Float]]

Inherited from TraversableOnce[Float]

Inherited from GenTraversableOnce[Float]

Inherited from FilterMonadic[Float, Iterable[Float]]

Inherited from HasNewBuilder[Float, Iterable[Float] @scala.annotation.unchecked.uncheckedVariance]

Inherited from AbstractFieldMemory

Inherited from readerwriter.FieldReader

Inherited from FieldMemoryLayout

Inherited from FieldParameters

Inherited from FieldLimits

Inherited from AnyRef

Inherited from Any

Ungrouped