stensor_expansion.h File Reference

Tensor expansion. More...

Include dependency graph for stensor_expansion.h:

This graph shows which files directly or indirectly include this file:

## Namespaces | |

namespace | syten |

Syten namespace. | |

namespace | syten::STensorImpl |

Contains all ‘smart’ tensor related classes and functions. | |

## Functions | |

std::tuple< STensor, SBasis > | syten::STensorImpl::expand (STensor const &a, STensor const &b) |

Constructs an expanded tensor in which `a` is placed first and `b` is placed second. More... | |

std::tuple< STensor, Vec< SBasis > > | syten::STensorImpl::expand (STensor const &a, STensor const &b, ConstSpan< Pair< SBasis, SBasis > > expandees) |

Constructs an expanded tensor in which `a` is placed first and `b` is placed second. More... | |

std::tuple< STensor, SBasis > | syten::STensorImpl::zero_expand (STensor a, SBasis const &inner, SBasis const &zero) |

Constructs a zero-expanded tensor, expanding the leg `inner` by sectors as described in `zero` . More... | |

void | syten::STensorImpl::zero_expand_nc (STensor &a, SBasis const &inner, SBasis const &zero) |

Constructs a zero-expanded tensor, expanding the leg `inner` by sectors as described in `zero` . More... | |

std::tuple< STensor, SBasis > | syten::STensorImpl::zero_expand_sam (STensor a, SBasis const &inner, SBasis const &zero) |

Constructs a zero-expanded tensor, expanding the leg `inner` by sectors as described in `zero` . More... | |

Tensor expansion.