|
xerus
a general purpose tensor library
|
Header file for the TensorNetwork class. More...
#include <set>#include <memory>#include <functional>#include "misc/fileIO.h"#include "indexedTensor.h"Go to the source code of this file.
Classes | |
| class | xerus::TensorNetwork |
| Very general class used to represent arbitary tensor networks. More... | |
| class | xerus::TensorNetwork::Link |
| Class representing a link from a TensorNode to another node or an external index. More... | |
| class | xerus::TensorNetwork::TensorNode |
| The TensorNode class is used by the class TensorNetwork to store the componentent tensors defining the network. More... | |
Namespaces | |
| xerus | |
| The main namespace of xerus. | |
| xerus::misc | |
| Collection of classes and functions that provide elementary functionality that is not special to xerus as a tensor library. | |
Functions | |
| bool | xerus::approx_equal (const TensorNetwork &_a, const TensorNetwork &_b, const value_t _eps=EPSILON) |
| Checks whether two TensorNetworks are approximately equal. More... | |
| bool | xerus::approx_equal (const TensorNetwork &_a, const Tensor &_b, const value_t _eps=EPSILON) |
| Convinience wrapper, casts the the given TensorNetwork _a to Tensor and calls the Tensor function. More... | |
| bool | xerus::approx_equal (const Tensor &_a, const TensorNetwork &_b, const value_t _eps=EPSILON) |
| Convinience wrapper, casts the the given TensorNetwork _b to Tensor and calls the Tensor function. More... | |
| static XERUS_force_inline value_t | xerus::frob_norm (const TensorNetwork &_network) |
| Calculates the frobenious norm of the given TensorNetwork. More... | |
| TensorNetwork | xerus::operator* (TensorNetwork &_lhs, value_t _factor) |
| TensorNetwork | xerus::operator* (value_t _factor, TensorNetwork &_rhs) |
| TensorNetwork | xerus::operator/ (TensorNetwork &_lhs, value_t _factor) |
| std::ostream & | xerus::operator<< (std::ostream &_out, const TensorNetwork::Link &_rhs) |
| void | xerus::misc::stream_reader (std::istream &_stream, TensorNetwork &_obj, const FileFormat _format) |
| Restores the TensorNetwork from a stream of data. More... | |
| void | xerus::misc::stream_writer (std::ostream &_stream, const TensorNetwork &_obj, const FileFormat _format) |
| Pipes all information necessary to restore the current TensorNetwork into _stream. More... | |
Header file for the TensorNetwork class.
Definition in file tensorNetwork.h.