forked from personal/squiggle.c
		
	rename variable
This commit is contained in:
		
							parent
							
								
									d70296f230
								
							
						
					
					
						commit
						b548d50deb
					
				| 
						 | 
				
			
			@ -214,7 +214,7 @@ void array_print_stats(double xs[], int n){
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void print_histogram(double* xs, int n_samples, int n_bins) {
 | 
			
		||||
void array_print_histogram(double* xs, int n_samples, int n_bins) {
 | 
			
		||||
    // Generated with the help of an llm; there might be subtle off-by-one errors
 | 
			
		||||
    // interface inspired by <https://github.com/red-data-tools/YouPlot>
 | 
			
		||||
    if (n_bins <= 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,7 +13,7 @@ typedef struct ci_t {
 | 
			
		|||
ci array_get_ci(ci interval, double* xs, int n);
 | 
			
		||||
ci array_get_90_ci(double xs[], int n);
 | 
			
		||||
void array_print_stats(double xs[], int n);
 | 
			
		||||
void print_histogram(double* xs, int n_samples, int n_bins);
 | 
			
		||||
void array_print_histogram(double* xs, int n_samples, int n_bins);
 | 
			
		||||
 | 
			
		||||
// Deprecated: get confidence intervals directly from samplers
 | 
			
		||||
ci sampler_get_ci(ci interval, double (*sampler)(uint64_t*), int n, uint64_t* seed);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user