Which software to use? #tensors

  • Thread starter parulm
  • Start date
  • Tags
    Software
In summary, Maple can interchange indices of a tensor, but you may need to use a permutation to get the desired result.
  • #1
parulm
2
0
I need to use a computational software to work on tensorial hermite polynomials. The operations I want to perform are complex combinations of integration, summation and permutation over indices. Please refer to this image: https://www.dropbox.com/s/2ogp4mr7ejg7x8o/Screenshot 2014-07-07 19.49.16.png
For example, in the above, I want to be able to compute the expression for the expansion coefficient for given n as is done manually in the image below: https://www.dropbox.com/s/2ogp4mr7ejg7x8o/Screenshot 2014-07-07 19.49.16.png
Also, at later stages, I will be using tensor contraction, inner product very often, so I need the software to have good support for the same.

Thanks!
 
Physics news on Phys.org
  • #2
Your best bet is either Mathematica or MATLAB. Mathematica can do symbolic math and numerical solutions whereas MATLAB is geared primarily for numberical solutions.

A mathematica summary of features:

http://en.wikipedia.org/wiki/Mathematica

and MATLAB

http://en.wikipedia.org/wiki/Matlab

Alternatively, you could consider Freemat or Octave as free clones of MATLAB with the same core features for numerical computation.

Here's a list / comparison of other numerical software packages:

http://en.wikipedia.org/wiki/Comparison_of_numerical_analysis_software

and lastly here's a list / comparison of symbolic math packages:

http://en.wikipedia.org/wiki/Comparison_of_computer_algebra_systems
 
  • #3
I use Maple for symbolic tensor calculations in general relativity. I like it, and I find that it does what I need (I don't know about your needs, though), but the main reason that I use it is that my employer has a site license, so I have Maple freely and legally installed on my computers.
 
  • #4
Dear George,

Thanks! Can we interchange indices of a tensor in Maple. Or maybe get a permutation. For example, get Aij from Aji or get Bijk and Bikj etc from Bjki? I am using a software called maxima right now which is very much like mathematica and I cannot figure out a way to get permutations in that.
 
  • #5


I would recommend using a specialized computational software such as TensorFlow or PyTorch for working with tensors and tensorial hermite polynomials. These software packages have built-in functions for complex combinations of integration, summation, and permutation over indices, making it easier to perform operations such as the expansion coefficient calculation shown in the provided image. They also have good support for tensor contraction and inner product, as mentioned in the request. Additionally, these software packages are widely used and have a large community of users, making it easier to find resources and support. Other options could include MATLAB or Mathematica, which also have robust tensor capabilities. Ultimately, the best software to use will depend on your specific needs and preferences, so I would recommend exploring different options and choosing the one that best fits your research goals.
 

1. Which software is best for handling tensor data?

The answer to this question depends on your specific needs and the type of tensor data you are working with. Some popular options for handling tensor data include TensorFlow, PyTorch, and Keras. It is recommended to do some research and explore the features of each software to determine which one is best suited for your project.

2. Can I use any programming language to work with tensors?

Yes, most software for handling tensors are compatible with multiple programming languages. For example, TensorFlow supports Python, C++, and Java, while PyTorch supports Python, C++, and R. It is important to check the documentation of the software you are using to ensure compatibility with your chosen programming language.

3. Are there any free software options for working with tensors?

Yes, there are several free and open-source software options for handling tensors, such as TensorFlow, PyTorch, and Keras. These software are widely used and have a strong community support, making them a popular choice for many researchers and scientists.

4. What are the key features to look for in a software for handling tensors?

Some key features to consider when choosing a software for handling tensors include its ease of use, speed and efficiency, support for various tensor operations, compatibility with different programming languages, and availability of resources and support from the community.

5. Can I use multiple software for handling tensors in one project?

Yes, it is possible to use multiple software for handling tensors in one project. For example, you may use TensorFlow for training and PyTorch for deployment. However, it is important to ensure compatibility and proper integration between the different software you are using to avoid any conflicts or errors.

Similar threads

Replies
16
Views
3K
  • Differential Geometry
Replies
29
Views
1K
  • General Discussion
Replies
9
Views
1K
Replies
11
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
Replies
2
Views
881
  • Mechanical Engineering
Replies
1
Views
1K
  • Programming and Computer Science
Replies
13
Views
1K
Replies
2
Views
1K
Replies
1
Views
2K
Back
Top