ralna / RALFit

A non-linear least squares solver
Other
25 stars 6 forks source link

Use blas where appropriate #90

Closed tyronerees closed 3 years ago

tyronerees commented 4 years ago

Using BLAS would be more efficient than looping through entries, especially for large arrays.

Lines that might benefit include:

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L1812-L1816

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L1967-L1973

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L3036-L3040

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L3648-L3650

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L4104-L4107

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L4113-L4115

https://github.com/ralna/RALFit/blob/cea1ab2cb7108b2ad75e41c70e6b27c5c63924ee/libRALFit/src/ral_nlls_internal.f90#L4183-L4185