35#ifndef _BLAZE_MATH_VIEWS_BAND_BANDDATA_H_
36#define _BLAZE_MATH_VIEWS_BAND_BANDDATA_H_
63template< ptrdiff_t... CBAs >
95 static constexpr bool compileTimeArgs =
false;
101 template<
typename... RBAs >
126 inline
size_t row () const noexcept;
127 inline
size_t column() const noexcept;
137 const
size_t column_;
152template< typename... RBAs >
155 , row_ ( index >= 0L ? 0UL : -index )
156 , column_( index >= 0L ? index : 0UL )
170inline ptrdiff_t BandData<>::band() const noexcept
184inline size_t BandData<>::row() const noexcept
198inline size_t BandData<>::column() const noexcept
222template< ptrdiff_t I >
232 static constexpr bool compileTimeArgs =
true;
238 template<
typename... RBAs >
239 explicit inline BandData( RBAs... args );
241 BandData(
const BandData& ) =
default;
248 ~BandData() =
default;
255 BandData& operator=(
const BandData& ) =
delete;
262 static constexpr ptrdiff_t
band () noexcept;
263 static constexpr
size_t row () noexcept;
264 static constexpr
size_t column() noexcept;
278template< ptrdiff_t I >
279template< typename... RBAs >
280inline BandData<I>::BandData( RBAs... args )
294template< ptrdiff_t I >
295constexpr ptrdiff_t BandData<I>::band() noexcept
309template< ptrdiff_t I >
310constexpr size_t BandData<I>::row() noexcept
312 return ( I >= 0L ? 0UL : -I );
324template< ptrdiff_t I >
325constexpr size_t BandData<I>::column() noexcept
327 return ( I >= 0L ? I : 0UL );
Header file for the MAYBE_UNUSED function template.
Auxiliary class template for the data members of the Band class.
Definition BandData.h:65
Pointer difference type of the Blaze library.
decltype(auto) band(Matrix< MT, SO > &matrix, RBAs... args)
Creating a view on a specific band of the given matrix.
Definition Band.h:140
decltype(auto) column(Matrix< MT, SO > &matrix, RCAs... args)
Creating a view on a specific column of the given matrix.
Definition Column.h:137
decltype(auto) row(Matrix< MT, SO > &, RRAs...)
Creating a view on a specific row of the given matrix.
Definition Row.h:137
constexpr void MAYBE_UNUSED(const Args &...)
Suppression of unused parameter warnings.
Definition MaybeUnused.h:81
Header file for basic type definitions.