Class

com.stripe.agate.tensor.Shape

AxesOps

Related Doc: package Shape

Permalink

implicit final class AxesOps extends AnyVal

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

Instance Constructors

  1. new AxesOps(axes: Axes)

    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. val axes: Axes

    Permalink
  6. def concatenate(axis: Long, rhs: Axes): Try[Axes]

    Permalink

    If we have two shapes that are equal in size in all but one axis, we can concatenate them along the non-equal axis

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

    Permalink
    Definition Classes
    AnyVal → Any
  8. def inferReshapeTo(rhs: Axes): Try[Axes]

    Permalink

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

  9. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  10. def reduce(along: List[Long], keepDims: Boolean): Try[Axes]

    Permalink
  11. def rowMajorIndex(coords: Coords): Long

    Permalink
  12. def toSingleton: Axes

    Permalink

    convert to something of the same rank, with totalSize == 1L

  13. def toString(): String

    Permalink
    Definition Classes
    Any
  14. def unsqueeze(axis: Long): Option[Axes]

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped