35#ifndef _BLAZE_MATH_VIEWS_BAND_BANDDATA_H_
36#define _BLAZE_MATH_VIEWS_BAND_BANDDATA_H_
95 static constexpr bool compileTimeArgs =
false;
101 template<
typename... RBAs >
102 explicit inline BandData( ptrdiff_t index, RBAs... args );
125 inline ptrdiff_t
band () const noexcept;
126 inline
size_t row () const noexcept;
127 inline
size_t column() const noexcept;
135 const ptrdiff_t band_;
137 const
size_t column_;
152template< typename... RBAs >
155 , row_ ( index >= 0L ? 0UL : -index )
156 , column_( index >= 0L ? index : 0UL )
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;
263 static constexpr
size_t row () noexcept;
264 static constexpr
size_t column() noexcept;
279template< typename... RBAs >
280inline BandData<I>::BandData( RBAs... args )
294template< ptrdiff_t I >
309template< ptrdiff_t I >
312 return ( I >= 0L ? 0UL : -I );
324template< ptrdiff_t I >
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.