lin
|
Tests if a tensor type is "tall". More...
#include <lin/core/traits/tensor.hpp>
Tests if a tensor type is "tall".
C | Tensor type. |
A tensor type is determined to be "tall" if its max row count is greater than or equal to its max column count.
This serves to screen tensor types to ensure they can have more rows than columns (or the same number of rows as columns). An example use case would b in a std::enable_if guard on a function taking the QR factorization of a matrix. A precondition of this operation is that the matrix is "tall".