% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/info.R
\name{a5_get_num_children}
\alias{a5_get_num_children}
\title{Number of children between two resolutions}
\usage{
a5_get_num_children(parent_resolution, child_resolution)
}
\arguments{
\item{parent_resolution}{Integer scalar (0--30).}

\item{child_resolution}{Integer scalar (0--30), must be >=
\code{parent_resolution}.}
}
\value{
A numeric scalar. Returned as double because the count can
exceed R's integer range at large resolution deltas.
}
\description{
Returns the number of child cells each parent cell contains when
expanding from one resolution to another.
}
\examples{
a5_get_num_children(5, 8)   # 4^3 = 64
a5_get_num_children(0, 5)
}
\seealso{
\code{\link[=a5_get_num_cells]{a5_get_num_cells()}}, \code{\link[=a5_cell_to_children]{a5_cell_to_children()}},
\code{\link[=a5_uncompact]{a5_uncompact()}}
}
