The Dirac equation has been studied in which the Dirac matrices
\hat{\boldmath\alpha
}, \hat\beta have space factors, respectively
f and
, dependent on the particle's space coordinates. The
f function deforms Heisenberg algebra for the coordinates and momenta operators, the function
being treated as a dependence of the particle mass on its position. The properties of these
... [Show full abstract] functions in the transition to the Schr\"odinger equation are discussed. The exact solution of the Dirac equation for the particle motion in the Coulomnb field with a linear dependence of the f function on the distance r to the force centre and the inverse dependence on r for the function has been found. Comment: 13 pages