Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101897607
ternary_1.cpp
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
Fri, Feb 14, 21:33
Size
213 B
Mime Type
text/x-c
Expires
Sun, Feb 16, 21:33 (2 d)
Engine
blob
Format
Raw Data
Handle
24240345
Attached To
rDLMA Diffusion limited mixed aggregation
ternary_1.cpp
View Options
#include "../Eigen/Core"
using
namespace
Eigen
;
int
main
(
int
argc
,
char
**
)
{
VectorXf
a
(
10
),
b
(
10
);
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
b
=
argc
>
1
?
2
*
a
:
-
a
;
#else
b
=
argc
>
1
?
2
*
a
:
VectorXf
(
-
a
);
#endif
}
Event Timeline
Log In to Comment