Computational routine
eng


sinh_blk

File content


#include "scicos_block4.h"
#include <math.h>

void sinh_blk(scicos_block *block,int flag)
{
  double *_u1=GetRealInPortPtrs(block,1);
  double *_y1=GetRealOutPortPtrs(block,1);
  int j;
  if(flag==1){
    for (j=0;j<GetInPortRows(block,1);j++) {
      _y1[j]=sinh(_u1[j]);
    }
  }
}