blend between more than 2 rotations?

There are functions inside the quaternion-class for blending between 2 rotations, but what if I want to create a weighted blend from more than 2 rotations?