CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/namedtensor

README.md

Named tensor notation in

This style file provides macros for named tensor notation. Please see the paper Named Tensor Notation for background on this notation.

To use the style file, put

\usepackage{namedtensor}

into the preamble of your source file (after \documentclass{article} but before \begin{document}).

We write axis names in sans-serif font. To make this easier, \name{axis} prints the axis name "axis", and \ndef{\ax}{axis} defines a macro \ax that prints the axis name "axis".

Binary operators

  • Use A \ndot{\ax} B for contractions. You can use \\ to stack up several names.
  • You can use \nbin to make new binary operators. For example, Anbin{ax}{star} B gives you a star operator with "axis" writtenunder it.

Functions

  • Use \nsum{\ax} A for summation over a named axis.
  • You can use \nfun to make new functions. For example, \nfun{\ax}{qux} A defines a function "qux" with "axis" written under it.

Credits

  • David Chiang, University of Notre Dame, dchiang@nd.edu
  • Alexander M. Rush, Cornell University, arush@cornell.edu
  • Boaz Barak, Harvard University, b@boazbarak.org

License

This software is licensed under the MIT License. Please see LICENSE.md for copyright notice.

Download the contents of this package in one zip archive (2.0k).

namedtensor – Macros for named tensor notation

This style file provides macros for named tensor notation. Please see the paper 'Named Tensor Notation' for background on this notation.

Packagenamedtensor
Version0.4
LicensesMIT License
Copyright2022 University of Notre Dame, Cornell University, and Harvard University
MaintainerDavid Chiang
Contained inTeX Live as namedtensor
MiKTeX as namedtensor
TopicsMaths
...
Guest Book Sitemap Contact Contact Author