Element-wise quotient with R's recycling (a shorter vector is recycled down the columns of a matrix). Equivalent to R's /.
/
divide([[1, 2], [3, 4]], [10, 20]); // [[0.1, 0.2], [0.15, 0.2]]divide([1, 2, 3], 2); // [0.5, 1, 1.5] Copy
divide([[1, 2], [3, 4]], [10, 20]); // [[0.1, 0.2], [0.15, 0.2]]divide([1, 2, 3], 2); // [0.5, 1, 1.5]
Element-wise quotient with R's recycling (a shorter vector is recycled down the columns of a matrix). Equivalent to R's
/.