summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/interfaces/int_ones.h
blob: e266ee52e287fd561120856c0eadf9e06e956456 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
 * 
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at    
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 *
 */

/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */

#ifndef __INT_ONES_H__
#define __INT_ONES_H__


#define oness0()			1.0f

#define onesd0()			1

#define onesu80()			(uint8)1

#define onesi80()			(int8)1

#define onesu160()			(uint16)1

#define onesi160()			(int16)1

#define s0oness0(in)			soness(in)

#define d0onesd0(in)			doness(in)

#define c0onesc0(in)			coness(in)

#define z0onesz0(in)			zoness(in)

#define u80onesu80(in)			u8oness(in)

#define i80onesi80(in)			i8oness(in)

#define u160onesu160(in)		u16oness(in)

#define i160onesi160(in)		i16oness(in)

#define s0s0oness0(in1,in2)			1.0f

#define d0d0onesd0(in,in2)			1

#define u80u80onesu80(in1,in2)			(uint8)1

#define i80i80onesi80(in1,in2)			(int8)1

#define u160u160onesu160(in1,in2)		(uint16)1

#define i160i160onesi160(in1,in2)		(int16)1

#define s0s0oness2(in1,in2,out)	sonesa(out, in1, in2)	

#define d0d0onesd2(in1,in2,out)	donesa(out, in1, in2)					

#define u80u80onesu82(in1,in2,out)	u8onesa(out, in1, in2)	

#define i80i80onesi82(in1,in2,out)	i8onesa(out, in1, in2)	

#define u160u160onesu162(in1,in2,out)	u16onesa(out, in1, in2)	

#define i160i160onesi162(in1,in2,out)	i16onesa(out, in1, in2)	

#define s2oness2(in,size,out)		sonesa(out, size[0], size[1])

#define d2onesd2(in,size,out)		donesa(out, size[0], size[1])

#define c2onesc2(in,size,out)		conesa(out, size[0], size[1])

#define z2onesz2(in,size,out)		zonesa(out, size[0], size[1])

#define u82onesu82(in,size,out)		u8onesa(out, size[0], size[1])

#define i82onesi82(in,size,out)		i8onesa(out, size[0], size[1])

#define u162onesu162(in,size,out)	u16onesa(out, size[0], size[1])

#define i162onesi162(in,size,out)	i16onesa(out, size[0], size[1])

#endif /* !__INT_ONES_H__ */