OptiML 0.1 Documentation

Contents:

Introduction

<stub>

This document was auto-generated using Sphinx. For corrections, post an issue on GitHub Issues .

Type Classes

Arith

<auto-generated stub>

Infix methods

def *(x: Rep[T], y: Rep[T]): Rep[T]

def +(x: Rep[T], y: Rep[T]): Rep[T]

def -(x: Rep[T], y: Rep[T]): Rep[T]

def /(x: Rep[T], y: Rep[T]): Rep[T]

def abs(x: Rep[T]): Rep[T]

def empty(): Rep[T]

def exp(x: Rep[T]): Rep[T]

def log(x: Rep[T]): Rep[T]

def zero(x: Rep[T]): Rep[T]

Bufferable

<auto-generated stub>

Infix methods

def mutable(x: Rep[T]): Rep[T]

def size(x: Rep[T]): Rep[Int]

def write(x: Rep[T], y: Rep[T]): Rep[Unit]

HasMinMax

<auto-generated stub>

Infix methods

def max(): Rep[T]

def min(): Rep[T]

Ordering

<auto-generated stub>

Infix methods

def !=(x: Rep[A], y: Rep[B]): Rep[Boolean]

def <(x: Rep[A], y: Rep[A]): Rep[Boolean]

def <=(x: Rep[A], y: Rep[A]): Rep[Boolean]

def >(x: Rep[A], y: Rep[A]): Rep[Boolean]

def >=(x: Rep[A], y: Rep[A]): Rep[Boolean]

def max(x: Rep[A], y: Rep[A]): Rep[A]

def min(x: Rep[A], y: Rep[A]): Rep[A]

Shape

<auto-generated stub>

Infix methods

def apply(x: Rep[S], y: Rep[Int]): Rep[Tup2[Int,:doc:int]]

def contains(x: Rep[S], y: Rep[Int], z: Rep[Int]): Rep[Boolean]

def size(x: Rep[S]): Rep[Int]

Stringable

<auto-generated stub>

Infix methods

def makeStr(x: Rep[T]): Rep[String]

TrainingSetLike

<auto-generated stub>

Infix methods

def dot(x: Rep[TS[D,L]], y: Rep[Int], z: Rep[DenseVector[D]])(implicit ev0: Arith[D],ev1: Manifest[TS[D,L]]): Rep[D]

def getCols(x: Rep[TS[D,L]], y: Rep[IndexVector])(implicit ev0: Manifest[TS[D,L]]): Rep[TS[D,L]]

def getRows(x: Rep[TS[D,L]], y: Rep[IndexVector])(implicit ev0: Manifest[TS[D,L]]): Rep[TS[D,L]]

def labels(x: Rep[TS[D,L]])(implicit ev0: Manifest[TS[D,L]]): Rep[DenseVector[L]]

def numFeatures(x: Rep[TS[D,L]])(implicit ev0: Manifest[TS[D,L]]): Rep[Int]

def numSamples(x: Rep[TS[D,L]])(implicit ev0: Manifest[TS[D,L]]): Rep[Int]

def times(x: Rep[TS[D,L]], y: Rep[Int], z: Rep[DenseVector[D]])(implicit ev0: Arith[D],ev1: Manifest[TS[D,L]]): Rep[DenseVector[D]]

def timesScalar(x: Rep[TS[D,L]], y: Rep[Int], z: Rep[D])(implicit ev0: Arith[D],ev1: Manifest[TS[D,L]]): Rep[DenseVector[D]]

Data Structures

BinaryFeature

<auto-generated stub>

Static methods

def apply(default: Rep[Boolean] = false): Rep[BinaryFeature]

Infix methods

def apply(y: Rep[String]): Rep[Double]

def default(): Rep[Boolean]

CSRGraph

<auto-generated stub>

Static methods

def apply(numNodes: Rep[Int], numEdges: Rep[Int], nodes: Rep[ForgeArray[Int]], edges: Rep[ForgeArray[Int]]): Rep[CSRGraph]

def apply(nodes: Rep[DenseVector[Int]], edges: Rep[DenseVector[Int]]): Rep[CSRGraph]

Infix methods

def deepcopy(): Rep[CSRGraph]

def edges(): Rep[DenseVectorView[Int]]

def ngbrEdges(y: Rep[Int]): Rep[IndexVector]

def ngbrNodes(y: Rep[Int]): Rep[DenseVectorView[Int]]

def ngbrs(y: Rep[Int]): Rep[DenseVector[CSRNgbr]]

def nodes(): Rep[DenseVectorView[Int]]

def numEdges(): Rep[Int]

def numNodes(): Rep[Int]

CSRNgbr

<auto-generated stub>

Static methods

def apply(edgeId: Rep[Int], nodeId: Rep[Int]): Rep[CSRNgbr]

Infix methods

def edge(): Rep[Int]

def node(): Rep[Int]

Complex

<auto-generated stub>

Static methods

def apply(x: Rep[Double], y: Rep[Double]): Rep[Complex]

Infix methods

def *(y: Rep[Complex]): Rep[Complex]

def +(y: Rep[Complex]): Rep[Complex]

def -(y: Rep[Complex]): Rep[Complex]

def /(y: Rep[Complex]): Rep[Complex]

def abs(): Rep[Complex]

def conj(): Rep[Complex]

def exp(): Rep[Complex]

def imag(): Rep[Double]

def log(): Rep[Complex]

def real(): Rep[Double]

ComputeStream

<auto-generated stub>

Static methods

def apply(numRows: Rep[Int], numCols: Rep[Int])(func: (Rep[Int],Rep[Int]) => Rep[T]): Rep[ComputeStream[T]]

Infix methods

def apply(y: Rep[Int], z: Rep[Int]): Rep[T]

def foreach(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def foreachRow(y: (Rep[DenseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def numCols(): Rep[Int]

def numRows(): Rep[Int]

ContinuousFeature

<auto-generated stub>

Static methods

def apply(default: Rep[Double] = unit(0.0209), min: Rep[Double] = math_ninf(), max: Rep[Double] = math_inf()): Rep[ContinuousFeature]

Infix methods

def apply(y: Rep[String]): Rep[Double]

def default(): Rep[Double]

def max(): Rep[Double]

def min(): Rep[Double]

DDFGFEdge

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Int], z: Rep[Int], v: Rep[Boolean], w: Rep[Int]): Rep[DDFGFEdge]

Infix methods

def equalPredicate(): Rep[Int]

def factorId(): Rep[Int]

def isPositive(): Rep[Boolean]

def position(): Rep[Int]

def variableId(): Rep[Int]

DDFGFFactor

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Int], z: Rep[Int], v: Rep[Int]): Rep[DDFGFFactor]

Infix methods

def edgeCount(): Rep[Int]

def factorFunction(): Rep[Int]

def factorId(): Rep[Int]

def weightId(): Rep[Int]

DDFGFVariable

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Boolean], z: Rep[Double], v: Rep[Int], w: Rep[Int], a: Rep[Int]): Rep[DDFGFVariable]

Infix methods

def cardinality(): Rep[Int]

def dataType(): Rep[Int]

def edgeCount(): Rep[Int]

def initialValue(): Rep[Double]

def isEvidence(): Rep[Boolean]

def variableId(): Rep[Int]

DDFGFWeight

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Boolean], z: Rep[Double]): Rep[DDFGFWeight]

Infix methods

def initialValue(): Rep[Double]

def isFixed(): Rep[Boolean]

def weightId(): Rep[Int]

DecisionTree

<auto-generated stub>

Static methods

def deserialize(encodedTree: Rep[String]): Rep[DecisionTree]

Infix methods

def addNode(parent: Rep[Int], isLeft: Rep[Boolean], isLeaf: Rep[Boolean], feature: Rep[Int], threshold: Rep[Double], impurity: Rep[Double], numNodeSamples: Rep[Int]): Rep[Int]

def capacity(): Rep[Int]

def feature(): Rep[ForgeArray[Int]]

def impurity(): Rep[ForgeArray[Double]]

def isLeaf(): Rep[ForgeArray[Boolean]]

def leftChildren(): Rep[ForgeArray[Int]]

def numNodeSamples(): Rep[ForgeArray[Int]]

def numNodes(): Rep[Int]

def pprint(): Rep[Unit]

def predict(testPt: Rep[DenseVector[Double]]): Rep[Tup2[Double,:doc:double]]

def prob(): Rep[ForgeArray[Double]]

def rightChildren(): Rep[ForgeArray[Int]]

 def serialize(): Rep[String]

For now we use a simple text-format to persist the tree. Eventually, we probably will want to switch to a binary format for efficiency in saving and loading large forests.

def threshold(): Rep[ForgeArray[Double]]

def value(): Rep[ForgeArray[Double]]

DenseMatrix

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[T]]

def apply(x: Rep[ForgeArray[T]], y: Rep[Int], z: Rep[Int]): Rep[DenseMatrix[T]]

def apply(x: Rep[DenseVector[DenseVector[T]]]): Rep[DenseMatrix[T]]

