summaryrefslogtreecommitdiff
path: root/macros/CFiles/sci2cincludes/OpEqual.h
blob: da36059a3db811e33cbe816d6ab8d9442b3ce629 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
**  -*- C -*-
**
** OpEqual.h
** Made by  Raffaele Nutricato
**
**
*/

#ifndef __OPEQUAL_H__
#define __OPEQUAL_H__

#include <string.h>
#include "floatComplex.h"
#include "doubleComplex.h"

/*
** Compute Opequal for different types .
*/

float sOpEquals1(float x);
double dOpEquals1(double x);
floatComplex c0OpEqualc0(floatComplex x);
doubleComplex z0OpEqualz0(doubleComplex x);
char g0OpEqualg0(char x);

void sOpEquala1(float* x, int size, float* y);
void dOpEquala1(double* x, int size, double* y);
void c2OpEqualc2(floatComplex* x, int* xSize, floatComplex* y);
void z2OpEqualz2(doubleComplex* x, int* xSize, doubleComplex* y);
void g2OpEqualg2(char* x, int* xSize, char* y);

#endif /* !__OPEQUAL_H__ */