Drake
MultiplyEigenSizes< a, b > Struct Template Reference

MultiplyEigenSizes<a, b> gives a * b if both of a and b are fixed sizes. More...

#include <drake/common/eigen_types.h>

Collaboration diagram for MultiplyEigenSizes< a, b >:
[legend]

Static Public Attributes

static constexpr int value
 

Detailed Description

template<int a, int b>
struct drake::MultiplyEigenSizes< a, b >

MultiplyEigenSizes<a, b> gives a * b if both of a and b are fixed sizes.

Otherwise it gives Eigen::Dynamic.

Member Data Documentation

constexpr int value
static
Initial value:
=
(a == Eigen::Dynamic || b == Eigen::Dynamic) ? Eigen::Dynamic : a * b

The documentation for this struct was generated from the following file: