Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121668993
c_func.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jul 13, 00:02
Size
257 B
Mime Type
text/x-c
Expires
Tue, Jul 15, 00:02 (2 d)
Engine
blob
Format
Raw Data
Handle
27371109
Attached To
R11341 Introduction to CUDA
c_func.h
View Options
#ifndef __C_FUNC_H_
#define __C_FUNC_H_
extern
"C"
{
struct
matrix
{
int
m
,
n
;
double
*
data
;
inline
double
&
operator
()(
int
i
,
int
j
)
{
return
data
[
j
*
m
+
i
];
}
};
void
c_function
(
matrix
*
in
,
double
d
);
}
#endif
// __C_FUNC_H_
Event Timeline
Log In to Comment