DeepAI AI Chat
Log In Sign Up

Scalar and Tensor Parameters for Importing the Notation in Differential Geometry into Programming

by   Satoshi Egi, et al.

This paper proposes a method for importing tensor index notation, including Einstein summation notation, into programming. This method involves introducing two types of parameters, i.e, scalar and tensor parameters. As an ordinary function, when a tensor parameter obtains a tensor as an argument, the function treats the tensor argument as a whole. In contrast, when a scalar parameter obtains a tensor as an argument, the function is applied to each component of the tensor. This paper shows that introducing these two types of parameters enables us to apply arbitrary functions to tensor arguments using index notation without requiring an additional description to enable each function to handle tensors. Furthermore, we show this method can be easily extended to define concisely the operators for differential forms such as the wedge product, exterior derivative, and Hodge star operator. It is achieved by providing users the method for controlling the completion of omitted indices.


page 1

page 2

page 3

page 4


Scalar and Tensor Parameters for Importing Tensor Index Notation including Einstein Summation Notation

In this paper, we propose a method for importing tensor index notation, ...

The ITensor Software Library for Tensor Network Calculations

ITensor is a system for programming tensor network calculations with an ...

Automatic Differentiation for Tensor Algebras

Kjolstad et. al. proposed a tensor algebra compiler. It takes expression...

The Fréchet derivative of the tensor t-function

The tensor t-function, a formalism that generalizes the well-known conce...

Tensor train based isogeometric analysis for PDE approximation on parameter dependent geometries

This work develops a numerical solver based on the combination of isogeo...

SimpleTensor – a user-friendly Mathematica package for elementary tensor and differential-geometric calculations

In this paper we present a short overview of the new Wolfram Mathematica...

Polyhedral Splines for Analysis

Generalizing tensor-product splines to smooth functions whose control ne...