Forward.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_VIEWS_FORWARD_H_
36 #define _BLAZE_MATH_VIEWS_FORWARD_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
48 #include <blaze/util/Types.h>
49 
50 
51 namespace blaze {
52 
53 //=================================================================================================
54 //
55 // ::blaze NAMESPACE FORWARD DECLARATIONS
56 //
57 //=================================================================================================
58 
59 template< bool AF, typename VT, bool TF >
60 Subvector<VT,AF> subvector( Vector<VT,TF>& vector, size_t index, size_t size );
61 
62 template< bool AF, typename VT, bool TF >
63 const Subvector<const VT,AF> subvector( const Vector<VT,TF>& vector, size_t index, size_t size );
64 
65 template< bool AF, typename VT, bool TF >
66 Subvector<VT,AF> subvector( Vector<VT,TF>&& vector, size_t index, size_t size );
67 
68 template< bool AF, typename MT, bool SO >
69 Submatrix<MT,AF> submatrix( Matrix<MT,SO>& matrix, size_t row, size_t column, size_t m, size_t n );
70 
71 template< bool AF, typename MT, bool SO >
72 const Submatrix<const MT,AF> submatrix( const Matrix<MT,SO>& matrix, size_t row, size_t column, size_t m, size_t n );
73 
74 template< bool AF, typename MT, bool SO >
75 Submatrix<MT,AF> submatrix( Matrix<MT,SO>&& matrix, size_t row, size_t column, size_t m, size_t n );
76 
77 template< typename MT, bool SO >
78 Row<MT> row( Matrix<MT,SO>& matrix, size_t index );
79 
80 template< typename MT, bool SO >
81 const Row<const MT> row( const Matrix<MT,SO>& matrix, size_t index );
82 
83 template< typename MT, bool SO >
84 Row<MT> row( Matrix<MT,SO>&& matrix, size_t index );
85 
86 template< typename MT, bool SO >
87 Column<MT> column( Matrix<MT,SO>& matrix, size_t index );
88 
89 template< typename MT, bool SO >
90 const Column<const MT> column( const Matrix<MT,SO>& matrix, size_t index );
91 
92 template< typename MT, bool SO >
93 Column<MT> column( Matrix<MT,SO>&& matrix, size_t index );
94 
95 } // namespace blaze
96 
97 #endif
Header file for basic type definitions.
Subvector< VT, AF > subvector(Vector< VT, TF > &vector, size_t index, size_t size)
Creating a view on a specific subvector of the given vector.
Definition: Subvector.h:322
BLAZE_ALWAYS_INLINE size_t size(const Vector< VT, TF > &vector) noexcept
Returns the current size/dimension of the vector.
Definition: Vector.h:265
Header file for the implementation of the Column base template.
Submatrix< MT, AF > submatrix(Matrix< MT, SO > &matrix, size_t row, size_t column, size_t m, size_t n)
Creating a view on a specific submatrix of the given matrix.
Definition: Submatrix.h:352
Column< MT > column(Matrix< MT, SO > &matrix, size_t index)
Creating a view on a specific column of the given matrix.
Definition: Column.h:124
Row< MT > row(Matrix< MT, SO > &matrix, size_t index)
Creating a view on a specific row of the given matrix.
Definition: Row.h:124
Header file for the implementation of the Row base template.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the implementation of the Submatrix base template.
Header file for the implementation of the Subvector base template.
Header file for all forward declarations for expression class templates.