Template Function sequant::apply_index_replacements(AbstractTensor&, const ReplacementMap&, const bool)

Function Documentation

template<typename ReplacementMap>
void sequant::apply_index_replacements(AbstractTensor &tensor, const ReplacementMap &replacements, const bool self_consistent)

replaces indices of tensor

Parameters:

self_consistent – if true, the protoindices of an image are replaced too (see replace_proto_indices_of_images)