Mercurial > octave
view .editorconfig @ 28158:687d452070c9
condest.m: Overhaul function.
Change algorithm to compute inverse matrix just once and cache
result in presistent variable.
* condest.m: Add more calling forms to documentation (they were always there
but not shown explicitly). Rename "apply" to "Afcn" for clarity. Rename
"solvefun" to "Ainvfcn" for clarity. Capitalize @var{A} in documentation.
Correct documentation about what Ainvfcn must return. Add @seealso link to
rcond. Remove "Author:", "Keywords:", "Version:" comments. Rename
"have_apply_normest1" to "have_Afcn" for clarity. Rename "have_solve_normest1"
to "have_Ainvfcn" for clarity. Rename BIST functions apply_fun, solve_fun
to "__Afcn__" and "__Ainvfcn__" with internal prefix so they do not clash
with other functions. Update BIST tests for new names.
* condest.m (inv_sparse_fcn): Rename from "solve_sparse". Create persistent
variables Ainv, Ainvt, n, isreal_op. Add case "init" to switch statement
to initialize persistent variables just once per session. Add case "clear"
to switch statement to clear persistent variables from memory.
* condest.m (inv_full_fcn): Rename from "solve_not_sparse". Create persistent
variables Ainv, Ainvt, n, isreal_op. Add case "init" to switch statement
to initialize persistent variables just once per session. Add case "clear"
to switch statement to clear persistent variables from memory.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 13 Mar 2020 10:46:46 -0700 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab