I'm trying to implement a Kalman filter in a computationally efficient way. The main issue is the inversion of the innovation residual:
S=HPH^t+R
K=PH^t*inv(S)
My question is, can one assume that the S matrix in positive definite? This would make inverting it more computationally efficient....