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

#include "tanh.h"

void stanha(float* x, int strideX, float* y, int strideY, int size) {
  int i = 0;
  for (i = 0; i < size; ++i) {
    y[i] = stanhs(x[i]);
  }
}