![]() |
mptensor
v0.3.0
Parallel Library for Tensor Network Methods
|
Test code for trace. More...
#include <cassert>#include <cmath>#include <cstdlib>#include <iostream>#include <vector>#include <mptensor/mptensor.hpp>#include "functions.hpp"#include "mpi_tool.hpp"#include "timer.hpp"#include "typedef.hpp"Namespaces | |
| tests | |
| Test codes for Tensor. | |
Functions | |
| void | tests::test_trace (const mpi_comm &comm, int L, std::ostream &ostrm) |
| Test for full trace of tensor. More... | |
| void | tests::test_trace_complex (const mpi_comm &comm, int L, std::ostream &ostrm) |
| Test for full trace of tensor (complex version) More... | |
| void | tests::test_trace2 (const mpi_comm &comm, int L, std::ostream &ostrm) |
| Test for full contraction of two tensors. More... | |
| void | tests::test_trace2_complex (const mpi_comm &comm, int L, std::ostream &ostrm) |
| Test for full contraction of two tensors (complex version) More... | |
Test code for trace.