Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102323267
DenseBase_middleCols_int.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
Wed, Feb 19, 12:32
Size
282 B
Mime Type
text/x-c
Expires
Fri, Feb 21, 12:32 (2 d)
Engine
blob
Format
Raw Data
Handle
24330829
Attached To
rDLMA Diffusion limited mixed aggregation
DenseBase_middleCols_int.cpp
View Options
#include <Eigen/Core>
#include <iostream>
using
namespace
Eigen
;
using
namespace
std
;
int
main
(
void
)
{
int
const
N
=
5
;
MatrixXi
A
(
N
,
N
);
A
.
setRandom
();
cout
<<
"A =
\n
"
<<
A
<<
'\n'
<<
endl
;
cout
<<
"A(1..3,:) =
\n
"
<<
A
.
middleCols
(
1
,
3
)
<<
endl
;
return
0
;
}
Event Timeline
Log In to Comment