Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
624ac19c
Commit
624ac19c
authored
Jul 14, 2017
by
Andreas Marek
Browse files
Update documentation for switching to new API
parent
e5f154c3
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
SWITCHING_TO_NEW_INTERFACE.md
View file @
624ac19c
...
...
@@ -45,7 +45,7 @@ the user application):
2.
initialize ELPA and create the instance
if (elpa_init(20170403) /= ELPA_OK) then
if (elpa_init(20170403) /= ELPA_OK) then
error stop "ELPA API version not supported"
endif
...
...
@@ -132,8 +132,10 @@ the user application):
! (replaces a) and b) from legacy API)
b) e%eigenvalues ! solve EV problem with solver as set by "set" method; computes eigenvalues only
c) e%choleksy ! do a cholesky decomposition (replaces d) from legacy API)
d) e%invert_tri
diagonal
! invert triangular matrix (replaces e) from legacy API)
d) e%invert_tri
angular
! invert triangular matrix (replaces e) from legacy API)
e) e%hermitian_multiply ! multiply a
**T *b or a**
H
*
b (replaces f) and g) from legacy API)
f) e%solve_tridiagonal ! solves the eigenvalue problem for a tridiagonal matrix (replaces c) from legacy
! API)
7.
when not needed anymore, destroy the instance
call e%destroy()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment