mptensor
v0.3.0
Parallel Library for Tensor Network Methods
|
Namespace for debugging. More...
Functions | |
bool | check_total_size (const Shape &s1, const Shape &s2) |
bool | check_extend (const Shape &s_old, const Shape &s_new) |
bool | check_transpose_axes (const Axes &axes, size_t rank) |
bool | check_svd_axes (const Axes &axes_row, const Axes &axes_col, size_t rank) |
bool | check_trace_axes (const Axes &axes_1, const Axes &axes_2, size_t rank) |
bool | check_trace_axes (const Axes &axes_a, const Axes &axes_b, const Shape &shape_a, const Shape &shape_b) |
bool | check_contract_axes (const Axes &axes_1, const Axes &axes_2, size_t rank) |
bool | check_square (const Shape &shape, size_t urank) |
Namespace for debugging.
Functions in this namespace are called in assert().
bool mptensor::debug::check_square | ( | const Shape & | shape, |
size_t | urank | ||
) |
bool mptensor::debug::check_trace_axes | ( | const Axes & | axes_a, |
const Axes & | axes_b, | ||
const Shape & | shape_a, | ||
const Shape & | shape_b | ||
) |
bool mptensor::debug::check_transpose_axes | ( | const Axes & | axes, |
size_t | rank | ||
) |