mptensor  v0.3.0
Parallel Library for Tensor Network Methods
tensor.cc File Reference

utility functions for Tensor class More...

#include <algorithm>
#include <vector>
#include "mptensor/tensor.hpp"

Namespaces

 mptensor
 
 mptensor::debug
 Namespace for debugging.
 

Functions

bool mptensor::is_no_transpose (const Axes &axes, const Axes &axes_map, size_t rank)
 
bool mptensor::debug::check_total_size (const Shape &s1, const Shape &s2)
 
bool mptensor::debug::check_extend (const Shape &s_old, const Shape &s_new)
 
bool mptensor::debug::check_transpose_axes (const Axes &axes, size_t rank)
 
bool mptensor::debug::check_svd_axes (const Axes &axes_row, const Axes &axes_col, size_t rank)
 
bool mptensor::debug::check_trace_axes (const Axes &axes_1, const Axes &axes_2, size_t rank)
 
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_contract_axes (const Axes &axes_1, const Axes &axes_2, size_t rank)
 
bool mptensor::debug::check_square (const Shape &shape, size_t urank)
 

Detailed Description

utility functions for Tensor class

Author
Satoshi Morita morit.nosp@m.a@is.nosp@m.sp.u-.nosp@m.toky.nosp@m.o.ac..nosp@m.jp
Date
Jan 13 2015