matz_reim_routcos

Computational routine
eng

##
matz_reim

### File content

    #include "scicos_block4.h"
    #include "../machine.h"

    void matz_reim(scicos_block *block,int flag)
    {
      double *u1r;
      double *u1i;
      double *y1;
      double *y2;

      int nu,mu,i;

      mu=GetOutPortRows(block,1);
      nu=GetOutPortCols(block,1);
      u1r=GetRealInPortPtrs(block,1);
      u1i=GetImagInPortPtrs(block,1);
      y1=GetRealOutPortPtrs(block,1);
      y2=GetRealOutPortPtrs(block,2);

      for (i=0;i<mu*nu;i++)
    	{*(y1+i)=*(u1r+i);
    	 *(y2+i)=*(u1i+i);}
    }