Menu

SVN archive Commit Log


Commit Date  
[r21113] by bugman

Replaced all usage of scipy.linalg.expm() with lib.linear_algebra.matrix_exponential.matrix_exponential().

This is for the functions of the lib.dispersion package used for the relaxation dispersion numeric
solution models. The change eliminates a bug in the scipy function which uses the Pade
approximation which fails horribly for the complex part of the matrix. The real part looks good,
but the complex part looks to have nasty truncation artefacts which is propagated and amplified
through the Bloch-McConnell equations.

2013-10-15 11:27:37 Tree
[r21112] by bugman

Merged revisions 21111 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r21111 | bugman | 2013-10-15 13:20:25 +0200 (Tue, 15 Oct 2013) | 5 lines

Fix for the new lib.linear_algebra.matrix_exponential.matrix_exponential() function.

This function now returns a numpy array type rather than matrix type.
........

2013-10-15 11:22:50 Tree
[r21111] by bugman

Fix for the new lib.linear_algebra.matrix_exponential.matrix_exponential() function.

This function now returns a numpy array type rather than matrix type.

2013-10-15 11:20:25 Tree
[r21110] by bugman

Merged revisions 21107-21109 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r21107 | bugman | 2013-10-15 11:31:40 +0200 (Tue, 15 Oct 2013) | 5 lines

Created the lib.check_types.is_complex() function.

This is used to determine if a number is a Python or numpy complex type.
........
r21108 | bugman | 2013-10-15 11:34:11 +0200 (Tue, 15 Oct 2013) | 5 lines

The lib.linear_algebra.matrix_exponential.matrix_exponential() function now uses lib.check_types.is_complex().

This fixes the function for complex matrices.
........
r21109 | bugman | 2013-10-15 11:45:29 +0200 (Tue, 15 Oct 2013) | 3 lines

Created a new unit test for lib.linear_algebra.matrix_exponential.matrix_exponential() for complex matrices.
........

2013-10-15 09:46:02 Tree
[r21109] by bugman

Created a new unit test for lib.linear_algebra.matrix_exponential.matrix_exponential() for complex matrices.

2013-10-15 09:45:29 Tree
[r21108] by bugman

The lib.linear_algebra.matrix_exponential.matrix_exponential() function now uses lib.check_types.is_complex().

This fixes the function for complex matrices.

2013-10-15 09:34:11 Tree
[r21107] by bugman

Created the lib.check_types.is_complex() function.

This is used to determine if a number is a Python or numpy complex type.

2013-10-15 09:31:40 Tree
[r21106] by bugman

Merged revisions 21103-21105 via svnmerge from
svn+ssh://bugman@.../svn/relax/trunk

........
r21103 | bugman | 2013-10-15 10:43:03 +0200 (Tue, 15 Oct 2013) | 6 lines

Created a unit test for the lib.linear_algebra.matrix_exponential module.

This module does not exist yet, but it will be used to replace the scipy.linalg.expm() function use
in the relaxation dispersion branch.
........
r21104 | bugman | 2013-10-15 11:07:19 +0200 (Tue, 15 Oct 2013) | 3 lines

Loosened the lib.linear_algebra.matrix_exponential.matrix_exponential() unit test checks.
........
r21105 | bugman | 2013-10-15 11:07:54 +0200 (Tue, 15 Oct 2013) | 5 lines

Implemented the lib.linear_algebra.matrix_exponential.matrix_exponential() function.

This handles square matrices in either complex or real form.
........

2013-10-15 09:08:58 Tree
[r21105] by bugman

Implemented the lib.linear_algebra.matrix_exponential.matrix_exponential() function.

This handles square matrices in either complex or real form.

2013-10-15 09:07:54 Tree
[r21104] by bugman

Loosened the lib.linear_algebra.matrix_exponential.matrix_exponential() unit test checks.

2013-10-15 09:07:19 Tree
Older >
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.