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

Compile time check for diagonal matrices. More...

#include <IsDiagonal.h>

Inherits blaze::IntegralConstant< bool, B >.

Detailed Description

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

Compile time check for diagonal matrices.

This type trait tests whether or not the given template parameter is a diagonal matrix type (i.e. a matrix type that is guaranteed to be diagonal at compile time). In case the type is a diagonal 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.

using DynamicMatrixType = blaze::DynamicMatrix<float,rowMajor>;
using CompressedMatrixType = blaze::CompressedMatrix<int,rowMajor>;
using DiagonalStaticType = blaze::DiagonalMatrix<StaticMatrixType>;
using DiagonalDynamicType = blaze::DiagonalMatrix<DynamicMatrixType>;
using DiagonalCompressedType = blaze::DiagonalMatrix<CompressedMatrixType>;
using LowerStaticType = blaze::LowerMatrix<StaticMatrixType>;
using UpperDynamicType = blaze::UpperMatrix<DynamicMatrixType>;
Efficient implementation of a compressed matrix.
Definition CompressedMatrix.h:239
Matrix adapter for diagonal matrices.
Definition BaseTemplate.h:565
Efficient implementation of a dynamic matrix.
Definition DynamicMatrix.h:242
Matrix adapter for lower triangular matrices.
Definition BaseTemplate.h:558
Efficient implementation of a fixed-sized matrix.
Definition StaticMatrix.h:249
Matrix adapter for upper triangular matrices.
Definition BaseTemplate.h:558
constexpr bool rowMajor
Storage order flag for row-major matrices.
Definition StorageOrder.h:71
Compile time check for diagonal matrices.
Definition IsDiagonal.h:91

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