Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F105175997
ternary_2.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
Sat, Mar 15, 04:57
Size
225 B
Mime Type
text/x-c
Expires
Mon, Mar 17, 04:57 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24938580
Attached To
rDLMA Diffusion limited mixed aggregation
ternary_2.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+a;
#else
b = argc>1 ? VectorXf(2*a) : VectorXf(a+a);
#endif
}
Event Timeline
Log In to Comment