v1.0
Functions
ref_6.cpp File Reference
#include "../Eigen/Core"
Functions
void
call_ref
(
Ref
< const VectorXf, 0,
InnerStride
< 2 >>)
int
main
()
Function Documentation
◆
call_ref()
void call_ref
(
Ref
< const VectorXf, 0,
InnerStride
< 2 >>
)
5
{}
Referenced by
main()
.
◆
main()
int
main
(
)
7
{
8
VectorXf
a
(10);
9
Map<const VectorXf, 0, InnerStride<2>
>
m
(
a
.data(), 5);
10
#ifdef EIGEN_SHOULD_FAIL_TO_BUILD
11
call_ref
(
a
);
12
#else
13
call_ref
(
m
);
14
#endif
15
}
Eigen::Map
A matrix or vector expression mapping an existing array of data.
Definition:
Map.h:96
a
const Scalar * a
Definition:
level2_cplx_impl.h:32
m
int * m
Definition:
level2_cplx_impl.h:294
call_ref
void call_ref(Ref< const VectorXf, 0, InnerStride< 2 >>)
Definition:
ref_6.cpp:5
References
a
,
call_ref()
, and
m
.
Eigen
failtest
ref_6.cpp
Generated on Wed Aug 27 2025 17:05:06 for MercuryDPM by
1.9.1