Mercurial > hg > octave-nkf
view scripts/prefs/module.mk @ 20818:9d2023d1a63c
binoinv.m: Implement binary search algorithm for 28X performance increase (bug #34363).
* binoinv.m: Call new functions scalar_binoinv or vector_binoinv to calculate
binoinv. If there are still uncalculated values then call bin_search_binoinv
to perform binary search for remaining values. Add more BIST tests.
* binoinv.m (scalar_binoinv): New subfunction to calculate binoinv for scalar x.
Stops when x > 1000.
* binoinv.m (vector_binoinv): New subfunction to calculate binoinv for scalar x.
Stops when x > 1000.
author | Lachlan Andrew <lachlanbis@gmail.com> |
---|---|
date | Sun, 11 Oct 2015 19:49:40 -0700 |
parents | 916cc788d906 |
children |
line wrap: on
line source
FCN_FILE_DIRS += \ scripts/prefs \ scripts/prefs/private scripts_prefs_PRIVATE_FCN_FILES = \ scripts/prefs/private/loadprefs.m \ scripts/prefs/private/prefsfile.m \ scripts/prefs/private/saveprefs.m scripts_prefs_FCN_FILES = \ scripts/prefs/addpref.m \ scripts/prefs/getpref.m \ scripts/prefs/ispref.m \ scripts/prefs/prefdir.m \ scripts/prefs/preferences.m \ scripts/prefs/rmpref.m \ scripts/prefs/setpref.m scripts_prefsdir = $(fcnfiledir)/prefs scripts_prefs_DATA = $(scripts_prefs_FCN_FILES) scripts_prefs_privatedir = $(fcnfiledir)/prefs/private scripts_prefs_private_DATA = $(scripts_prefs_PRIVATE_FCN_FILES) FCN_FILES += \ $(scripts_prefs_FCN_FILES) \ $(scripts_prefs_PRIVATE_FCN_FILES) PKG_ADD_FILES += scripts/prefs/PKG_ADD DIRSTAMP_FILES += scripts/prefs/$(octave_dirstamp)