mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 04:44:03 +01:00
Added missing org file. #25
This commit is contained in:
parent
269f8d33d2
commit
b0fd86db40
59
org/qmckl_sherman_morrison_woodbury.org
Normal file
59
org/qmckl_sherman_morrison_woodbury.org
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
#+TITLE: Sherman-Morrison-Woodbury
|
||||||
|
#+SETUPFILE: ../tools/theme.setup
|
||||||
|
#+INCLUDE: ../tools/lib.org
|
||||||
|
|
||||||
|
[TODO: FMJC] Please add some intro.
|
||||||
|
|
||||||
|
* Headers
|
||||||
|
#+begin_src elisp :noexport :results none
|
||||||
|
(org-babel-lob-ingest "../tools/lib.org")
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+begin_src c :comments link :tangle (eval c_test) :noweb yes
|
||||||
|
#include "qmckl.h"
|
||||||
|
#include "assert.h"
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include "config.h"
|
||||||
|
#endif
|
||||||
|
int main() {
|
||||||
|
qmckl_context context;
|
||||||
|
context = qmckl_context_create();
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
* Sherman Morrison
|
||||||
|
|
||||||
|
[TODO: FMJC] Add general doc for Naive SM.
|
||||||
|
|
||||||
|
** ~qmckl_sherman_morrison~
|
||||||
|
:PROPERTIES:
|
||||||
|
:Name: qmckl_sherman_morrison
|
||||||
|
:CRetType: qmckl_exit_code
|
||||||
|
:FRetType: qmckl_exit_code
|
||||||
|
:END:
|
||||||
|
|
||||||
|
[TODO: FMJC] Add some detailed description. Including formulae etc.
|
||||||
|
|
||||||
|
#+NAME: qmckl_sherman_morrison_args
|
||||||
|
| qmckl_context | context | in | Global state |
|
||||||
|
|
||||||
|
*** Requirements
|
||||||
|
|
||||||
|
[TODO: FMJC] Add description of the input variables. (see for e.g. qmckl_distance.org)
|
||||||
|
|
||||||
|
*** C header
|
||||||
|
*** Source
|
||||||
|
*** Performance
|
||||||
|
|
||||||
|
* End of files
|
||||||
|
|
||||||
|
#+begin_src c :comments link :tangle (eval c_test)
|
||||||
|
assert (qmckl_context_destroy(context) == QMCKL_SUCCESS);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
# -*- mode: org -*-
|
||||||
|
# vim: syntax=c
|
Loading…
Reference in New Issue
Block a user