Class

com.stripe.agate.tensor.Shape

NonEmpty

Related Doc: package Shape

Permalink

case class NonEmpty[A](size: Long, tag: A, rest: Shape[A]) extends Shape[A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Shape[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmpty
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Shape
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NonEmpty(size: Long, tag: A, rest: Shape[A])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[A1 >: A](that: Shape[A1]): Shape[A1]

    Permalink
    Definition Classes
    Shape
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def at(axis: Long): Option[(Long, A, Shape[A])]

    Permalink
    Definition Classes
    Shape
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def components: List[Long]

    Permalink
    Definition Classes
    Shape
  9. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def insert[A1 >: A](i: Long, len: Long, a1: A1): Shape[A1]

    Permalink

    Insert (len, a) into the shape at position i.

    Insert (len, a) into the shape at position i.

    We require 0 <= i <= s.rank.

    Definition Classes
    Shape
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def last: (Shape[A], Long, A)

    Permalink

    Remove the last element of the shape, returning the rest of the shape and the data.

    Remove the last element of the shape, returning the rest of the shape and the data.

    Unlike removing the first element of the shape, this method is relatively expensive.

    Requires shape to be non-empty.

    Definition Classes
    Shape
  15. def lengthOf(axis: Long): Option[Long]

    Permalink
    Definition Classes
    Shape
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def rank: Int

    Permalink

    This is also known as rank

    This is also known as rank

    Definition Classes
    Shape
  20. val rest: Shape[A]

    Permalink
  21. def rowsByCols: Option[(Long, Long)]

    Permalink
    Definition Classes
    Shape
  22. val size: Long

    Permalink
  23. def split(axis: Long): Option[(Shape[A], Long, A, Shape[A])]

    Permalink
    Definition Classes
    Shape
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. val tag: A

    Permalink
  26. def toList: List[(Long, A)]

    Permalink
    Definition Classes
    Shape
  27. def toString(): String

    Permalink
    Definition Classes
    Shape → AnyRef → Any
  28. def transpose(axes: List[Long]): Try[Shape[A]]

    Permalink

    Given a permutation, perform that permutation on the Shape

    Given a permutation, perform that permutation on the Shape

    this implies the input must have length == rank

    Definition Classes
    Shape
  29. def transpose(axis1: Long, axis2: Long): Option[Shape[A]]

    Permalink

    Return None if either of the axes are not valid

    Return None if either of the axes are not valid

    Definition Classes
    Shape
  30. def transposeDefault: Shape[A]

    Permalink

    reverse the dimensions

    reverse the dimensions

    Definition Classes
    Shape
  31. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. 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 Shape[A]

Inherited from AnyRef

Inherited from Any

Ungrouped