totalParts: Returns the total number of partitions of the distributed object. The result is same as prod(nparts(dobj))

Description

Returns the total number of partitions of the distributed object. The result is same as prod(nparts(dobj))

Usage

1
totalParts(dobj)

Arguments

dobj

input distributed array, data.frame, or list.

Value

The total number of partitions in the distributed object.

See Also

nparts

Examples

1
2
3
4
5
## Not run: 
a <- darray(psize=c(3,3),dim=c(9,9)) # 9 partitions of 3x3
b <- totalParts(a) # Returns 9

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.