Speed improvement [R for BE/BA]

posted by PharmCat  – Russia, 2020-08-09 16:22 (251 d 07:58 ago) – Posting: # 21844
Views: 7,226

» 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,419 posts in 4,475 threads, 1,511 registered users;
online 11 (0 registered, 11 guests [including 4 identified bots]).
Forum time: Sunday 00:20 UTC (Europe/Vienna)

Nothing fails like success because you do not learn anything from it.
The only thing we ever learn from is failure.
Success only confirms our superstitions.    Kenneth E. Boulding

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