summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/sinh/csinha.c
blob: e55292def0f81b6c78ea5249292930d6cab965eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
**  -*- C -*-
**
** csinha.c
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Fri Dec  8 13:07:37 2006 jofret
** Last update Fri Jan 19 15:20:58 2007 jofret
**
** Copyright INRIA 2006
*/

#ifndef STDC99
#include "floatComplex.h"
#else
#include <complex.h>
typedef float complex floatComplex;
#endif

floatComplex csinhs(floatComplex);

void csinha(floatComplex* x, int strideX, floatComplex* y, int strideY, int size) {
  int i = 0;
  for (i = 0; i < size; ++i) {
    y[i] = csinhs(x[i]);
  }
}