管理人的備忘録&Tipsです!
[ MATLAB関連]
[Power Point関連]
[Windows関連]
[TortoiseSVN]
[Latex]
[Visual Studio]
;------------------------------------------------------------------------------
; Eigen::Vector from <vector>
;------------------------------------------------------------------------------
; vector is previewed with "[<size>](<elements>)".
; It has [size] and [capacity] children, followed by its elements.
; The other containers follow its example.
Eigen::Matrix<*,-1,1,0,-1,1>{
preview (
#(
"[",
$e.m_storage.m_rows,
"](",
#array(
expr: $e.m_storage.m_data[$i],
size: $e.m_storage.m_rows
),
")"
)
)
children (
#(
[actual members]: [$e,!],
#([size] : $e.m_storage.m_rows),
#array(
expr: $e.m_storage.m_data[$i],
size: $e.m_storage.m_rows
)
)
)
}
;------------------------------------------------------------------------------
; Eigen::Matrix from <vector>
;------------------------------------------------------------------------------
; vector is previewed with "[<size>](<elements>)".
; It has [size] and [capacity] children, followed by its elements.
; The other containers follow its example.
Eigen::Matrix<*,-1,-1,0,-1,-1>{
preview (
#(
"[",
$e.m_storage.m_rows,
",",
$e.m_storage.m_rcols,
"](",
#array(
expr: $e.m_storage.m_data[$i],
size: $e.m_storage.m_rows * $e.m_storage.m_cols
),
")"
)
)
children (
#(
[actual members]: [$e,!],
#([rows] : $e.m_storage.m_rows),
#([cols] : $e.m_storage.m_cols),
#array(
expr: $e.m_storage.m_data[$i],
size: $e.m_storage.m_rows * $e.m_storage.m_cols
)
)
)
}