Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PX4/eigen
/ print_size
Function
print_size
doc/examples/function_taking_eigenbase.cpp:6–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
5
template <typename Derived>
6
void print_size(const EigenBase<Derived>& b)
7
{
8
std::cout <<
"size (rows, cols): "
<< b.size() <<
" ("
<< b.rows()
9
<<
", "
<< b.cols() <<
")"
<< std::endl;
10
}
11
12
int main()
13
{
Callers
1
main
Function · 0.85
Calls
3
size
Method · 0.45
rows
Method · 0.45
cols
Method · 0.45
Tested by
no test coverage detected