home *** CD-ROM | disk | FTP | other *** search
- cmamov(lra,lrb,nrow,ncol,ar,ai,br,bi)
-
- /*this function will move a matrix or a vector with*/
- /*complex elements to another area.*/
-
- int lra,lrb,nrow,ncol;
- float ar[],ai[],br[],bi[];
- {
- int i,ija,ijb,j;
-
- for(i = 0; i <= nrow-1; i++)
- {
- ija = i * lra;
- ijb = i * lrb;
-
- for(j = 0; j <= ncol-1; j++)
- {
- br[ijb] = ar[ija];
- bi[ijb] = ai[ija];
- ija++;
- ijb++;
- }
- }
- }