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

@ -38,16 +38,13 @@ 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),
")"
)
)
}
@ -65,47 +62,18 @@ Eigen::Matrix<*,3,1,*,*,*>|Eigen::Matrix<*,1,3,*,*,*>{
)
preview
(
#(
"(",
#array
(
expr : [($c.m_storage.m_data.array)[$i],g],
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
),
")"
"[",
3,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 3),
")"
)
)
}
; Fixed size integral 2-vectors
; Fixed size 2-vectors
Eigen::Matrix<*,2,1,*,*,*>|Eigen::Matrix<*,1,2,*,*,*>{
children
(
@ -117,16 +85,35 @@ Eigen::Matrix<*,2,1,*,*,*>|Eigen::Matrix<*,1,2,*,*,*>{
)
preview
(
#(
"(",
(
#(
"[",
2,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 2),
")"
)
)
}
#array
(
expr : ($c.m_storage.m_data.array)[$i],
size : 2
),
")"
; Fixed size 1-vectors
Eigen::Matrix<*,1,1,*,*,*>|Eigen::Matrix<*,1,1,*,*,*>{
children
(
#(
[internals]: [$c,!],
x : ($c.m_storage.m_data.array)[0]
)
)
preview
(
#(
"[",
1,
"](",
#array(expr: $e.m_storage.m_data.array[$i], size: 1),
")"
)
)
}