Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90020950
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
Mon, Oct 28, 13:03
Size
257 B
Mime Type
text/x-c
Expires
Wed, Oct 30, 13:03 (2 d)
Engine
blob
Format
Raw Data
Handle
21994753
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