Constructs a NeuroVecSeq object to represent a variable-length list of NeuroVec objects.
Arguments
- ...
One or more instances of type NeuroVec.
Value
A NeuroVecSeq object containing the provided NeuroVec objects, along with the associated space and length information.
Examples
v1 <- NeuroVec(array(0, c(5, 5, 5, 2)), space = NeuroSpace(dim = c(5, 5, 5, 2)))
v2 <- NeuroVec(array(0, c(5, 5, 5, 4)), space = NeuroSpace(dim = c(5, 5, 5, 4)))
v3 <- NeuroVec(array(0, c(5, 5, 5, 6)), space = NeuroSpace(dim = c(5, 5, 5, 6)))
vs <- NeuroVecSeq(v1, v2, v3)
blks <- split_blocks(vs, rep(1:3, each = 4))