lin
lin::internal::is_tall< C > Struct Template Reference

Tests if a tensor type is "tall". More...

#include <lin/core/traits/tensor.hpp>

Inheritance diagram for lin::internal::is_tall< C >:

Detailed Description

template<class C>
struct lin::internal::is_tall< C >

Tests if a tensor type is "tall".

Template Parameters
CTensor 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".

See also
internal::traits

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