Module iterative_methods::utils [−][src]
Structs
Counter | A simple Counter iterator to use in demos and tests. |
LinearSystem | Utility Functions for the Conjugate Gradient Method A linear system, ax-b=0, to be solved iteratively, with an optional initial solution. |
Functions
expose_w | |
generate_enumerated_step_stream | Produce an enumerated stream like [(0,a), (1,a),…, (capacity, b), …, (stream_length-1, b)] with |
generate_step_stream | Utility Functions for Reservoir Sampling
Produce a stream like [a, …, a, b, …, b] with |
generate_stream_from_normal_distribution | |
generate_stream_with_constant_probability | Utility Functions for Weighted Reservoir Sampling utility function for testing ReservoirSample |
make_3x3_pd_system_1 | |
make_3x3_pd_system_2 | |
make_3x3_psd_system | |
mean_of_means_of_step_stream | A stream of 100 weighted datum is generated using generate_step_stream. The first 50 items have value 0 and the remaining 50 have value 1. All weights are set to 1. The mean of a reservoir sample with capacity equal to half the stream length is computed and stored. This is repeated 50 times and the mean of the means is returned. |
read_yaml_to_string | |
write_parameters_to_yaml | Utility functions for writing data to yaml, including for visualizations |
Type Definitions
M | |
S | |
V |