find centroid of hyperpyramid

149 Views Asked by At

I'm having trouble computing centroid of hyperpyramid (assume we have n points in n dimension). I already search a lot and I find how can calculate triangle and pyramid centroid, but I don't know how can I generalize it and calculate the centroid of a hyperpyramid. Is there any link or book can help me to find an idea about how to compute it?