Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
ZeroVector.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_ZEROVECTOR_H_
36
#define _BLAZE_MATH_ZEROVECTOR_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/sparse/ZeroVector.h
>
44
#include <
blaze/math/CompressedVector.h
>
45
#include <
blaze/math/ZeroMatrix.h
>
46
#include <
blaze/util/Random.h
>
47
#include <
blaze/util/Types.h
>
48
49
50
namespace
blaze {
51
52
//=================================================================================================
53
//
54
// RAND SPECIALIZATION
55
//
56
//=================================================================================================
57
58
//*************************************************************************************************
65
template
<
typename
Type
// Data type of the vector
66
,
bool
TF
// Transpose flag
67
,
typename
Tag >
// Type tag
68
class
Rand
<
ZeroVector
<
Type
,TF,Tag> >
69
{
70
public
:
71
//**********************************************************************************************
77
inline
const
ZeroVector<Type,TF,Tag>
generate
(
size_t
size
)
const
78
{
79
return
ZeroVector<Type,TF,Tag>
(
size
);
80
}
81
//**********************************************************************************************
82
};
84
//*************************************************************************************************
85
86
}
// namespace blaze
87
88
#endif
CompressedVector.h
Header file for the complete CompressedVector implementation.
ZeroMatrix.h
Header file for the complete ZeroMatrix implementation.
blaze::Rand
Default implementation of the Rand class.
Definition
Random.h:230
blaze::Type
blaze::ZeroVector
Efficient implementation of an arbitrary sized zero vector.
Definition
ZeroVector.h:183
blaze::ZeroVector::ZeroVector
constexpr ZeroVector() noexcept
The default constructor for ZeroVector.
Definition
ZeroVector.h:361
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
blaze::size
constexpr size_t size(const Matrix< MT, SO > &matrix) noexcept
Returns the total number of elements of the matrix.
Definition
Matrix.h:676
ZeroVector.h
Implementation of a zero vector.
Random.h
Implementation of a random number generator.
Types.h
Header file for basic type definitions.
Generated by
1.18.0