PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::IsSquareMatrix< typename > Struct Template Reference

Trait class for checking if type is a square matrix type. More...

#include <Matrix.hpp>

Inheritance diagram for playrho::IsSquareMatrix< typename >:
[legend]
Collaboration diagram for playrho::IsSquareMatrix< typename >:
[legend]

Detailed Description

template<typename>
struct playrho::IsSquareMatrix< typename >

Trait class for checking if type is a square matrix type.

Trait class for determining whether the given type is a matrix having an equal number of rows and columns.

Note
This implements the default case where any arbitrary type is not a square matrix.
For example the following is false:
IsSquareMatrix<int>::value || IsSquareMatrix<float>::value
See also
IsMatrix, Matrix, Vector

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