* Return the complex-conjugate of the given number. Since the general
* template is selected if number is not a complex data type, this
* function simply returns the given number.
+ *
+ * @note This function can also be used in CUDA device code.
*/
static DEAL_II_CUDA_HOST_DEV const number &
conjugate(const number &x);
* general template is chosen for types not equal to std::complex, this
* function simply returns the square of the given number.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
static DEAL_II_CUDA_HOST_DEV real_type
abs_square(const number &x);
/**
* Constructor. Set to zero.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV
Tensor();
* This is the non-const conversion operator that returns a writable
* reference.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV operator Number &();
*
* This is the const conversion operator that returns a read-only reference.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV operator const Number &() const;
/**
* Multiply the scalar with a <tt>factor</tt>.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
template <typename OtherNumber>
DEAL_II_CUDA_HOST_DEV Tensor &
* Return the square of the Frobenius-norm of a tensor, i.e. the sum of the
* absolute squares of all entries.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV real_type
norm_square() const;
/**
* Constructor. Initialize all entries to zero.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV
Tensor();
/**
* Read-Write access operator.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV value_type &operator[](const unsigned int i);
/**
* Read-only access operator.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV const value_type &
operator[](const unsigned int i) const;
* Scale the tensor by <tt>factor</tt>, i.e. multiply all components by
* <tt>factor</tt>.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
template <typename OtherNumber>
DEAL_II_CUDA_HOST_DEV Tensor &
* Return the square of the Frobenius-norm of a tensor, i.e. the sum of the
* absolute squares of all entries.
*
- * @see CUDAWrappers
+ * @note This function can also be used in CUDA device code.
*/
DEAL_II_CUDA_HOST_DEV typename numbers::NumberTraits<Number>::real_type
norm_square() const;