MCPcopy 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
5template <typename Derived>
6void print_size(const EigenBase<Derived>& b)
7{
8 std::cout << "size (rows, cols): " << b.size() << " (" << b.rows()
9 << ", " << b.cols() << ")" << std::endl;
10}
11
12int main()
13{

Callers 1

mainFunction · 0.85

Calls 3

sizeMethod · 0.45
rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected