Copying 2D Histograms - GNU Scientific Library -- Reference Manual
Description: GNU Scientific Library -- Reference Manual

Next: Updating and accessing 2D histogram elements, Previous: 2D Histogram allocation, Up: Histograms

### 22.15 Copying 2D Histograms

— Function: int gsl_histogram2d_memcpy (gsl_histogram2d * dest, const gsl_histogram2d * src)

> This function copies the histogram src into the pre-existing histogram dest, making dest into an exact copy of src. The two histograms must be of the same size.

— Function: gsl_histogram2d * gsl_histogram2d_clone (const gsl_histogram2d * src)

> This function returns a pointer to a newly created histogram which is an exact copy of the histogram src.

The GNU Scientific Library - a free numerical library licensed under the GNU GPL
Back to the GNU Scientific Library Homepage