within my MATLAB code, I have to deal with Cholesky factorization of a specific given matrix. I usually call chol(A,'lower') to create a lower triangular factor.
Now, checking my code with profiler , it is obvious that the chol function really takes a lot of time, especially if the size of the input matrix becomes large.
Therefore, I would like to know if there is a valuable alternative to the chol built-in function.
I was thinking about the LAPACK library, namely the spptrf function. Is it available in MATLAB or not?
Any hints or support is more than welcome.
EDIT
As an example, the profiler retrieves this information:

where Coh_u has a size (1395*1395) . It should also be noted that chol is called 4000 times, since I need a cholez factor for 4000 different configurations.
source share