summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/tanh/ctanha.c
blob: cd6f7acbddab0b5ae9da5b917c24038048b2afe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
**  -*- C -*-
**
** ctanha.c
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Thu Dec  7 14:54:24 2006 jofret
** Last update Mon Oct 22 09:47:06 2007 bruno
**
** Copyright INRIA 2006
*/

#include "tanh.h"

void ctanha(floatComplex* x, int size, floatComplex* y) {
  int i = 0;
  for (i = 0; i < size; ++i) {
    y[i] = ctanhs(x[i]);
  }
}