Class

com.stripe.agate.tensor.Shape

DimsOps

Related Doc: package Shape

Permalink

implicit final class DimsOps extends AnyVal

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

Instance Constructors

  1. new DimsOps(lhs: Dims)

    Permalink

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 broadcastTo(axes: Axes): Try[Dims]

    Permalink

    This is an implementation of unidirectional broadcasting.

    This is an implementation of unidirectional broadcasting. Try to broadcast the lhs into the given Axes.

  6. def chunk(axis: Long, size: Long): Try[Seq[Dims]]

    Permalink
  7. def coordsToIndex(coords: Coords): Long

    Permalink
  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. def isRowMajor: Boolean

    Permalink
  11. val lhs: Dims

    Permalink
  12. def reshapeRowMajor(axes: Axes): Try[Dims]

    Permalink

    see: https://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html convert the shape of the current rowMajor Dims into a new Dims

  13. def select(range: List[AxisRange]): Dims

    Permalink

    this is like numpy's slicing operator: e.g.

    this is like numpy's slicing operator: e.g. foo[0:10:1, 2:8:2] We can always select, but may return effectively empty ranges

  14. def squeeze(axis: Long): Option[Dims]

    Permalink
  15. def toString(): String

    Permalink
    Definition Classes
    Any
  16. def unchunk(axis: Long): Try[Dims]

    Permalink
  17. def unsqueeze(axis: Long): Option[Dims]

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped