summaryrefslogtreecommitdiff
path: root/src/elementaryFunctions/tanh/ztanha.c
blob: d1ca0fc7fd59185edd938c88d0988bbfaca6b100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
**  -*- C -*-
**
** ztanha.c
** Made by  Bruno JOFRET <bruno.jofret@inria.fr>
**
** Started on  Thu Dec  7 16:12:02 2006 jofret
** Last update Fri Feb 23 17:30:40 2007 jofret
**
** Copyright INRIA 2006
*/

#include "tanh.h"

void ztanha(doubleComplex* x, int strideX, doubleComplex* y, int strideY, int size) {
  int i = 0;
  for (i = 0; i < size; ++i) {
    y[i] = ztanhs(x[i]);
  }
}