Sorry I have a trivial question. In matlab, combvec takes as inputs vectors and outputs all combinations of element from each vector. I was looking for a similar function in julia and found one in the SparseGrids library. I expect the following code to yield an array of vectors.

using SparseGrids
A = Vector(0:1)
vectorCombs = SparseGrids.combvec(A,A,A)

However I receive the following error:

ERROR: MethodError: no method matching combvec(::Vector{Int64})
Closest candidates are:
combvec(::Array{Vector{T}, 1}) where T at ~/.julia/packages/SparseGrids/P8oxX/src/grids.jl:158
Stacktrace:
[1] top-level scope
@ REPL[16]:1