The arraypy is a container for N-dimensional arrays.

Class "arraypy" is tool for creating and handling multidimensional arrays
in Python. It's main goal: to serve as a base for tensors.

The arraypy is a dictionary Python.

Attribute "key" of the dictionary is the index (tuple) of the arraypy.

Dictionary attribute "value" is the value of specific element of array.

Dictionary: "key":->"value"

Arraypy T: "(i,j,k)":->"T[I,j,k]"

The tensor is the arraypy + index characters (valence of ineces: covariant
(-1) or contravariant (+1)).

It is still in its early stage, the plan is to have something similar to
Maple package Tensor.

The sympy.diffgeom uses the differential form approach. Unfortunately no
indexed tensors there.

The attached file contains the Help for arraypy

Excuse my bad English


2014-06-05 0:09 GMT+07:00 Sergey B Kirpichev <notifications@github.com>:

> In sympy/tensor/arraypy.py:
>
> > @@ -0,0 +1,1312 @@
> > +# -*- coding: utf-8 -*-
> > +"""
> > +Module "arraypy" describes Multidimentional arrays and Tensors.
> > +The module contain arraypy class, tensor class and converting functions: list2arraypy, matrix2arraypy, list2tensor, matrix2tensor.
> > +Authors: Vladimir Kuzmin, Nastia Konovalenko, Ksenia Merzlakova, Nikolay Smolentsev
> > +"""
> > +
> > +from sympy import Symbol
> > +from sympy.matrices import *
> > +from copy import copy
> > +from itertools import permutations
> > +
> > +
> > +class arraypy(object):
> > +    	def __init__(self, *arg):
>
> Second attempt... Please don't use tabs: use 4 spaces for indentation
> levels.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/sympy/sympy/pull/7550/files#r13397941>.
>