powered by
slice(x, d, n, `eval`=FALSE)
scidb
# Build a 5x5 matrix: x <- build("random()print(x[]) # Slice the 2nd row (i=1 since SciDB matrices start with zero index by default) y <- slice(x, "i", 1) print(y[])
Run the code above in your browser using DataLab