Pose bone coordinate transformation

I’d like to be able to set the positions of pose bones in a coordinate system relative to the armature rather than the bone itself, but I’m not sure how to accurately do this. There are a number of matrices in the bone objects as well as in the pose bone objects, but I’m not sure as to the purpose of these matrices.

Does anyone know?

Thank you.