- #1
ebrattr
- 17
- 0
Hi ! I'm trying to inverse a mass matrix so I need to do something like this
[itex] \dfrac{q}{\partial \mathbf{r}} [/itex] where [itex] \cos q = \dfrac{\mathbf{r}\cdot \hat{\mathbf{k}}}{r} [/itex]
However, when [itex] \mathbf{r} = \hat{\mathbf{k}} \text{ or } -\hat{\mathbf{k}} [/itex] I have problems.
¿What can I do?
Thanks !
[itex] \dfrac{q}{\partial \mathbf{r}} [/itex] where [itex] \cos q = \dfrac{\mathbf{r}\cdot \hat{\mathbf{k}}}{r} [/itex]
However, when [itex] \mathbf{r} = \hat{\mathbf{k}} \text{ or } -\hat{\mathbf{k}} [/itex] I have problems.
¿What can I do?
Thanks !