Procedure | Location | Procedure Type | Description |
---|---|---|---|
clear_exceptions | numerical_differentiation_module | Subroutine | Clear all exceptions. |
columns_in_partition_group | numerical_differentiation_module | Subroutine | Returns the columns in a sparsity partition group. |
compute_function_with_cache | numerical_differentiation_module | Subroutine | Wrapper for computing the function, using the cache. |
compute_indices | numerical_differentiation_module | Subroutine | Computes the |
compute_jacobian | numerical_differentiation_module | Subroutine | Compute the Jacobian. |
compute_jacobian_dense | numerical_differentiation_module | Subroutine | just a wrapper for compute_jacobian, that returns a dense ( |
compute_jacobian_for_sparsity | numerical_differentiation_module | Subroutine | A separate version of compute_jacobian to be used only when
computing the sparsity pattern in compute_sparsity_random_2.
It uses |
compute_jacobian_partitioned | numerical_differentiation_module | Subroutine | Compute the Jacobian using finite differences, (using the partitioned sparsity pattern to compute multiple columns at a time). |
compute_jacobian_standard | numerical_differentiation_module | Subroutine | Compute the Jacobian using finite differences. (one column at a time) |
compute_jacobian_times_vector | numerical_differentiation_module | Subroutine | Returns the product |
compute_jacobian_with_diff | numerical_differentiation_module | Subroutine | Compute the Jacobian one element at a time using the Neville's process algorithm diff. This takes a very large number of function evaluations, but should give a very accurate answer. |
compute_perturb_vector | numerical_differentiation_module | Subroutine | Compute |
compute_perturbation_vector | numerical_differentiation_module | Subroutine | Compute |
compute_sparsity_dense | numerical_differentiation_module | Subroutine | assume all elements of Jacobian are non-zero. |
compute_sparsity_pattern | numerical_differentiation_module | Subroutine | Computes the sparsity pattern and return it. Uses the settings currently in the class. |
compute_sparsity_perturbation_vector | numerical_differentiation_module | Subroutine | Compute |
compute_sparsity_random | numerical_differentiation_module | Subroutine | Compute the sparsity pattern by computing the function at three
"random" points in the [ |
compute_sparsity_random_2 | numerical_differentiation_module | Subroutine | Compute the sparsity pattern by computing a 2-point jacobian at a specified
number of "random" points ( |
degr | dsm_module | Subroutine | Given the sparsity pattern of an |
destroy_cache | numdiff_cache_module | Subroutine | Destroy a cache. |
destroy_numdiff_type | numerical_differentiation_module | Subroutine | destroy the numdiff_type class. |
destroy_sparsity | numerical_differentiation_module | Subroutine | destroy a sparsity_pattern type. |
destroy_sparsity_pattern | numerical_differentiation_module | Subroutine | Destroy the sparsity pattern in the class. |
diff | diff_module | Subroutine | the procedure |
divide_interval | numdiff_utilities_module | Function | Returns a set of slightly randomized equally-spaced points that divide an interval. |
dsm | dsm_module | Subroutine | The purpose of |
dsm_wrapper | numerical_differentiation_module | Subroutine | Wrapper for dsm to compute the sparsity pattern partition. |
equal_within_tol | numdiff_utilities_module | Function | Returns true if the values in the array are the same (to within the specified absolute tolerance). |
expand_vector | numdiff_utilities_module | Interface | |
expand_vector_int | numdiff_utilities_module | Subroutine | Add elements to the integer vector in chunks. |
expand_vector_real | numdiff_utilities_module | Subroutine | Add elements to the real vector in chunks. |
faccur | diff_module | Subroutine | This procedure attempts to estimate the level of rounding errors in
the calculated function values near the point |
failed | numerical_differentiation_module | Function | Returns True if an exception has been raised. |
fdjs | dsm_module | Subroutine | Given a consistent partition of the columns of an |
finite_diff_method | numerical_differentiation_module | Interface | constructor |
generate_dense_sparsity_partition | numerical_differentiation_module | Subroutine | Generate a "dense" sparsity partition. |
get_all_methods_in_class | numerical_differentiation_module | Function | Returns all the methods with the given |
get_error_status | numerical_differentiation_module | Subroutine | Returns the current error code and message. |
get_finite_diff_formula | numerical_differentiation_module | Subroutine | Return a string with the finite difference formula.
Input is the method |
get_finite_difference_method | numerical_differentiation_module | Subroutine | Return a finite_diff_method given the |
get_formula | numerical_differentiation_module | Subroutine | Return a string with the finite difference formula. |
get_from_cache | numdiff_cache_module | Subroutine | Check if the |
get_sparsity_pattern | numerical_differentiation_module | Subroutine | Returns the sparsity pattern from the class. If it hasn't been computed, the output arrays will not be allocated. |
ido | dsm_module | Subroutine | given the sparsity pattern of an |
initialize_cache | numdiff_cache_module | Subroutine | Initialize the cache. Must be called first before use. |
initialize_finite_difference_method | numerical_differentiation_module | Function | Constructor for a finite_diff_method. |
initialize_numdiff | numerical_differentiation_module | Subroutine | Initialize a numdiff_type class. This must be called first. |
initialize_numdiff_for_diff | numerical_differentiation_module | Subroutine | Alternate version of initialize_numdiff routine when using diff to compute the Jacobian. |
integer_to_string | numerical_differentiation_module | Function | Convert an integer to a string. |
numsrt | dsm_module | Subroutine | Given a sequence of integers, this subroutine groups together those indices with the same sequence value and, optionally, sorts the sequence into either ascending or descending order. |
perturb_x_and_compute_f | numerical_differentiation_module | Subroutine | Perturb the specified optimization variable, and compute the function.
This routine is designed so that |
perturb_x_and_compute_f_partitioned | numerical_differentiation_module | Subroutine | Perturb the specified optimization variable, and compute the function.
This routine is designed so that |
print_cache | numdiff_cache_module | Subroutine | Print the contents of the cache. Used for debugging. |
print_finite_difference_method | numerical_differentiation_module | Subroutine | Print the contents of a finite_diff_method. Used for debugging. |
print_sparsity | numerical_differentiation_module | Subroutine | Print the sparsity pattern. |
print_sparsity_matrix | numerical_differentiation_module | Subroutine | Print the sparsity pattern in matrix form. |
print_sparsity_pattern | numerical_differentiation_module | Subroutine | Print the sparsity pattern in vector form ( |
put_in_cache | numdiff_cache_module | Subroutine | Put a value into the cache. |
raise_exception | numerical_differentiation_module | Subroutine | Raise an exception. |
resize_sparsity_vectors | numerical_differentiation_module | Subroutine | Resize the sparsity arrays after accumulating them. |
select_finite_diff_method | numerical_differentiation_module | Subroutine | Select a finite diff method of a given |
select_finite_diff_method_for_partition_group | numerical_differentiation_module | Subroutine | Select a finite diff method of a given |
seq | dsm_module | Subroutine | given the sparsity pattern of an |
set_dpert | numerical_differentiation_module | Subroutine | Change the |
set_function | diff_module | Subroutine | Set the function in a diff_func. Must be called before diff. |
set_numdiff_bounds | numerical_differentiation_module | Subroutine | Change the variable bounds in a numdiff_type. |
set_numdiff_sparsity_bounds | numerical_differentiation_module | Subroutine | Sets the variable bounds for sparsity in a numdiff_type.
These are only used for |
set_sparsity_mode | numerical_differentiation_module | Subroutine | Set sparsity mode. |
set_sparsity_pattern | numerical_differentiation_module | Subroutine | To specify the sparsity pattern directly if it is already known. |
setr | dsm_module | Subroutine | given a column-oriented definition of the sparsity pattern
of an |
slo | dsm_module | Subroutine | given the sparsity pattern of an |
sort_ascending | numdiff_utilities_module | Interface | |
sort_ascending_int | numdiff_utilities_module | Subroutine | Sorts an integer array |
sort_ascending_real | numdiff_utilities_module | Subroutine | Sorts a real array |
srtdat | dsm_module | Subroutine | given the non-zero elements of an |
swap | numdiff_utilities_module | Interface | |
swap_int | numdiff_utilities_module | Subroutine | Swap two integer values. |
swap_real | numdiff_utilities_module | Subroutine | Swap two integer values. |
terminate | diff_module | Subroutine | Can be called by the user in the function to terminate the computation.
This will set |
terminate | numerical_differentiation_module | Subroutine | A user-callable routine. When called, it will terminate
all computations and return. The |
unique | numdiff_utilities_module | Interface | |
unique_int | numdiff_utilities_module | Function | Returns only the unique elements of the vector (sorted in ascending order). |
unique_real | numdiff_utilities_module | Function | Returns only the unique elements of the vector (sorted in ascending order). |
vector_djb_hash | numdiff_cache_module | Function | DJB hash algorithm for a |