Blaze 3.9
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
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 vector
66 , bool TF // Transpose flag
67 , typename Tag > // Type tag
68class 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
Header file for the complete CompressedVector implementation.
Header file for the complete ZeroMatrix 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
constexpr size_t size(const Matrix< MT, SO > &matrix) noexcept
Returns the total number of elements of the matrix.
Definition: Matrix.h:676
Implementation of a zero vector.
Implementation of a random number generator.
Header file for basic type definitions.