- publishing free software manuals
GNU Scientific Library Reference Manual - Third Edition (v1.12)
by M. Galassi, J. Davies, J. Theiler, B. Gough, G. Jungman, P. Alken, M. Booth, F. Rossi
Paperback (6"x9"), 592 pages, 60 figures
ISBN 0954612078
RRP £24.95 ($39.95)

Get a printed copy>>>

8.4.7 Copying matrices

Function: int gsl_matrix_memcpy (gsl_matrix * dest, const gsl_matrix * src)
This function copies the elements of the matrix src into the matrix dest. The two matrices must have the same size.
Function: int gsl_matrix_swap (gsl_matrix * m1, gsl_matrix * m2)
This function exchanges the elements of the matrices m1 and m2 by copying. The two matrices must have the same size.
ISBN 0954612078GNU Scientific Library Reference Manual - Third Edition (v1.12)See the print edition