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

04/09/2018
by   Satoshi Egi, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/21/2017

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, ...
research
07/28/2020

The ITensor Software Library for Tensor Network Calculations

ITensor is a system for programming tensor network calculations with an ...
research
11/03/2017

Automatic Differentiation for Tensor Algebras

Kjolstad et. al. proposed a tensor algebra compiler. It takes expression...
research
02/19/2023

The Fréchet derivative of the tensor t-function

The tensor t-function, a formalism that generalizes the well-known conce...
research
04/06/2022

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

This work develops a numerical solver based on the combination of isogeo...
research
11/12/2021

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...
research
04/24/2023

Polyhedral Splines for Analysis

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

Please sign up or login with your details

Forgot password? Click here to reset