matrix exponential map and logarithm

Hello People,

Can someone point me to code for computing exponential map and logarithm for a matrix ? Or point me to the some nice algorithm perhaps so that i can code it myself. I am particularly looking for Rodrigues’ formula for doing it.