Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101851123
sparse_ref_4.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, 09:17
Size
235 B
Mime Type
text/x-c
Expires
Sun, Feb 16, 09:17 (2 d)
Engine
blob
Format
Raw Data
Handle
24242098
Attached To
rDLMA Diffusion limited mixed aggregation
sparse_ref_4.cpp
View Options
#include "../Eigen/Sparse"
using namespace Eigen;
void call_ref(Ref<SparseMatrix<float> > a) {}
int main()
{
SparseMatrix<float> A(10,10);
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
call_ref(A.transpose());
#else
call_ref(A);
#endif
}
Event Timeline
Log In to Comment