Calculate inversed tensor(matrix).
You can find more information in comments below.
template<class TYPE>
TTensor<TYPE, 1u, 1u> inversed(const TTensor<TYPE, 1u, 1u> &m); // Return inversed 1x1 tensor(matrix)
template<class TYPE>
TTensor<TYPE, 2u, 2u> inversed(const TTensor<TYPE, 2u, 2u> &m); // Return inversed 2x2 tensor(matrix)
template<class TYPE, size_t SIZE>
typename std::enable_if<(SIZE > 2), TTensor<TYPE, SIZE, SIZE>>::type inversed(const TTensor<TYPE, SIZE, SIZE> &m); // Return inversed NxN tensor(matrix)
Namespace: | nitisa::math |
Include: | Nitisa/Modules/Math/Tensor.h |