|
MiniTensor Version of the Day
|
Scalar measures of tensors: norms, determinant, trace, principal invariants, and argmax queries. More...
Functions | |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_1 (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_infinity (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION Tensor< T, N > | minitensor::subtensor (Tensor< T, N > const &A, Index const i, Index const j) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::det (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::trace (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::I1 (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::I2 (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::I3 (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| KOKKOS_INLINE_FUNCTION T | minitensor::norm_off_diagonal (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| std::pair< Index, Index > | minitensor::arg_max_abs (Tensor< T, N > const &A) |
| template<typename T , Index N> | |
| std::pair< Index, Index > | minitensor::arg_max_off_diagonal (Tensor< T, N > const &A) |
Scalar measures of tensors: norms, determinant, trace, principal invariants, and argmax queries.
| KOKKOS_INLINE_FUNCTION T minitensor::norm | ( | Tensor< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::norm_1 | ( | Tensor< T, N > const & | A | ) |
Tensor 1-norm
Definition at line 181 of file MiniTensor_Norms.h.
| KOKKOS_INLINE_FUNCTION T minitensor::norm_infinity | ( | Tensor< T, N > const & | A | ) |
Tensor infinity-norm
Definition at line 239 of file MiniTensor_Norms.h.
| KOKKOS_INLINE_FUNCTION Tensor< T, N > minitensor::subtensor | ( | Tensor< T, N > const & | A, |
| Index const | i, | ||
| Index const | j | ||
| ) |
Subtensor
| A | tensor |
| i | index |
| j | index |
Definition at line 504 of file MiniTensor_Norms.h.
| KOKKOS_INLINE_FUNCTION T minitensor::det | ( | Tensor< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::trace | ( | Tensor< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::I1 | ( | Tensor< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::I2 | ( | Tensor< T, N > const & | A | ) |
Second invariant
Definition at line 408 of file MiniTensor_Norms.h.
| KOKKOS_INLINE_FUNCTION T minitensor::I3 | ( | Tensor< T, N > const & | A | ) |
| KOKKOS_INLINE_FUNCTION T minitensor::norm_off_diagonal | ( | Tensor< T, N > const & | A | ) |
Off-diagonal norm. Useful for SVD and other algorithms that rely on Jacobi-type procedures.
Definition at line 539 of file MiniTensor_Norms.h.
| std::pair< Index, Index > minitensor::arg_max_abs | ( | Tensor< T, N > const & | A | ) |
Arg max abs. Useful for inverse and other algorithms that rely on Jacobi-type procedures.
Definition at line 581 of file MiniTensor_Norms.h.
| std::pair< Index, Index > minitensor::arg_max_off_diagonal | ( | Tensor< T, N > const & | A | ) |
Arg max off-diagonal. Useful for SVD and other algorithms that rely on Jacobi-type procedures.
Definition at line 612 of file MiniTensor_Norms.h.