cmcpy.c 460 B

12345678910111213141516
  1. /* cmcpy.c CCMATH mathematics library source code.
  2. *
  3. * Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
  4. * This code may be redistributed under the terms of the GNU library
  5. * public license (LGPL). ( See the lgpl.license file for details.)
  6. * ------------------------------------------------------------------------
  7. */
  8. #include "ccmath.h"
  9. void cmcpy(Cpx * a, Cpx * b, int n)
  10. {
  11. int i;
  12. for (i = 0; i < n; ++i)
  13. *a++ = *b++;
  14. }