Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
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
43
#include <
blaze/math/sparse/ZeroMatrix.h
>
44
#include <
blaze/math/CompressedMatrix.h
>
45
#include <
blaze/math/CompressedVector.h
>
46
#include <
blaze/math/ZeroVector.h
>
47
#include <
blaze/util/Random.h
>
48
#include <
blaze/util/Types.h
>
49
50
51
namespace
blaze {
52
53
//=================================================================================================
54
//
55
// RAND SPECIALIZATION
56
//
57
//=================================================================================================
58
59
//*************************************************************************************************
66
template
<
typename
Type
// Data type of the matrix
67
,
bool
SO
// Storage order
68
,
typename
Tag >
// Type tag
69
class
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
CompressedMatrix.h
Header file for the complete CompressedMatrix implementation.
CompressedVector.h
Header file for the complete CompressedVector implementation.
ZeroVector.h
Header file for the complete ZeroVector implementation.
blaze::Rand
Default implementation of the Rand class.
Definition
Random.h:230
blaze::Type
blaze::ZeroMatrix
Efficient implementation of an zero matrix.
Definition
ZeroMatrix.h:197
blaze::ZeroMatrix::ZeroMatrix
constexpr ZeroMatrix() noexcept
The default constructor for ZeroMatrix.
Definition
ZeroMatrix.h:392
blaze::generate
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
ZeroMatrix.h
Implementation of a zero matrix.
Random.h
Implementation of a random number generator.
Types.h
Header file for basic type definitions.
Generated by
1.18.0