Speed improvement [🇷 for BE/BA]

posted by PharmCat  – Russia, 2020-08-09 20:22 (1380 d 15:18 ago) – Posting: # 21844
Views: 13,463

❝ 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:

UA Flag
Activity
 Admin contact
23,034 posts in 4,835 threads, 1,647 registered users;
36 visitors (0 registered, 36 guests [including 6 identified bots]).
Forum time: 11:40 CEST (Europe/Vienna)

Give me a fruitful error any time, full of seeds, bursting with its own corrections.
You can keep your sterile truth for yourself.    Vilfredo Pareto

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