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

void dcosda(double* in,int size,double* out)
{
	double val=0.0;
   	val =3.14159265/180.0;
   	int i=0;
  	for (i=0;i<size;i++)
	{
		out[i] = cos(in[i]*val);
	}
}