QMRITools`GradientTools`
QMRITools`GradientTools`

BmatrixToggle

BmatrixToggle[bmat,axes,flip]

, axes can be any order of {"x","y","z"}. flip should be {1,1,1},{1,1,-1},{1,-1,1} or {-1,1,1}.