IndexVector¶
<auto-generated stub>
Static methods¶
def apply(x: Rep[Int], y: Rep[Int]): Rep[IndexVector]
def apply(x: Rep[Int], y: Rep[Int], z: Rep[Boolean]): Rep[IndexVector]
def apply(x: Rep[DenseVector[Int]]): Rep[IndexVector]
def apply(x: Rep[DenseVector[Int]], y: Rep[Boolean]): Rep[IndexVector]
def apply(x: Rep[ForgeArray[Int]], isRow: Rep[Boolean] = true): Rep[IndexVector]
Infix methods¶
def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]
def *(y: Rep[DenseVectorView[Int]]): Rep[DenseVector[Int]]
def *(y: Rep[SparseVector[Int]]): Rep[SparseVector[Int]]
def *(y: Rep[SparseVectorView[Int]]): Rep[SparseVector[Int]]
def *(y: Rep[Int]): Rep[DenseVector[Int]]
def *(y: Rep[DenseMatrix[Int]]): Rep[DenseVector[Int]]
def **(y: Rep[DenseVector[Int]]): Rep[DenseMatrix[Int]]
def **(y: Rep[DenseVectorView[Int]]): Rep[DenseMatrix[Int]]
def **(y: Rep[SparseVector[Int]]): Rep[DenseMatrix[Int]]
def **(y: Rep[SparseVectorView[Int]]): Rep[DenseMatrix[Int]]
def *:*(y: Rep[DenseVector[Int]]): Rep[Int]
def *:*(y: Rep[DenseVectorView[Int]]): Rep[Int]
def *:*(y: Rep[SparseVector[Int]]): Rep[Int]
def *:*(y: Rep[SparseVectorView[Int]]): Rep[Int]
def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]] Math
def +(y: Rep[DenseVectorView[Int]]): Rep[DenseVector[Int]]
def +(y: Rep[SparseVector[Int]]): Rep[DenseVector[Int]]
def +(y: Rep[SparseVectorView[Int]]): Rep[DenseVector[Int]]
def +(y: Rep[Int]): Rep[DenseVector[Int]]
def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]
def -(y: Rep[DenseVectorView[Int]]): Rep[DenseVector[Int]]
def -(y: Rep[SparseVector[Int]]): Rep[DenseVector[Int]]
def -(y: Rep[SparseVectorView[Int]]): Rep[DenseVector[Int]]
def -(y: Rep[Int]): Rep[DenseVector[Int]]
def /(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]
def /(y: Rep[DenseVectorView[Int]]): Rep[DenseVector[Int]]
def /(y: Rep[SparseVector[Int]]): Rep[DenseVector[Int]]
def /(y: Rep[SparseVectorView[Int]]): Rep[DenseVector[Int]]
def /(y: Rep[Int]): Rep[DenseVector[Int]]
def Clone(): Rep[IndexVector]
def abs(): Rep[DenseVector[Int]]
def apply(y: Rep[Int]): Rep[Int]
def apply(y: Rep[IndexVector]): Rep[IndexVector]
def apply(y: (Rep[Int]) => Rep[T]): Rep[DenseVector[T]]
def contains(y: Rep[Int]): Rep[Boolean]
def count(y: (Rep[Int]) => Rep[Boolean]): Rep[Int]
def distinct(): Rep[DenseVector[Int]]
def drop(y: Rep[Int]): Rep[IndexVector]
def exists(y: (Rep[Int]) => Rep[Boolean]): Rep[Boolean]
def exp(): Rep[DenseVector[Int]]
def filter(y: (Rep[Int]) => Rep[Boolean]): Rep[IndexVector]
def find(y: (Rep[Int]) => Rep[Boolean]): Rep[IndexVector]
def first(): Rep[Int]
def flatMap(y: (Rep[Int]) => Rep[DenseVector[R]]): Rep[DenseVector[R]]
def forall(y: (Rep[Int]) => Rep[Boolean]): Rep[Boolean]
def foreach(y: (Rep[Int]) => Rep[Unit]): Rep[Unit]
def histogram(): Rep[ForgeHashMap[Int,:doc:int]]
def indices(): Rep[IndexVector] Accessors
def intersect(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]
def isEmpty(): Rep[Boolean]
def isRow(): Rep[Boolean]
def last(): Rep[Int]
def length(): Rep[Int]
def log(): Rep[DenseVector[Int]]
def makeStrWithDelim(delim: Rep[String]): Rep[String]
def makeString(): Rep[String]
def map(y: (Rep[Int]) => Rep[R]): Rep[DenseVector[R]] Bulk
def max(): Rep[Int]
def maxIndex(): Rep[Int]
def mean()(implicit ev0: (Rep[Int]) => Rep[Double]): Rep[Double]
def min(): Rep[Int] Ordering
def minIndex(): Rep[Int]
def mutable(): Rep[DenseVector[Int]]
def partition(pred: (Rep[Int]) => Rep[Boolean]): Rep[Tup2[IndexVector,:doc:indexvector]]
def pprint(): Rep[Unit]
def prefixSum(): Rep[DenseVector[Int]]
def prod(): Rep[Int]
def reduce(y: (Rep[Int],Rep[Int]) => Rep[Int]): Rep[Int]
def replicate(y: Rep[Int], z: Rep[Int]): Rep[DenseMatrix[Int]]
def scanLeft(zero: Rep[R])(z: (Rep[R],Rep[Int]) => Rep[R]): Rep[DenseVector[R]]
def scanRight(zero: Rep[R])(z: (Rep[Int],Rep[R]) => Rep[R]): Rep[DenseVector[R]]
def slice(start: Rep[Int], end: Rep[Int]): Rep[IndexVector]
def stddev()(implicit ev0: (Rep[Int]) => Rep[Double]): Rep[Double]
def sum(): Rep[Int]
def t(): Rep[IndexVector]
def take(y: Rep[Int]): Rep[IndexVector]
def toArray(): Rep[ForgeArray[Int]] Data exchange
def toBoolean()(implicit ev0: (Rep[Int]) => Rep[Boolean]): Rep[DenseVector[Boolean]] Conversions
def toDense(): Rep[DenseVector[Int]]
def toDouble()(implicit ev0: (Rep[Int]) => Rep[Double]): Rep[DenseVector[Double]]
def toFloat()(implicit ev0: (Rep[Int]) => Rep[Float]): Rep[DenseVector[Float]]
def toInt()(implicit ev0: (Rep[Int]) => Rep[Int]): Rep[DenseVector[Int]]
def toString(): Rep[String]
def variance()(implicit ev0: (Rep[Int]) => Rep[Double]): Rep[Double]
def zip(y: Rep[DenseVector[B]])(z: (Rep[Int],Rep[B]) => Rep[R]): Rep[DenseVector[R]]
def zip(y: Rep[DenseVectorView[B]])(z: (Rep[Int],Rep[B]) => Rep[R]): Rep[DenseVector[R]]
Implicit methods¶
def chainIndexToDenseIntOps(self: Rep[IndexVector]): DenseVectorDenseVectorIntOpsCls
def chainIndexToDenseOps(self: Rep[IndexVector]): DenseVectorDenseVectorOpsCls[Int]
def indexToDense(self: Rep[IndexVector]): Rep[DenseVector[Int]]