Blaze 3.9
Loading...
Searching...
No Matches
IdentityMatrix.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_IDENTITYMATRIX_H_
36#define _BLAZE_MATH_IDENTITYMATRIX_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
46#include <blaze/util/Random.h>
47#include <blaze/util/Types.h>
48
49
50namespace blaze {
51
52//=================================================================================================
53//
54// RAND SPECIALIZATION
55//
56//=================================================================================================
57
58//*************************************************************************************************
65template< typename Type // Data type of the matrix
66 , bool SO // Storage order
67 , typename Tag > // Type tag
68class Rand< IdentityMatrix<Type,SO,Tag> >
69{
70 public:
71 //**********************************************************************************************
77 inline const IdentityMatrix<Type,SO,Tag> generate( size_t n ) const
78 {
80 }
81 //**********************************************************************************************
82};
84//*************************************************************************************************
85
86} // namespace blaze
87
88#endif
Header file for the complete CompressedMatrix implementation.
Header file for the complete CompressedVector implementation.
Efficient implementation of an identity matrix.
Definition IdentityMatrix.h:197
constexpr IdentityMatrix() noexcept
The default constructor for IdentityMatrix.
Definition IdentityMatrix.h:517
Default implementation of the Rand class.
Definition Random.h:230
decltype(auto) generate(size_t m, size_t n, OP op)
Generates a new dense matrix filled via the given custom binary operation.
Definition DMatGenExpr.h:675
Implementation of an identity matrix.
Implementation of a random number generator.
Header file for basic type definitions.