Template Function libwalrus::torontonian¶
Defined in File torontonian.hpp
Function Documentation¶
-
template<typename
T
>
Tlibwalrus
::
torontonian
(std::vector<T> &mat)¶ Computes the Torontonian of an input matrix.
If the output is NaN, that means that the input matrix does not have a Torontonian with physical meaning.
This function uses OpenMP (if available) to parallelize the reduction.
- Return
Torontonian of the input matrix
- Parameters
mat
: flattened vector of size \(n^2\), representing an \(n\times n\) row-ordered symmetric matrix.
libwalrus_cpp_api/function_namespacelibwalrus_1a2abdaeb37f49f58364a91d2c6ba65182
Download Python script
Download Notebook
View on GitHub
Contents
Downloads