def _get_rest_pose_compensation_matrix(src_pbone, trg_pbone):
    """Bind pose compensation matrix
    bones are expected to be of type PoseBone and be in rest pose

    A_b
    """
    a_mat = src_pbone.matrix.inverted() * trg_pbone.matrix
    return a_mat