Slice

smile.math.Slice
case class Slice(start: Int, end: Int, step: Int)

Python like slicing.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toArray(length: Int): Array[Int]
def toRange(length: Int): Range
def ~(step: Int): Slice

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product