Menu

Commit [r20285]  Maximize  Restore  History

Added the missing mpower() function as lib.linear_algebra.matrix_power.square_matrix_power().

This is needed by the lib.dispersion.ns_2site_star module.

The function comes from the 'fitting_main_kex.py' file attached to comment 3 of task #7712
(https://gna.org/task/?7712#comment3, https://gna.org/support/download.php?file_id=18263).
The mpower() function was copied and modified to suite relax's coding conventions.

bugman 2013-07-12

changed /branches/relax_disp/lib/dispersion/ns_2site_star.py
changed /branches/relax_disp/lib/linear_algebra/__init__.py
added /branches/relax_disp/lib/linear_algebra/matrix_power.py
/branches/relax_disp/lib/dispersion/ns_2site_star.py Diff Switch to side-by-side view
Loading...
/branches/relax_disp/lib/linear_algebra/__init__.py Diff Switch to side-by-side view
Loading...
/branches/relax_disp/lib/linear_algebra/matrix_power.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.