Blaze 3.9
Loading...
Searching...
No Matches
blaze::IsSquare< T > Struct Template Reference

Compile time check for square matrices. More...

#include <IsSquare.h>

Inherits blaze::IntegralConstant< bool, B >< false >.

Detailed Description

template<typename T>
struct blaze::IsSquare< T >

Compile time check for square matrices.

This type trait tests whether or not the given template parameter is a square matrix type (i.e. a matrix type that is guaranteed to be square at compile time). In case the type is a square matrix type, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.

// Type definitions of square matrix types
// Type definitions of non-square matrix types
using DynamicMatrixType = blaze::DynamicMatrix<double,rowMajor>;
blaze::IsSquare< volatile Mat4x4 > // Is derived from TrueType
Efficient implementation of a dynamic matrix.
Definition DynamicMatrix.h:242
Efficient implementation of a dynamically sized matrix with static memory.
Definition HybridMatrix.h:256
Efficient implementation of a fixed-sized matrix.
Definition StaticMatrix.h:249
constexpr bool rowMajor
Storage order flag for row-major matrices.
Definition StorageOrder.h:71
Compile time check for square matrices.
Definition IsSquare.h:89

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