def apply(x: Rep[DenseVector[DenseVectorView[T]]]): Rep[DenseMatrix[T]]

def apply(x: Rep[DenseVector[T]]*): Rep[DenseMatrix[T]]

def block(x: Rep[DenseVector[DenseMatrix[T]]]*): Rep[DenseMatrix[T]]

def diag(x: Rep[Int], y: Rep[DenseVector[T]]): Rep[DenseMatrix[T]]

def identity(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Double]]

def identity(x: Rep[Int]): Rep[DenseMatrix[Double]]

def ones(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Double]]

def onesf(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Float]]

def rand(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Double]]

def randf(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Float]]

def randn(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Double]]

def randnf(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Float]]

def zeros(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Double]]

def zerosf(x: Rep[Int], y: Rep[Int]): Rep[DenseMatrix[Float]]

Infix methods

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[Int]): Rep[DenseMatrix[Int]]

def *(y: Rep[Float]): Rep[DenseMatrix[Float]]

def *(y: Rep[Double]): Rep[DenseMatrix[Double]]

def *(y: Rep[Int]): Rep[DenseMatrix[Float]]

def *(y: Rep[Float]): Rep[DenseMatrix[Float]]

def *(y: Rep[Double]): Rep[DenseMatrix[Double]]

def *(y: Rep[Int]): Rep[DenseMatrix[Double]]

def *(y: Rep[Float]): Rep[DenseMatrix[Double]]

