资 源 简 介
RELEASE DATE: 21-March-2012
AUTHOR: Kevin Van Workum, PhD
EMAIL: vanw at sabalcore dot com
Abstract
Tensor is a generic C++ template class designed to be highly
efficient, use Einstein"s index notation for performing tensor
mathematics, and be independent of the underlying storage container
class.
Introduction
Although there are a few other tensor libraries available, this class
is unique in that it is generic with respect to the underlying data
storage container. Additionally, this class correctly handles
expressions with which other tensor libraries fail. Namely, the
"LTensor" library fails with expressions where the data on left hand
side of operator= also appears within the expression on the right hand
side. For example:
x(i) = A(i,j)*x(j) + x(i);
The well-known Boost Library also has some tensor functionality, but
does not strictly follow index notat