Blaze 3.9
ZeroMatrix.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_ZEROMATRIX_H_
36#define _BLAZE_MATH_ZEROMATRIX_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
47#include <blaze/util/Random.h>
48#include <blaze/util/Types.h>
49
50
51namespace blaze {
52
53//=================================================================================================
54//
55// RAND SPECIALIZATION
56//
57//=================================================================================================
58
59//*************************************************************************************************
66template< typename Type // Data type of the matrix
67 , bool SO // Storage order
68 , typename Tag > // Type tag
69class Rand< ZeroMatrix<Type,SO,Tag> >
70{
71 public:
72 //**********************************************************************************************
79 inline const ZeroMatrix<Type,SO,Tag> generate( size_t m, size_t n ) const
80 {
81 return ZeroMatrix<Type,SO,Tag>( m, n );
82 }
83 //**********************************************************************************************
84};
86//*************************************************************************************************
87
88} // namespace blaze
89
90#endif
Header file for the complete CompressedMatrix implementation.
Header file for the complete CompressedVector implementation.
Header file for the complete ZeroVector implementation.
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 a zero matrix.
Implementation of a random number generator.
Header file for basic type definitions.