@kv
0.0.4
Library for graph problems in C and Python
Main Page
Related Pages
Classes
Files
File List
File Members
stat.h
1
18
#if !defined(AT_CORE_H_INSIDE)
19
#error "Only <at/core.h> can be included directly."
20
#endif
21
#ifndef AT_STAT_H
22
#define AT_STAT_H
23
#include <at/core.h>
24
26
#define AT_DECLARE_ARRAY_OP(op) \
27
op(u8 ,U8 ); op(u16,U16); op(u32,U32); op(u64,U64);\
28
op(i8 ,I8 ); op(i16,I16); op(i32,I32); op(i64,I64);
29
30
#define AT_DECLARE_ARRAY_OP3(op) \
31
op(u8 ,U8 ,uint8_t );op(u16,U16,uint16_t);op(u32,U32,uint32_t);op(u64,U64,uint64_t);\
32
op(i8 ,I8 , int8_t );op(i16,I16, int16_t);op(i32,I32, int32_t);op(i64,I64, int64_t);\
33
34
#define AT_DECLARE_ARRAY_JACCARD(lower,UPPER) \
35
double \
36
at_array##lower##_jaccard(AtArray##UPPER* a1, AtArray##UPPER* a2);
37
#define AT_DECLARE_ARRAY_DICE(lower,UPPER) \
38
double \
39
at_array##lower##_dice(AtArray##UPPER* a1, AtArray##UPPER* a2);
40
41
42
AT_DECLARE_ARRAY_OP(AT_DECLARE_ARRAY_JACCARD)
43
AT_DECLARE_ARRAY_OP(AT_DECLARE_ARRAY_DICE)
44
45
#undef AT_DECLARE_ARRAY_JACCARD
46
#undef AT_DECLARE_ARRAY_DICE
47
#undef AT_DECLARE_ARRAY_OP
48
#undef AT_DECLARE_ARRAY_OP3
49
51
52
#endif
include
at
core
stat.h
Generated on Mon Aug 8 2016 17:05:01 for @kv by
1.8.11