def *(y: Rep[Double]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *:*(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def *:*(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def *:*(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def *:*(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def *:*(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def *:*(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def *:*(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def *:*(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def *:*(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def *=(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[Unit]

def *=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

 def +(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

Math

def +(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def +(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def +(y: Rep[Int]): Rep[DenseMatrix[Int]]

def +(y: Rep[Float]): Rep[DenseMatrix[Float]]

def +(y: Rep[Double]): Rep[DenseMatrix[Double]]

def +(y: Rep[Int]): Rep[DenseMatrix[Float]]

def +(y: Rep[Float]): Rep[DenseMatrix[Float]]

def +(y: Rep[Double]): Rep[DenseMatrix[Double]]

def +(y: Rep[Int]): Rep[DenseMatrix[Double]]

def +(y: Rep[Float]): Rep[DenseMatrix[Double]]

def +(y: Rep[Double]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def +(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def +(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def +(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def +(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

 def +=(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[Unit]

Math

def +=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def -(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[Int]): Rep[DenseMatrix[Int]]

def -(y: Rep[Float]): Rep[DenseMatrix[Float]]

def -(y: Rep[Double]): Rep[DenseMatrix[Double]]

def -(y: Rep[Int]): Rep[DenseMatrix[Float]]

def -(y: Rep[Float]): Rep[DenseMatrix[Float]]

def -(y: Rep[Double]): Rep[DenseMatrix[Double]]

def -(y: Rep[Int]): Rep[DenseMatrix[Double]]

def -(y: Rep[Float]): Rep[DenseMatrix[Double]]

def -(y: Rep[Double]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def -(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def -(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def -(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def -(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def -=(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[Unit]

def -=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def /(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[Int]): Rep[DenseMatrix[Int]]

def /(y: Rep[Float]): Rep[DenseMatrix[Float]]

def /(y: Rep[Double]): Rep[DenseMatrix[Double]]

def /(y: Rep[Int]): Rep[DenseMatrix[Float]]

def /(y: Rep[Float]): Rep[DenseMatrix[Float]]

def /(y: Rep[Double]): Rep[DenseMatrix[Double]]

def /(y: Rep[Int]): Rep[DenseMatrix[Double]]

def /(y: Rep[Float]): Rep[DenseMatrix[Double]]

def /(y: Rep[Double]): Rep[DenseMatrix[Double]]

def /(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def /(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def /(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def /(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def /(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def /(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def /(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def /(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def /(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def /=(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[Unit]

def /=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def :<(y: Rep[DenseMatrix[T]])(implicit ev0: Ordering[T]): Rep[DenseMatrix[Boolean]]

def :>(y: Rep[DenseMatrix[T]])(implicit ev0: Ordering[T]): Rep[DenseMatrix[Boolean]]

def <<(y: Rep[DenseVector[T]]): Rep[DenseMatrix[T]]

def <<(y: Rep[DenseMatrix[T]]): Rep[DenseMatrix[T]]

def <<=(y: Rep[DenseVector[T]]): Rep[Unit]

def <<=(y: Rep[DenseMatrix[T]]): Rep[Unit]

def <<|(y: Rep[DenseVector[T]]): Rep[DenseMatrix[T]]

def <<|(y: Rep[DenseMatrix[T]]): Rep[DenseMatrix[T]]

def <<|=(y: Rep[DenseVector[T]]): Rep[Unit]

def <<|=(y: Rep[DenseMatrix[T]]): Rep[Unit]

 def Clone(): Rep[DenseMatrix[T]]

Miscellaneous

def (y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def abs()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def apply(y: Rep[Int], z: Rep[Int]): Rep[T]

 def apply(y: Rep[Int]): Rep[DenseVectorView[T]]

Accessors

def apply(y: Rep[IndexVector]): Rep[DenseMatrix[T]]

def apply(y: Rep[IndexVector], z: IndexWildcard): Rep[DenseMatrix[T]]

def apply(rows: Rep[IndexVector], cols: Rep[IndexVector]): Rep[DenseMatrix[T]]

def apply(y: IndexWildcard, z: Rep[IndexVector]): Rep[DenseMatrix[T]]

def colIndices(): Rep[IndexVector]

def count(y: (Rep[T]) => Rep[Boolean]): Rep[Int]

def diag(): Rep[DenseVector[T]]

def exp()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def filterCols(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[DenseMatrix[T]]

def filterRows(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[DenseMatrix[T]]

def findCols(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[IndexVector]

def findRows(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[IndexVector]

 def flattenToVector(): Rep[DenseVector[T]]

Conversions

def foreach(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def foreachCol(y: (Rep[DenseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def foreachRow(y: (Rep[DenseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def getCol(y: Rep[Int]): Rep[DenseVectorView[T]]

def getCols(y: Rep[IndexVector]): Rep[DenseMatrix[T]]

def getRow(y: Rep[Int]): Rep[DenseVectorView[T]]

def getRows(y: Rep[IndexVector]): Rep[DenseMatrix[T]]

def groupColsBy(y: (Rep[DenseVectorView[T]]) => Rep[K]): Rep[ForgeHashMap[K,:doc:densematrix[T]]]

 def groupRowsBy(y: (Rep[DenseVectorView[T]]) => Rep[K]): Rep[ForgeHashMap[K,:doc:densematrix[T]]]

Bulk

def indices(): Rep[IndexVector]

def insertAllCols(pos: Rep[Int], xs: Rep[DenseMatrix[T]]): Rep[Unit]

def insertAllRows(pos: Rep[Int], xs: Rep[DenseMatrix[T]]): Rep[Unit]

def insertCol(pos: Rep[Int], y: Rep[DenseVector[T]]): Rep[Unit]

def insertRow(pos: Rep[Int], y: Rep[DenseVector[T]]): Rep[Unit]

def log()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def makeDimsStr(): Rep[String]

def makeString()(implicit ev0: Stringable[T]): Rep[String]

 def map(y: (Rep[T]) => Rep[R]): Rep[DenseMatrix[R]]

Bulk

def mapCols(y: (Rep[DenseVectorView[T]]) => Rep[DenseVector[R]]): Rep[DenseMatrix[R]]

def mapColsToVector(y: (Rep[DenseVectorView[T]]) => Rep[R]): Rep[DenseVector[R]]

def mapRows(y: (Rep[DenseVectorView[T]]) => Rep[DenseVector[R]]): Rep[DenseMatrix[R]]

def mapRowsToVector(y: (Rep[DenseVectorView[T]]) => Rep[R]): Rep[DenseVector[R]]

def max()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def maxCols()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

def maxIndex()(implicit ev0: Ordering[T]): Rep[Tup2[Int,:doc:int]]

def maxRows()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

def mean()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def min()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def minCols()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

def minIndex()(implicit ev0: Ordering[T]): Rep[Tup2[Int,:doc:int]]

 def minRows()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

Ordering

def mutable(): Rep[DenseMatrix[T]]

def mview(startRow: Rep[Int], endRow: Rep[Int], startCol: Rep[Int], endCol: Rep[Int]): Rep[DenseMatrixView[T]]

def numCols(): Rep[Int]

 def numRows(): Rep[Int]

Accessors

 def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

Miscellaneous

def prod()(implicit ev0: Arith[T]): Rep[T]

def reduce(y: (Rep[T],Rep[T]) => Rep[T])(implicit ev0: Arith[T]): Rep[T]

def reduceCols(y: (Rep[DenseVector[T]],Rep[DenseVector[T]]) => Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def reduceRows(y: (Rep[DenseVector[T]],Rep[DenseVector[T]]) => Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def removeCol(pos: Rep[Int]): Rep[Unit]

def removeCols(pos: Rep[Int], num: Rep[Int]): Rep[Unit]

def removeRow(pos: Rep[Int]): Rep[Unit]

def removeRows(pos: Rep[Int], num: Rep[Int]): Rep[Unit]

def replicate(y: Rep[Int], z: Rep[Int]): Rep[DenseMatrix[T]]

def rowIndices(): Rep[IndexVector]

def size(): Rep[Int]

def slice(startRow: Rep[Int], endRow: Rep[Int], startCol: Rep[Int], endCol: Rep[Int]): Rep[DenseMatrixView[T]]

def sliceCols(start: Rep[Int], end: Rep[Int]): Rep[DenseMatrixView[T]]

def sliceRows(start: Rep[Int], end: Rep[Int]): Rep[DenseMatrixView[T]]

def sortColsBy(y: (Rep[DenseVectorView[T]]) => Rep[B])(implicit ev0: Ordering[B]): Rep[DenseMatrix[T]]

 def sortRowsBy(y: (Rep[DenseVectorView[T]]) => Rep[B])(implicit ev0: Ordering[B]): Rep[DenseMatrix[T]]

Ordering

def stddev()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def sum()(implicit ev0: Arith[T]): Rep[T]

def sumCols()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def sumRows()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def t(): Rep[DenseMatrix[T]]

def toArray(): Rep[ForgeArray[T]]

 def toBoolean()(implicit ev0: (Rep[T]) => Rep[Boolean]): Rep[DenseMatrix[Boolean]]

Conversions

def toDouble()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[DenseMatrix[Double]]

def toFloat()(implicit ev0: (Rep[T]) => Rep[Float]): Rep[DenseMatrix[Float]]

def toInt()(implicit ev0: (Rep[T]) => Rep[Int]): Rep[DenseMatrix[Int]]

def toSparse(): Rep[SparseMatrix[T]]

def toString(): Rep[String]

def tril()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def trim(): Rep[Unit]

def triu()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def unary_-(): Rep[DenseMatrix[Int]]

def unary_-(): Rep[DenseMatrix[Float]]

def unary_-(): Rep[DenseMatrix[Double]]

def update(y: Rep[Int], z: Rep[Int], v: Rep[T]): Rep[Unit]

def update(y: Rep[Int], z: Rep[DenseVector[T]]): Rep[Unit]

def update(y: Rep[Int], z: Rep[DenseVectorView[T]]): Rep[Unit]

def update(y: Rep[IndexVector], z: Rep[DenseMatrix[T]]): Rep[Unit]

def updateCol(y: Rep[Int], z: Rep[DenseVector[T]]): Rep[Unit]

def updateCol(y: Rep[Int], z: Rep[DenseVectorView[T]]): Rep[Unit]

def updateCols(y: Rep[IndexVector], z: Rep[DenseMatrix[T]]): Rep[Unit]

def updateRow(y: Rep[Int], z: Rep[DenseVector[T]]): Rep[Unit]

def updateRow(y: Rep[Int], z: Rep[DenseVectorView[T]]): Rep[Unit]

def updateRows(y: Rep[IndexVector], z: Rep[DenseMatrix[T]]): Rep[Unit]

def variance()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def vview(start: Rep[Int], stride: Rep[Int], length: Rep[Int], isRow: Rep[Boolean]): Rep[DenseVectorView[T]]

def zip(y: Rep[DenseMatrix[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[DenseMatrix[R]]

Implicit methods

def dist(x: Rep[DenseMatrix[Double]], y: Rep[DenseMatrix[Double]]): Rep[Double]

DenseMatrixView

<auto-generated stub>

Static methods

def apply(x: Rep[ForgeArray[T]], y: Rep[Int], z: Rep[Int], v: Rep[Int], w: Rep[Int], a: Rep[Int], b: Rep[Int]): Rep[DenseMatrixView\[T\]]

Infix methods

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *:*(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

 def +(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

Math

def +(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def +(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def Clone(): Rep[DenseMatrix[T]]

def abs()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def apply(y: Rep[Int], z: Rep[Int]): Rep[T]

 def apply(y: Rep[Int]): Rep[DenseVectorView[T]]

Accessors

def apply(y: Rep[IndexVector]): Rep[DenseMatrix[T]]

def apply(y: Rep[IndexVector], z: IndexWildcard): Rep[DenseMatrix[T]]

def apply(rows: Rep[IndexVector], cols: Rep[IndexVector]): Rep[DenseMatrix[T]]

def apply(y: IndexWildcard, z: Rep[IndexVector]): Rep[DenseMatrix[T]]

def colIndices(): Rep[IndexVector]

def count(y: (Rep[T]) => Rep[Boolean]): Rep[Int]

def exp()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def filterCols(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[DenseMatrix[T]]

def filterRows(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[DenseMatrix[T]]

def findCols(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[IndexVector]

def findRows(y: (Rep[DenseVectorView[T]]) => Rep[Boolean]): Rep[IndexVector]

def foreach(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def foreachCol(y: (Rep[DenseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def foreachRow(y: (Rep[DenseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def getCol(y: Rep[Int]): Rep[DenseVectorView[T]]

def getCols(y: Rep[IndexVector]): Rep[DenseMatrix[T]]

def getRow(y: Rep[Int]): Rep[DenseVectorView[T]]

def getRows(y: Rep[IndexVector]): Rep[DenseMatrix[T]]

def indices(): Rep[IndexVector]

def log()(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def makeDimsStr(): Rep[String]

def makeString()(implicit ev0: Stringable[T]): Rep[String]

 def map(y: (Rep[T]) => Rep[R]): Rep[DenseMatrix[R]]

Bulk

def mapCols(y: (Rep[DenseVectorView[T]]) => Rep[DenseVector[R]]): Rep[DenseMatrix[R]]

def mapColsToVector(y: (Rep[DenseVectorView[T]]) => Rep[R]): Rep[DenseVector[R]]

def mapRows(y: (Rep[DenseVectorView[T]]) => Rep[DenseVector[R]]): Rep[DenseMatrix[R]]

def mapRowsToVector(y: (Rep[DenseVectorView[T]]) => Rep[R]): Rep[DenseVector[R]]

def max()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def maxCols()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

def maxIndex()(implicit ev0: Ordering[T]): Rep[Tup2[Int,:doc:int]]

def maxRows()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

def mean()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def min()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def minCols()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

def minIndex()(implicit ev0: Ordering[T]): Rep[Tup2[Int,:doc:int]]

 def minRows()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[DenseVector[T]]

Ordering

def mutable(): Rep[DenseMatrix[T]]

def mview(startRow: Rep[Int], endRow: Rep[Int], startCol: Rep[Int], endCol: Rep[Int]): Rep[DenseMatrixView[T]]

def numCols(): Rep[Int]

def numRows(): Rep[Int]

 def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

Miscellaneous

def prod()(implicit ev0: Arith[T]): Rep[T]

def reduce(y: (Rep[T],Rep[T]) => Rep[T])(implicit ev0: Arith[T]): Rep[T]

def reduceCols(y: (Rep[DenseVector[T]],Rep[DenseVector[T]]) => Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def reduceRows(y: (Rep[DenseVector[T]],Rep[DenseVector[T]]) => Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def replicate(y: Rep[Int], z: Rep[Int]): Rep[DenseMatrix[T]]

def rowIndices(): Rep[IndexVector]

def size(): Rep[Int]

def slice(startRow: Rep[Int], endRow: Rep[Int], startCol: Rep[Int], endCol: Rep[Int]): Rep[DenseMatrixView[T]]

def sliceCols(start: Rep[Int], end: Rep[Int]): Rep[DenseMatrixView[T]]

def sliceRows(start: Rep[Int], end: Rep[Int]): Rep[DenseMatrixView[T]]

def stddev()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def sum()(implicit ev0: Arith[T]): Rep[T]

def sumCols()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def sumRows()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def t(): Rep[DenseMatrix[T]]

 def toBoolean()(implicit ev0: (Rep[T]) => Rep[Boolean]): Rep[DenseMatrix[Boolean]]

Conversions

def toDense(): Rep[DenseMatrix[T]]

def toDouble()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[DenseMatrix[Double]]

def toFloat()(implicit ev0: (Rep[T]) => Rep[Float]): Rep[DenseMatrix[Float]]

def toInt()(implicit ev0: (Rep[T]) => Rep[Int]): Rep[DenseMatrix[Int]]

def toString(): Rep[String]

def variance()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def vview(start: Rep[Int], stride: Rep[Int], length: Rep[Int], isRow: Rep[Boolean]): Rep[DenseVectorView[T]]

def zip(y: Rep[DenseMatrix[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[DenseMatrix[R]]

Implicit methods

def chainViewToDenseOps(self: Rep[DenseMatrixView\[T\]]): DenseMatrixDenseMatrixOpsCls[T]

def viewToDense(self: Rep[DenseMatrixView\[T\]]): Rep[DenseMatrix[T]]

DenseTrainingSet

<auto-generated stub>

Static methods

def apply(x: Rep[DenseMatrix[D]], y: Rep[DenseVector[L]]): Rep[DenseTrainingSet[D,L]]

Infix methods

def apply(y: Rep[Int], z: Rep[Int]): Rep[D]

def apply(y: Rep[Int]): Rep[DenseVectorView[D]]

def data(): Rep[DenseMatrix[D]]

def labels(): Rep[DenseVector[L]]

def numFeatures(): Rep[Int]

def numSamples(): Rep[Int]

DenseVector

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Boolean]): Rep[DenseVector[T]]

def apply(x: Rep[T]*): Rep[DenseVector[T]]

def apply(x: Rep[ForgeArray[T]], isRow: Rep[Boolean] = true): Rep[DenseVector[T]]

def flatten(pieces: Rep[DenseVector[DenseVector[T]]]): Rep[DenseVector[T]]

def ones(x: Rep[Int]): Rep[DenseVector[Double]]

def onesf(x: Rep[Int]): Rep[DenseVector[Float]]

def rand(x: Rep[Int]): Rep[DenseVector[Double]]

def randf(x: Rep[Int]): Rep[DenseVector[Float]]

def uniform(start: Rep[Double], step_size: Rep[Double], end: Rep[Double], isRow: Rep[Boolean] = true): Rep[DenseVector[Double]]

def zeros(x: Rep[Int]): Rep[DenseVector[Double]]

def zerosf(x: Rep[Int]): Rep[DenseVector[Float]]

Infix methods

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[Int]): Rep[DenseVector[Int]]

def *(y: Rep[Float]): Rep[DenseVector[Float]]

def *(y: Rep[Double]): Rep[DenseVector[Double]]

def *(y: Rep[Int]): Rep[DenseVector[Float]]

def *(y: Rep[Float]): Rep[DenseVector[Float]]

def *(y: Rep[Double]): Rep[DenseVector[Double]]

def *(y: Rep[Int]): Rep[DenseVector[Double]]

def *(y: Rep[Float]): Rep[DenseVector[Double]]

def *(y: Rep[Double]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseVector[Int]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseVector[Double]]

def **(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def **(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def **(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def **(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[T]

def *=(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[Unit]

def *=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def *=(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[Unit]

 def +(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

Math

def +(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[Int]): Rep[DenseVector[Int]]

def +(y: Rep[Float]): Rep[DenseVector[Float]]

def +(y: Rep[Double]): Rep[DenseVector[Double]]

def +(y: Rep[Int]): Rep[DenseVector[Float]]

def +(y: Rep[Float]): Rep[DenseVector[Float]]

def +(y: Rep[Double]): Rep[DenseVector[Double]]

def +(y: Rep[Int]): Rep[DenseVector[Double]]

def +(y: Rep[Float]): Rep[DenseVector[Double]]

def +(y: Rep[Double]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def +(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def +(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def +(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def +(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

 def +=(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[Unit]

Math

def +=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def +=(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[Unit]

def -(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[Int]): Rep[DenseVector[Int]]

def -(y: Rep[Float]): Rep[DenseVector[Float]]

def -(y: Rep[Double]): Rep[DenseVector[Double]]

def -(y: Rep[Int]): Rep[DenseVector[Float]]

def -(y: Rep[Float]): Rep[DenseVector[Float]]

def -(y: Rep[Double]): Rep[DenseVector[Double]]

def -(y: Rep[Int]): Rep[DenseVector[Double]]

def -(y: Rep[Float]): Rep[DenseVector[Double]]

def -(y: Rep[Double]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def -(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def -(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def -(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def -(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def -=(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[Unit]

def -=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def -=(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[Unit]

def /(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[Int]): Rep[DenseVector[Int]]

def /(y: Rep[Float]): Rep[DenseVector[Float]]

def /(y: Rep[Double]): Rep[DenseVector[Double]]

def /(y: Rep[Int]): Rep[DenseVector[Float]]

def /(y: Rep[Float]): Rep[DenseVector[Float]]

def /(y: Rep[Double]): Rep[DenseVector[Double]]

def /(y: Rep[Int]): Rep[DenseVector[Double]]

def /(y: Rep[Float]): Rep[DenseVector[Double]]

def /(y: Rep[Double]): Rep[DenseVector[Double]]

def /(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def /(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def /(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def /(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def /(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def /(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def /(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def /(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def /(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def /=(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[Unit]

def /=(y: Rep[T])(implicit ev0: Arith[T]): Rep[Unit]

def /=(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[Unit]

def :<(y: Rep[DenseVector[T]])(implicit ev0: Ordering[T]): Rep[DenseVector[Boolean]]

def :>(y: Rep[DenseVector[T]])(implicit ev0: Ordering[T]): Rep[DenseVector[Boolean]]

def <<(y: Rep[T]): Rep[DenseVector[T]]

def <<(y: Rep[DenseVector[T]]): Rep[DenseVector[T]]

def <<=(y: Rep[T]): Rep[Unit]

def <<=(y: Rep[DenseVector[T]]): Rep[Unit]

def Clone(): Rep[DenseVector[T]]

def abs()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def apply(y: Rep[Int]): Rep[T]

def apply(y: Rep[IndexVector]): Rep[DenseVector[T]]

def clear(): Rep[Unit]

def contains(y: Rep[T]): Rep[Boolean]

def copyFrom(y: Rep[Int], z: Rep[DenseVector[T]]): Rep[Unit]

def count(y: (Rep[T]) => Rep[Boolean]): Rep[Int]

def distinct(): Rep[DenseVector[T]]

def drop(y: Rep[Int]): Rep[DenseVector[T]]

def exists(y: (Rep[T]) => Rep[Boolean]): Rep[Boolean]

def exp()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def filter(y: (Rep[T]) => Rep[Boolean]): Rep[DenseVector[T]]

def find(y: (Rep[T]) => Rep[Boolean]): Rep[IndexVector]

def first(): Rep[T]

def flatMap(y: (Rep[T]) => Rep[DenseVector[R]]): Rep[DenseVector[R]]

def forall(y: (Rep[T]) => Rep[Boolean]): Rep[Boolean]

def foreach(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def groupBy(y: (Rep[T]) => Rep[K], z: (Rep[T]) => Rep[V]): Rep[ForgeHashMap[K,:doc:densevector[V]]]

 def groupByReduce(y: (Rep[T]) => Rep[K], z: (Rep[T]) => Rep[V], v: (Rep[V],Rep[V]) => Rep[V])(implicit ev0: Arith[V]): Rep[ForgeHashMap[K,V]]

Bulk

def histogram(): Rep[ForgeHashMap[T,:doc:int]]

 def indices(): Rep[IndexVector]

Accessors

def insert(y: Rep[Int], z: Rep[T]): Rep[Unit]

def insertAll(y: Rep[Int], z: Rep[DenseVector[T]]): Rep[Unit]

def intersect(y: Rep[DenseVector[T]]): Rep[DenseVector[T]]

def isEmpty(): Rep[Boolean]

def isRow(): Rep[Boolean]

def last(): Rep[T]

 def length(): Rep[Int]

Accessors

def log()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def makeStrWithDelim(delim: Rep[String])(implicit ev0: Stringable[T]): Rep[String]

def makeString()(implicit ev0: Stringable[T]): Rep[String]

 def map(y: (Rep[T]) => Rep[R]): Rep[DenseVector[R]]

Bulk

def max()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def maxIndex()(implicit ev0: Ordering[T]): Rep[Int]

def mean()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def median()(implicit ev0: Numeric[T],ev1: Ordering[T]): Rep[T]

 def min()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

Ordering

def minIndex()(implicit ev0: Ordering[T]): Rep[Int]

def mt(): Rep[Unit]

def mutable(): Rep[DenseVector[T]]

def partition(pred: (Rep[T]) => Rep[Boolean]): Rep[Tup2[DenseVector[T],:doc:densevector[T]]]

def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

def prefixSum()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def prod()(implicit ev0: Arith[T]): Rep[T]

def reduce(y: (Rep[T],Rep[T]) => Rep[T])(implicit ev0: Arith[T]): Rep[T]

def remove(y: Rep[Int]): Rep[Unit]

def removeAll(pos: Rep[Int], len: Rep[Int]): Rep[Unit]

def replicate(y: Rep[Int], z: Rep[Int]): Rep[DenseMatrix[T]]

def scanLeft(zero: Rep[R])(z: (Rep[R],Rep[T]) => Rep[R]): Rep[DenseVector[R]]

def scanRight(zero: Rep[R])(z: (Rep[T],Rep[R]) => Rep[R]): Rep[DenseVector[R]]

def slice(start: Rep[Int], end: Rep[Int]): Rep[DenseVector[T]]

 def sort()(implicit ev0: Ordering[T]): Rep[DenseVector[T]]

Ordering

def sortBy(y: (Rep[T]) => Rep[B])(implicit ev0: Ordering[B]): Rep[DenseVector[T]]

def sortWithIndex()(implicit ev0: Ordering[T]): Tuple2[Rep[DenseVector[T]],Rep[IndexVector]]

def stddev()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def sum()(implicit ev0: Arith[T]): Rep[T]

 def t(): Rep[DenseVector[T]]

Miscellaneous

def take(y: Rep[Int]): Rep[DenseVector[T]]

 def toArray(): Rep[ForgeArray[T]]

Data exchange

 def toBoolean()(implicit ev0: (Rep[T]) => Rep[Boolean]): Rep[DenseVector[Boolean]]

Conversions

def toDense(): Rep[DenseVector[T]]

def toDouble()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[DenseVector[Double]]

def toFloat()(implicit ev0: (Rep[T]) => Rep[Float]): Rep[DenseVector[Float]]

def toInt()(implicit ev0: (Rep[T]) => Rep[Int]): Rep[DenseVector[Int]]

def toMat(): Rep[DenseMatrix[T]]

def toString(): Rep[String]

def trim(): Rep[Unit]

def unary_-(): Rep[DenseVector[Int]]

def unary_-(): Rep[DenseVector[Float]]

def unary_-(): Rep[DenseVector[Double]]

def update(i: Rep[Int], e: Rep[T]): Rep[Unit]

def update(indices: Rep[IndexVector], e: Rep[T]): Rep[Unit]

def update(indices: Rep[IndexVector], v: Rep[DenseVector[T]]): Rep[Unit]

def variance()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def zip(y: Rep[DenseVector[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[DenseVector[R]]

def zip(y: Rep[DenseVectorView[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[DenseVector[R]]

Implicit methods

def dist(x: Rep[DenseVector[Double]], y: Rep[DenseVector[Double]]): Rep[Double]

DenseVectorView

<auto-generated stub>

Static methods

def apply(x: Rep[ForgeArray[T]], y: Rep[Int], z: Rep[Int], v: Rep[Int], w: Rep[Boolean]): Rep[DenseVectorView\[T\]]

Infix methods

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def **(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def **(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def **(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def **(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[T]

 def +(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

Math

def +(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[SparseVectorView[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def Clone(): Rep[DenseVector[T]]

def abs()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def apply(y: Rep[Int]): Rep[T]

def apply(y: Rep[IndexVector]): Rep[DenseVector[T]]

def contains(y: Rep[T]): Rep[Boolean]

def count(y: (Rep[T]) => Rep[Boolean]): Rep[Int]

def distinct(): Rep[DenseVector[T]]

def drop(y: Rep[Int]): Rep[DenseVectorView[T]]

def exists(y: (Rep[T]) => Rep[Boolean]): Rep[Boolean]

def exp()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def filter(y: (Rep[T]) => Rep[Boolean]): Rep[DenseVector[T]]

def find(y: (Rep[T]) => Rep[Boolean]): Rep[IndexVector]

def first(): Rep[T]

def flatMap(y: (Rep[T]) => Rep[DenseVector[R]]): Rep[DenseVector[R]]

def forall(y: (Rep[T]) => Rep[Boolean]): Rep[Boolean]

def foreach(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def histogram(): Rep[ForgeHashMap[T,:doc:int]]

 def indices(): Rep[IndexVector]

Accessors

def intersect(y: Rep[DenseVector[T]]): Rep[DenseVector[T]]

def isEmpty(): Rep[Boolean]

def isRow(): Rep[Boolean]

def last(): Rep[T]

def length(): Rep[Int]

def log()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def makeStrWithDelim(delim: Rep[String])(implicit ev0: Stringable[T]): Rep[String]

def makeString()(implicit ev0: Stringable[T]): Rep[String]

 def map(y: (Rep[T]) => Rep[R]): Rep[DenseVector[R]]

Bulk

def max()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def maxIndex()(implicit ev0: Ordering[T]): Rep[Int]

def mean()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

 def min()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

Ordering

def minIndex()(implicit ev0: Ordering[T]): Rep[Int]

def mutable(): Rep[DenseVector[T]]

def partition(pred: (Rep[T]) => Rep[Boolean]): Rep[Tup2[DenseVector[T],:doc:densevector[T]]]

def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

def prefixSum()(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def prod()(implicit ev0: Arith[T]): Rep[T]

def reduce(y: (Rep[T],Rep[T]) => Rep[T])(implicit ev0: Arith[T]): Rep[T]

def replicate(y: Rep[Int], z: Rep[Int]): Rep[DenseMatrix[T]]

def scanLeft(zero: Rep[R])(z: (Rep[R],Rep[T]) => Rep[R]): Rep[DenseVector[R]]

def scanRight(zero: Rep[R])(z: (Rep[T],Rep[R]) => Rep[R]): Rep[DenseVector[R]]

def slice(start: Rep[Int], end: Rep[Int]): Rep[DenseVectorView[T]]

def stddev()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def sum()(implicit ev0: Arith[T]): Rep[T]

def take(y: Rep[Int]): Rep[DenseVectorView[T]]

 def toArray(): Rep[ForgeArray[T]]

Data exchange

 def toBoolean()(implicit ev0: (Rep[T]) => Rep[Boolean]): Rep[DenseVector[Boolean]]

Conversions

def toDense(): Rep[DenseVector[T]]

def toDouble()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[DenseVector[Double]]

def toFloat()(implicit ev0: (Rep[T]) => Rep[Float]): Rep[DenseVector[Float]]

def toInt()(implicit ev0: (Rep[T]) => Rep[Int]): Rep[DenseVector[Int]]

def toString(): Rep[String]

def variance()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

def zip(y: Rep[DenseVector[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[DenseVector[R]]

def zip(y: Rep[DenseVectorView[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[DenseVector[R]]

Implicit methods

def chainViewToDenseOps(self: Rep[DenseVectorView\[T\]]): DenseVectorDenseVectorOpsCls[T]

def dist(x: Rep[DenseVectorView[Double]], y: Rep[DenseVectorView[Double]]): Rep[Double]

def viewToDense(self: Rep[DenseVectorView\[T\]]): Rep[DenseVector[T]]

DiscreteFeature

<auto-generated stub>

Static methods

def apply(x: Rep[String]*): Rep[DiscreteFeature]

Infix methods

def apply(y: Rep[String]): Rep[Double]

def indicator(y: Rep[String]): Rep[DenseVector[Double]]

def size(): Rep[Int]

FactorGraph

<auto-generated stub>

Static methods

def apply(v2f: Rep[CSRGraph], f2v: Rep[CSRGraph], weightValue: Rep[DenseVector[Double]], weightIsFixed: Rep[DenseVector[Boolean]], variableValue: Rep[DenseVector[Boolean]], variableIsEvidence: Rep[DenseVector[Boolean]], factorWeightIdx: Rep[DenseVector[Int]], factorFunction: Rep[DenseVector[Int]], edgeIsPositiveF2V: Rep[DenseVector[Boolean]], nonEvidenceVariables: Rep[DenseVector[Int]]): Rep[FactorGraph]

Infix methods

def deepcopy(): Rep[FactorGraph]

def edgeIsPositiveF2V(): Rep[DenseVector[Boolean]]

def f2v(): Rep[CSRGraph]

def factorFunction(): Rep[DenseVector[Int]]

def factorWeightIdx(): Rep[DenseVector[Int]]

def mutable(): Rep[FactorGraph]

def mutableVariables(): Rep[FactorGraph]

def mutableWeights(): Rep[FactorGraph]

def nonEvidenceVariables(): Rep[DenseVector[Int]]

def numEdges(): Rep[Int]

def numFactors(): Rep[Int]

def numVariables(): Rep[Int]

def numWeights(): Rep[Int]

def v2f(): Rep[CSRGraph]

def variableIsEvidence(): Rep[DenseVector[Boolean]]

def variableValue(): Rep[DenseVector[Boolean]]

def weightIsFixed(): Rep[DenseVector[Boolean]]

def weightValue(): Rep[DenseVector[Double]]

FileStream

<auto-generated stub>

Static methods

def apply(x: Rep[String]): Rep[FileStream]

Infix methods

def foreach(y: (Rep[String]) => Rep[Unit]): Rep[Unit]

def groupRowsBy(outTable: Rep[String], delim: Rep[String] = unit("\s+"), trim: Rep[Boolean] = true, appendToHash: Rep[Boolean] = false)(keyFunc: (Rep[DenseVector[String]]) => Rep[String], valFunc: (Rep[DenseVector[String]]) => Rep[DenseVector[Double]]): Rep[HashStream[DenseMatrix[Double]]]

def map(outFile: Rep[String], preserveOrder: Rep[Boolean] = false, chunkSize: Rep[Long] = filestream_getchunkbytesize())(func: (Rep[String]) => Rep[String]): Rep[FileStream]

def mapRows(outFile: Rep[String], inDelim: Rep[String] = unit("\s+"), outDelim: Rep[String] = unit("    "), trim: Rep[Boolean] = true)(func: (Rep[DenseVector[String]]) => Rep[DenseVector[R]])(implicit ev0: Stringable[R]): Rep[FileStream]

def path(): Rep[String]

def processFileChunks(readFunc: (Rep[String],Rep[String]) => Rep[R], processFunc: (Rep[ForgeArray[R]]) => Rep[Unit], chunkSize: Rep[Long] = filestream_getchunkbytesize()): Rep[Unit]

def reduce(zero: Rep[T])(func: (Rep[String]) => Rep[T])(rfunc: (Rep[T],Rep[T]) => Rep[T]): Rep[T]

GrayscaleImage

<auto-generated stub>

Static methods

def apply(x: Rep[DenseMatrix[Double]]): Rep[GrayscaleImage]

Infix methods

def convolve(kernel: Rep[DenseMatrix[Double]]): Rep[GrayscaleImage]

def data(): Rep[DenseMatrix[Double]]

def downsample(rowFactor: Rep[Int], colFactor: Rep[Int])(sample: (Rep[GrayscaleImage]) => Rep[Double]): Rep[GrayscaleImage]

def histogram(): Rep[DenseVector[Int]]

def numCols(): Rep[Int]

def numRows(): Rep[Int]

def windowedFilter(rowDim: Rep[Int], colDim: Rep[Int])(block: (Rep[GrayscaleImage]) => Rep[Double]): Rep[GrayscaleImage]

HashStream

<auto-generated stub>

Static methods

def apply(table: Rep[String], deserialize: (Rep[HashStream[V]],Rep[String]) => Rep[V]): Rep[HashStream[V]]

Infix methods

def apply(y: Rep[String]): Rep[V]

def close(): Rep[Unit]

def contains(y: Rep[String]): Rep[Boolean]

def get(y: Rep[String]): Rep[ForgeArray[Byte]]

def getAll(y: Rep[String]): Rep[ForgeArray[ForgeArray[Byte]]]

def keys(): Rep[ForgeArray[String]]

def mapValues(outFile: Rep[String], outDelim: Rep[String] = unit("    "))(func: (Rep[String],Rep[V]) => Rep[DenseVector[R]])(implicit ev0: Stringable[R]): Rep[FileStream]

def open(): Rep[Unit]

def put(y: Rep[String], z: Rep[ForgeArray[Byte]]): Rep[Unit]

def putAll(y: Rep[ForgeArray[String]], z: Rep[ForgeArray[String]], v: Rep[ForgeArray[ForgeArray[Byte]]], w: Rep[Int]): Rep[Unit]

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]]

KeyValueStore

<auto-generated stub>

Static methods

def apply(table: Rep[String], deserialize: (Rep[KeyValueStore[V]],Rep[String]) => Rep[V]): Rep[KeyValueStore[V]]

Infix methods

def apply(y: Rep[String]): Rep[V]

def close(): Rep[Unit]

def contains(y: Rep[String]): Rep[Boolean]

def get(y: Rep[String]): Rep[ForgeArray[Byte]]

def getAll(y: Rep[String]): Rep[ForgeArray[ForgeArray[Byte]]]

def keys(): Rep[ForgeArray[String]]

def open(): Rep[Unit]

def put(y: Rep[String], z: Rep[ForgeArray[Byte]]): Rep[Unit]

def putAll(y: Rep[ForgeArray[String]], z: Rep[ForgeArray[String]], v: Rep[ForgeArray[ForgeArray[Byte]]], w: Rep[Int]): Rep[Unit]

RandomForest

<auto-generated stub>

Infix methods

def predict(testPt: Rep[DenseVector[Double]]): Rep[Tup2[Double,:doc:double]]

def probabilities(testPt: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def score(testPt: Rep[DenseVector[Double]]): Rep[Double]

def trees(): Rep[DenseVector[DecisionTree]]

Replicated

<auto-generated stub>

Static methods

def apply(x: Rep[ForgeArray[T]]): Rep[Replicated[T]]

Infix methods

def local(): Rep[T]

Implicit methods

def readLocal(r: Rep[Replicated[T]]): Rep[T]

SparseMatrix

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Int]): Rep[SparseMatrixBuildable[T]]

def diag(x: Rep[Int], y: Rep[SparseVector[T]]): Rep[SparseMatrix[T]]

def fromElements(numRows: Rep[Int], numCols: Rep[Int], nzElements: Rep[DenseVector[T]], nzRowIndices: Rep[DenseVector[Int]], nzColIndices: Rep[DenseVector[Int]]): Rep[SparseMatrix[T]]

def identity(x: Rep[Int], y: Rep[Int]): Rep[SparseMatrix[Double]]

def identity(x: Rep[Int]): Rep[SparseMatrix[Double]]

def rand(x: Rep[Int], y: Rep[Int], z: Rep[Double]): Rep[SparseMatrix[Double]]

def randf(x: Rep[Int], y: Rep[Int], z: Rep[Double]): Rep[SparseMatrix[Float]]

def randn(x: Rep[Int], y: Rep[Int], z: Rep[Double]): Rep[SparseMatrix[Double]]

def randnf(x: Rep[Int], y: Rep[Int], z: Rep[Double]): Rep[SparseMatrix[Float]]

def zeros(x: Rep[Int], y: Rep[Int]): Rep[SparseMatrix[Double]]

def zerosf(x: Rep[Int], y: Rep[Int]): Rep[SparseMatrix[Float]]

Infix methods

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def *:*(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def +(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def +(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def +(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def -(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def -(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[SparseMatrix[T]])(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def /(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def /(y: Rep[T])(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def Clone(): Rep[SparseMatrix[T]]

def abs()(implicit ev0: Arith[T]): Rep[SparseMatrix[T]]

def apply(y: Rep[Int], z: Rep[Int]): Rep[T]

def apply(y: Rep[Int]): Rep[SparseVectorView[T]]

def apply(y: Rep[IndexVector]): Rep[SparseMatrix[T]]

def apply(y: Rep[IndexVector], z: IndexWildcard): Rep[SparseMatrix[T]]

def apply(rows: Rep[IndexVector], cols: Rep[IndexVector]): Rep[SparseMatrix[T]]

def apply(y: IndexWildcard, z: Rep[IndexVector]): Rep[SparseMatrix[T]]

def colIndices(): Rep[IndexVector]

def countnz(y: (Rep[T]) => Rep[Boolean]): Rep[Int]

def filterCols(y: (Rep[SparseVectorView[T]]) => Rep[Boolean]): Rep[SparseMatrix[T]]

def filterRows(y: (Rep[SparseVectorView[T]]) => Rep[Boolean]): Rep[SparseMatrix[T]]

def findCols(y: (Rep[SparseVectorView[T]]) => Rep[Boolean]): Rep[IndexVector]

def findRows(y: (Rep[SparseVectorView[T]]) => Rep[Boolean]): Rep[IndexVector]

def foreachCol(y: (Rep[SparseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def foreachRow(y: (Rep[SparseVectorView[T]]) => Rep[Unit]): Rep[Unit]

def foreachnz(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def getCol(y: Rep[Int]): Rep[SparseVectorView[T]]

def getCols(y: Rep[IndexVector]): Rep[SparseMatrix[T]]

def getRow(y: Rep[Int]): Rep[SparseVectorView[T]]

def getRows(y: Rep[IndexVector]): Rep[SparseMatrix[T]]

def makeDimsStr(): Rep[String]

def makeString()(implicit ev0: Stringable[T]): Rep[String]

def mapColsToVector(y: (Rep[SparseVectorView[T]]) => Rep[R]): Rep[SparseVector[R]]

def mapRowsToDenseVector(y: (Rep[SparseVectorView[T]]) => Rep[R]): Rep[DenseVector[R]]

def mapRowsToVector(y: (Rep[SparseVectorView[T]]) => Rep[R]): Rep[SparseVector[R]]

 def mapnz(y: (Rep[T]) => Rep[R]): Rep[SparseMatrix[R]]

Bulk

def max()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def maxCols()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[SparseVector[T]]

def maxRows()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[SparseVector[T]]

def mean()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

 def min()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

Ordering

def minCols()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[SparseVector[T]]

def minRows()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[SparseVector[T]]

def mutable(): Rep[SparseMatrixBuildable[T]]

def nnz(): Rep[Int]

def numCols(): Rep[Int]

 def numRows(): Rep[Int]

Accessors

def nz(asRow: Rep[Boolean] = true): Rep[DenseVector[T]]

def nzCols(): Rep[IndexVector]

def nzRows(): Rep[IndexVector]

def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

def rowIndices(): Rep[IndexVector]

def size(): Rep[Int]

def slice(startRow: Rep[Int], endRow: Rep[Int], startCol: Rep[Int], endCol: Rep[Int]): Rep[SparseMatrix[T]]

def sliceCols(start: Rep[Int], end: Rep[Int]): Rep[SparseMatrix[T]]

def sliceRows(start: Rep[Int], end: Rep[Int]): Rep[SparseMatrix[T]]

def sum()(implicit ev0: Arith[T]): Rep[T]

def sumCols()(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def sumRows()(implicit ev0: Arith[T]): Rep[SparseVector[T]]

 def t(): Rep[SparseMatrix[T]]

Miscellaneous

def toDense(): Rep[DenseMatrix[T]]

def toString(): Rep[String]

def zipnz(y: Rep[DenseVector[B]])(z: (Rep[T],Rep[B]) => Rep[R]): Rep[SparseMatrix[R]]

SparseMatrixBuildable

<auto-generated stub>

Infix methods

def <<=(y: Rep[SparseVector[T]]): Rep[Unit]

def <<|=(y: Rep[SparseVector[T]]): Rep[Unit]

def append(i: Rep[Int], j: Rep[Int], y: Rep[T], alwaysWrite: Rep[Boolean] = true): Rep[Unit]

def apply(i: Rep[Int], j: Rep[Int]): Rep[T]

 def finish(): Rep[SparseMatrix[T]]

Conversion to CSR

def insertCol(pos: Rep[Int], y: Rep[SparseVector[T]]): Rep[Unit]

def insertRow(pos: Rep[Int], y: Rep[SparseVector[T]]): Rep[Unit]

def makeString()(implicit ev0: Stringable[T]): Rep[String]

def mutable(): Rep[SparseMatrixBuildable[T]]

def nnz(): Rep[Int]

def numCols(): Rep[Int]

 def numRows(): Rep[Int]

Accessors

 def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

Miscellaneous

def removeCol(pos: Rep[Int]): Rep[Unit]

def removeCols(pos: Rep[Int], num: Rep[Int]): Rep[Unit]

def removeRow(pos: Rep[Int]): Rep[Unit]

def removeRows(pos: Rep[Int], num: Rep[Int]): Rep[Unit]

def size(): Rep[Int]

def toString(): Rep[String]

def update(y: Rep[Int], z: Rep[Int], v: Rep[T]): Rep[Unit]

SparseTrainingSet

<auto-generated stub>

Static methods

def apply(x: Rep[SparseMatrix[D]], y: Rep[DenseVector[L]]): Rep[SparseTrainingSet[D,L]]

Infix methods

def apply(y: Rep[Int], z: Rep[Int]): Rep[D]

def apply(y: Rep[Int]): Rep[SparseVectorView[D]]

def data(): Rep[SparseMatrix[D]]

def labels(): Rep[DenseVector[L]]

def numFeatures(): Rep[Int]

def numSamples(): Rep[Int]

SparseVector

<auto-generated stub>

Static methods

def apply(x: Rep[Int], y: Rep[Boolean]): Rep[SparseVector[T]]

def fromElements(length: Rep[Int], isRow: Rep[Boolean], nzIndices: Rep[IndexVector], nzElements: Rep[DenseVector[T]]): Rep[SparseVector[T]]

def fromFunc(x: Rep[Int], y: Rep[Boolean], z: Rep[IndexVector], v: (Rep[Int]) => Rep[T]): Rep[SparseVector[T]]

def fromSortedElements(length: Rep[Int], isRow: Rep[Boolean], nzIndices: Rep[IndexVector], nzElements: Rep[DenseVector[T]]): Rep[SparseVector[T]]

def rand(length: Rep[Int], sparsity: Rep[Double]): Rep[SparseVector[Double]]

def randf(length: Rep[Int], sparsity: Rep[Double]): Rep[SparseVector[Float]]

def zeros(x: Rep[Int]): Rep[SparseVector[Double]]

def zerosf(x: Rep[Int]): Rep[SparseVector[Float]]

Infix methods

def *(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def **(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseMatrix[T]]

def *:*(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[T]

def +(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def +(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def +(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def -(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def -(y: Rep[T])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[SparseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def /(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def /(y: Rep[T])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def <<(y: Rep[T]): Rep[SparseVector[T]]

def <<(y: Rep[SparseVector[T]]): Rep[SparseVector[T]]

def <<=(y: Rep[T]): Rep[Unit]

def <<=(y: Rep[SparseVector[T]]): Rep[Unit]

def Clone(): Rep[SparseVector[T]]

def abs()(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def apply(y: Rep[Int]): Rep[T]

def apply(y: Rep[IndexVector]): Rep[SparseVector[T]]

def clear(): Rep[Unit]

def contains(y: Rep[T]): Rep[Boolean]

def copyFrom(pos: Rep[Int], xs: Rep[SparseVector[T]]): Rep[Unit]

def countnz(y: (Rep[T]) => Rep[Boolean]): Rep[Int]

def distinct(): Rep[DenseVector[T]]

def drop(y: Rep[Int]): Rep[SparseVector[T]]

def filternz(y: (Rep[T]) => Rep[Boolean]): Rep[SparseVector[T]]

def findnz(y: (Rep[T]) => Rep[Boolean]): Rep[IndexVector]

def first(): Rep[T]

def firstnz(): Rep[T]

def foreachnz(y: (Rep[T]) => Rep[Unit]): Rep[Unit]

def indices(): Rep[IndexVector]

def insert(y: Rep[Int], z: Rep[T]): Rep[Unit]

def insertAll(pos: Rep[Int], xs: Rep[SparseVector[T]]): Rep[Unit]

def isEmpty(): Rep[Boolean]

def isRow(): Rep[Boolean]

def last(): Rep[T]

def lastnz(): Rep[T]

 def length(): Rep[Int]

Accessors

def makeString()(implicit ev0: Stringable[T]): Rep[String]

 def mapnz(y: (Rep[T]) => Rep[R]): Rep[SparseVector[R]]

Bulk

def max()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

def mean()(implicit ev0: (Rep[T]) => Rep[Double]): Rep[Double]

 def min()(implicit ev0: Ordering[T],ev1: HasMinMax[T]): Rep[T]

Ordering

def mt(): Rep[Unit]

def mutable(): Rep[SparseVector[T]]

def nnz(): Rep[Int]

def nz(): Rep[DenseVectorView[T]]

def pprint()(implicit ev0: Stringable[T]): Rep[Unit]

def reducenz(y: (Rep[T],Rep[T]) => Rep[T])(implicit ev0: Arith[T]): Rep[T]

def remove(y: Rep[Int]): Rep[Unit]

def removeAll(pos: Rep[Int], len: Rep[Int]): Rep[Unit]

def slice(start: Rep[Int], end: Rep[Int]): Rep[SparseVector[T]]

def sum()(implicit ev0: Arith[T]): Rep[T]

 def t(): Rep[SparseVector[T]]

Miscellaneous

def take(y: Rep[Int]): Rep[SparseVector[T]]

def toDense(): Rep[DenseVector[T]]

def toString(): Rep[String]

def trim(): Rep[Unit]

def update(pos: Rep[Int], e: Rep[T]): Rep[Unit]

def update(indices: Rep[IndexVector], e: Rep[T]): Rep[Unit]

def update(indices: Rep[IndexVector], v: Rep[SparseVector[T]]): Rep[Unit]

Implicit methods

def dist(x: Rep[SparseVector[Double]], y: Rep[SparseVector[Double]]): Rep[Double]

SparseVectorView

<auto-generated stub>

Static methods

def apply(x: Rep[SparseMatrix[T]], y: Rep[Long], z: Rep[Int], v: Rep[Int], w: Rep[Boolean]): Rep[SparseVectorView\[T\]]

Infix methods

def *(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[T])(implicit ev0: Arith[T]): Rep[SparseVector[T]]

def *(y: Rep[DenseMatrix[T]])(implicit ev0: Arith[T]): Rep[DenseVector[T]]

def *:*(y: Rep[DenseVector[T]])(implicit ev0: Arith[T]): Rep[T]

def *:*(y: Rep[DenseVectorView[T]])(implicit ev0: Arith[T]): Rep[T]

def Clone(): Rep[SparseVector[T]]

def apply(y: Rep[Int]): Rep[T]

def indices(): Rep[IndexVector]

def isRow(): Rep[Boolean]

def length(): Rep[Int]

def nnz(): Rep[Int]

def nz(): Rep[DenseVectorView[T]]

def toDense(): Rep[DenseVector[T]]

def toSparse(): Rep[SparseVector[T]]

def toString(): Rep[String]

Implicit methods

def chainViewToSparseOps(self: Rep[SparseVectorView\[T\]]): SparseVectorSparseVectorOpsCls[T]

def viewToSparse(self: Rep[SparseVectorView\[T\]]): Rep[SparseVector[T]]

Tup2

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def toString(): Rep[String]

Tup3

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def toString(): Rep[String]

Tup4

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def _4(): Rep[D]

def toString(): Rep[String]

Tup5

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def _4(): Rep[D]

def _5(): Rep[E]

def toString(): Rep[String]

Tup6

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def _4(): Rep[D]

def _5(): Rep[E]

def _6(): Rep[F]

def toString(): Rep[String]

Tup7

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def _4(): Rep[D]

def _5(): Rep[E]

def _6(): Rep[F]

def _7(): Rep[G]

def toString(): Rep[String]

Tup8

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def _4(): Rep[D]

def _5(): Rep[E]

def _6(): Rep[F]

def _7(): Rep[G]

def _8(): Rep[H]

def toString(): Rep[String]

Tup9

<auto-generated stub>

Infix methods

def _1(): Rep[A]

def _2(): Rep[B]

def _3(): Rep[C]

def _4(): Rep[D]

def _5(): Rep[E]

def _6(): Rep[F]

def _7(): Rep[G]

def _8(): Rep[H]

def _9(): Rep[I]

def toString(): Rep[String]

UTriangle

<auto-generated stub>

Infix methods

def N(): Rep[Int]

def apply(n: Rep[Int]): Rep[Tup2[Int,:doc:int]]

def contains(i: Rep[Int], j: Rep[Int]): Rep[Boolean]

def includeDiagonal(): Rep[Boolean]

def size(): Rep[Int]

Objects

DateFeature

<auto-generated stub>

Static methods

def apply(x: Rep[String]): Rep[org.joda.time.format.DateTimeFormatter]

def day(x: Rep[Double]): Rep[Int]

def daysBetween(x: Rep[Double], y: Rep[Double]): Rep[Int]

def hour(x: Rep[Double]): Rep[Int]

def month(x: Rep[Double]): Rep[Int]

def monthsBetween(x: Rep[Double], y: Rep[Double]): Rep[Int]

def weekday(x: Rep[Double]): Rep[Int]

def year(x: Rep[Double]): Rep[Int]

def yearsBetween(x: Rep[Double], y: Rep[Double]): Rep[Int]

Math

<auto-generated stub>

Static methods

def abs(x: Rep[Double]): Rep[Double]

def acos(x: Rep[Double]): Rep[Double]

def asin(x: Rep[Double]): Rep[Double]

def atan(x: Rep[Double]): Rep[Double]

def atan2(x: Rep[Double], y: Rep[Double]): Rep[Double]

def bitcount(x: Rep[Long]): Rep[Int]

def ceil(x: Rep[Double]): Rep[Double]

def cos(x: Rep[Double]): Rep[Double]

def cosh(x: Rep[Double]): Rep[Double]

def exp(x: Rep[Double]): Rep[Double]

def floor(x: Rep[Double]): Rep[Double]

def log(x: Rep[Double]): Rep[Double]

def log10(x: Rep[Double]): Rep[Double]

def max(x: Rep[Double], y: Rep[Double]): Rep[Double]

def min(x: Rep[Double], y: Rep[Double]): Rep[Double]

def pow(x: Rep[Double], y: Rep[Double]): Rep[Double]

def round(x: Rep[Double]): Rep[Long]

def sin(x: Rep[Double]): Rep[Double]

def sinh(x: Rep[Double]): Rep[Double]

def sqrt(x: Rep[Double]): Rep[Double]

def tan(x: Rep[Double]): Rep[Double]

def tanh(x: Rep[Double]): Rep[Double]

Primitives

Boolean

<auto-generated stub>

Infix methods

def &&(y: Rep[Boolean]): Rep[Boolean]

Boolean AND


def unary_!(): Rep[Boolean]

Boolean inverse


def ||(y: Rep[Boolean]): Rep[Boolean]

Boolean OR

Double

<auto-generated stub>

Infix methods

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Float]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def unary_-(): Rep[Double]

Negation


def ~^(y: Rep[Int]): Rep[Double]

Float

<auto-generated stub>

Infix methods

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def +(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def +(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def +(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def +(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Float]]

def -(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def -(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Float]]

def -(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def -(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def unary_-(): Rep[Float]

Negation

ForgeArray

<auto-generated stub>

Infix methods

def apply(y: Rep[Int]): Rep[T]

def length(): Rep[Int]

ForgeHashMap

<auto-generated stub>

Infix methods

def toVector(): Rep[DenseVector[R]]

Int

<auto-generated stub>

Infix methods

def %(y: Rep[Int]): Rep[Int]

def &(y: Rep[Int]): Rep[Int]

def *(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def *(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def *(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def *(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def *(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def *(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def +(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def +(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def +(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def +(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def +(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def +(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def -(y: Rep[DenseVector[Int]]): Rep[DenseVector[Int]]

def -(y: Rep[DenseVector[Float]]): Rep[DenseVector[Float]]

def -(y: Rep[DenseVector[Double]]): Rep[DenseVector[Double]]

def -(y: Rep[DenseMatrix[Int]]): Rep[DenseMatrix[Int]]

def -(y: Rep[DenseMatrix[Float]]): Rep[DenseMatrix[Float]]

def -(y: Rep[DenseMatrix[Double]]): Rep[DenseMatrix[Double]]

def ::(start: Rep[Int]): Rep[IndexVector]

def <<(y: Rep[Int]): Rep[Int]

def >>(y: Rep[Int]): Rep[Int]

def >>>(y: Rep[Int]): Rep[Int]

def unary_-(): Rep[Int]

Negation


def unary_~(): Rep[Int]

def |(y: Rep[Int]): Rep[Int]

Long

<auto-generated stub>

Infix methods

def %(y: Rep[Long]): Rep[Long]

def &(y: Rep[Long]): Rep[Long]

def <<(y: Rep[Int]): Rep[Long]

def >>(y: Rep[Int]): Rep[Long]

def >>>(y: Rep[Int]): Rep[Long]

def ^(y: Rep[Long]): Rep[Long]

def unary_-(): Rep[Long]

Negation


def unary_~(): Rep[Long]

def |(y: Rep[Long]): Rep[Long]

String

Exits the program with a fatal exception message. @param message

Infix methods

def contains(y: Rep[String]): Rep[Boolean]

def endsWith(y: Rep[String]): Rep[Boolean]

def fcharAt(y: Rep[Int]): Rep[Char]

def fsplit(y: Rep[String], numSplits: Rep[Int] = 0): Rep[ForgeArray[String]]

def getBytes(): Rep[ForgeArray[Byte]]

def length(): Rep[Int]

def replaceAllLiterally(y: Rep[String], z: Rep[String]): Rep[String]

def slice(y: Rep[Int], z: Rep[Int]): Rep[String]

def split(y: Rep[String], numSplits: Rep[Int] = 0): Rep[ForgeArray[String]]

def startsWith(y: Rep[String]): Rep[Boolean]

def substring(y: Rep[Int]): Rep[String]

def substring(y: Rep[Int], z: Rep[Int]): Rep[String]

def toBoolean(): Rep[Boolean]

def toDouble(): Rep[Double]

def toFloat(): Rep[Float]

def toInt(): Rep[Int]

def toLong(): Rep[Long]

def toLowerCase(): Rep[String]

def toUpperCase(): Rep[String]

def trim(): Rep[String]

java.io.DataInputStream

<auto-generated stub>

Infix methods

def available(): Rep[Int]

def fclose(): Rep[Unit]

def readBoolean(): Rep[Boolean]

def readDouble(): Rep[Double]

def readInt(): Rep[Int]

def readLong(): Rep[Long]

def readShort(): Rep[Short]

org.joda.time.format.DateTimeFormatter

<auto-generated stub>

Infix methods

def apply(y: Rep[String]): Rep[Double]

Generic Methods

T

<auto-generated stub>

Infix methods

def +(y: String): Rep[String]

def AsInstanceOf(): Rep[R]

Casts this to the given type


def IsInstanceOf(): Rep[Boolean]

Checks if this is the specified type


def toDouble(): Rep[Double]

Converts this numeric value to an Double


def toFloat(): Rep[Float]

Converts this numeric value to a Float


def toInt(): Rep[Int]

Converts this numeric value to an Int


def toLong(): Rep[Long]

Converts this numeric value to a Long


def unsafeImmutable(): Rep[T]

Gives a hint to the compiler to consider this value as immutable for future operations Note that this operation is unsafe as it does not prevent mutations prior to this call. For example, in:

val x = Array[Int](32)
for (i <- 0 until N) {
  x(i) = i
  f(x.unsafeImmutable)
}

This will tell the compiler that x is not mutable in the function x, but x can still be mutated after this call has been made (in the next iteration of the loop, for example).


def unsafeMutable(): Rep[T]

Enables unsafe mutation of this value.

Operations

BasicMath

<auto-generated stub>

Classifier

<auto-generated stub>

Control

<auto-generated stub>

FString

<auto-generated stub>

FeatureHelper

<auto-generated stub>

IO

<auto-generated stub>

LAio

<auto-generated stub>

LinAlg

<auto-generated stub>

MLio

<auto-generated stub>

Misc

Miscellaneous operations, including assertions, console printing, and exception throwing.

Primitive

<auto-generated stub>

Implicit methods

def dist(x: Rep[Int], y: Rep[Int]): Rep[Double]

def dist(x: Rep[Double], y: Rep[Double]): Rep[Double]

def repFloat2ToRepDouble(x: Rep[Float]): Rep[Double]

Enables implicit conversion from Float to Double


def repInt2ToRepDouble(x: Rep[Int]): Rep[Double]

Enables implicit conversion from Int to Double


def repInt2ToRepFloat(x: Rep[Int]): Rep[Float]

Enables implicit conversion from Int to Float


def repInt2ToRepLong(x: Rep[Int]): Rep[Long]

Enables implicit conversion from Int to Long

Rand

<auto-generated stub>

Validate

<auto-generated stub>