Improved the fixed size array display.

This commit is contained in:
Hauke Heibel 2010-10-20 11:56:29 +02:00
parent e259f71477
commit 9cf748757e

View File

@ -40,13 +40,10 @@ Eigen::Matrix<*,4,1,*,*,*>|Eigen::Matrix<*,1,4,*,*,*>{
preview
(
#(
"(",
#array
(
expr : [($c.m_storage.m_data.array)[$i],g],
size : 4
),
"[",
4,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 4),
")"
)
)
@ -67,45 +64,16 @@ Eigen::Matrix<*,3,1,*,*,*>|Eigen::Matrix<*,1,3,*,*,*>{
preview
(
#(
"(",
#array
(
expr : [($c.m_storage.m_data.array)[$i],g],
size : 3
),
"[",
3,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 3),
")"
)
)
}
; Fixed size floating point 2-vectors
Eigen::Matrix<float,2,1,*,*,*>|Eigen::Matrix<float,1,2,*,*,*>|Eigen::Matrix<double,2,1,*,*,*>|Eigen::Matrix<double,1,2,*,*,*>{
children
(
#(
[internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0],
y : ($c.m_storage.m_data.array)[1]
)
)
preview
(
#(
"(",
#array
(
expr : [($c.m_storage.m_data.array)[$i],g],
size : 2
),
")"
)
)
}
; Fixed size integral 2-vectors
; Fixed size 2-vectors
Eigen::Matrix<*,2,1,*,*,*>|Eigen::Matrix<*,1,2,*,*,*>{
children
(
@ -119,13 +87,32 @@ Eigen::Matrix<*,2,1,*,*,*>|Eigen::Matrix<*,1,2,*,*,*>{
preview
(
#(
"(",
"[",
2,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 2),
")"
)
)
}
#array
; Fixed size 1-vectors
Eigen::Matrix<*,1,1,*,*,*>|Eigen::Matrix<*,1,1,*,*,*>{
children
(
expr : ($c.m_storage.m_data.array)[$i],
size : 2
),
#(
[internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0]
)
)
preview
(
#(
"[",
1,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 1),
")"
)
)