summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/Trigonometry/coth/dcotha.c
blob: f6304f5832c6c25842155c8a2c7d99aeabbcf5b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "coth.h"
#include <math.h>

void dcotha(double* in,int size,double* out)
{
   	double val;
   	int i=0;
   	for(i=0;i<size;i++)
	{
		out[i]=cosh(in[i])/sinh(in[i]);
  		/*printf("The cotangent of %lf is %lf\n", in[i], out[i]);*/
	}
}