tfel
Loading...
Searching...
No Matches
tfel::math::ST2toST2TransposeExpr< A > Struct Template Reference

an expression for the transpose of an object matching the ST2toST2Concept concept. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/ST2toST2/ST2toST2TransposeExpr.hxx>

Inheritance diagram for tfel::math::ST2toST2TransposeExpr< A >:
tfel::math::ExprBase

Public Types

using RunTimeProperties = EmptyRunTimeProperties
 a simple alias
using IndexType = unsigned short
 a simple alias
using NumType = numeric_type<A>
 a simple alias

Public Member Functions

TFEL_HOST_DEVICE constexpr auto getRunTimeProperties () const noexcept

Protected Types

typedef NumType value_type
typedef NumType * pointer
typedef const NumType * const_pointer
typedef NumType & reference
typedef const NumType & const_reference
typedef IndexType size_type
typedef ptrdiff_t difference_type
Protected Types inherited from tfel::math::ExprBase
template<tfel::meta::ReferenceConcept ValueType>
using ArgumentStorage
 a simple metafunction defining how an argument of an operation is stored in the Expr class.

Protected Member Functions

TFEL_HOST_DEVICE constexpr ST2toST2TransposeExpr (A l) noexcept
 constructor
TFEL_HOST_DEVICE constexpr NumType operator() (const IndexType i, const IndexType j) const noexcept
 access operator

Protected Attributes

ArgumentStorage< A > a
 storage for the object

Detailed Description

template<ST2toST2Concept A>
struct tfel::math::ST2toST2TransposeExpr< A >

an expression for the transpose of an object matching the ST2toST2Concept concept.

Template Parameters
Atype of the object to be transposed
Precondition
A must match the ST2toST2Concept concept

Constructor & Destructor Documentation

◆ ST2toST2TransposeExpr()

template<ST2toST2Concept A>
TFEL_HOST_DEVICE constexpr tfel::math::ST2toST2TransposeExpr< A >::ST2toST2TransposeExpr ( A l)
inlineexplicitconstexprprotectednoexcept

constructor

Parameters
[in]ltransposed object

Member Function Documentation

◆ getRunTimeProperties()

template<ST2toST2Concept A>
TFEL_HOST_DEVICE constexpr auto tfel::math::ST2toST2TransposeExpr< A >::getRunTimeProperties ( ) const
inlinenodiscardconstexprnoexcept
Returns
the runtime properties

◆ operator()()

template<ST2toST2Concept A>
TFEL_HOST_DEVICE constexpr NumType tfel::math::ST2toST2TransposeExpr< A >::operator() ( const IndexType i,
const IndexType j ) const
inlinenodiscardconstexprprotectednoexcept

access operator

Parameters
[in]irow number
[in]jcolumn number

The documentation for this struct was generated from the following files: