资 源 简 介
LTensor is a high performance C++ Tensor Library based on indicial notation.
AUTHORS
Dr. Alejandro C. Limache
Eng. Sebastian Rojas Fredini
International Center of Computational Methods in Engineering (CIMEC)
WHY THIS LIBRARY MIGHT BE USEFUL TO YOU
To do fast matrix vector operations like:
d = A*b + c
or one with the transposed of A like:
d = AT*b + c.
one usually needs to write them in C/FORTRAN 77 (C-tran) code style for performance
reasons. This means that one needs to use several "for loops" in order to do the
products and sums component-wise. Although computationally efficient, this type of programming style is error prone and makes codes lenghtier and hard to be debugged
(see for example http://www.gps.caltech.edu/~walter/FTensor/FTensor.pdf