Speed improvement [R for BE/BA]

posted by PharmCat  – Russia, 2020-08-09 18:22 (71 d 08:26 ago) – Posting: # 21844
Views: 5,690

» I believe this implies that matrix inversion is done in a clever fashion in R's solve function; as you pointed out PharmCat inversion can be slow (and unstable) as matrices get large, but perhaps the LAPACK routine used by R reduces the task intelligently, possibly through some of the same tricks described for e.g. the Alglib routines..

It is very good question to explore. If we suppose that some routine knows something about structure it should make big work to recognize block-diagonal or/and symmetric matrix structure.

I think, main cause is a overhead for each function call. Another problem - many intermediate products for %*%

Complete thread:

Activity
 Admin contact
21,162 posts in 4,410 threads, 1,476 registered users;
online 4 (0 registered, 4 guests [including 2 identified bots]).
Forum time: Tuesday 02:49 CEST (Europe/Vienna)

In theory, there is no difference between theory and practice.
But, in practice, there is.    Jan L.A. van de Snepscheut

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5