7 votes
Accepted

How to code a sum in Mathematica and how to solve it?

Let's take a short example with $s=3$. ...
user avatar
  • 7,612
6 votes

How to code a sum in Mathematica and how to solve it?

This can of course be formulated as a linear-algebraic problem. Using Domen's example: ...
user avatar
5 votes
Accepted

Code for multiple sums

I found the original functions confusingly written (e.g. the nested If[]s), so I rewrote to the following: ...
user avatar
4 votes

Code for multiple sums

Simplifying your code a bit: ...
user avatar
  • 36.9k
1 vote
Accepted

Accelerating sum over permutations of matrix elements

Intro. Given a matrix mat, the matrices of the 2nd, 3rd, 4th, ... tensor power of mat are ...
user avatar
  • 5,473
1 vote

NDSolve issue with summation

Not an answer; too long for a comment; here's some preliminary mathematical work. Let's take a function $f(x)$ and compute $F_a(x)=\sum_{n=0}^{\infty} a^n \frac{d^n f(x)}{dx^n}$. Starting with the ...
user avatar
  • 36.9k

Only top scored, non community-wiki answers of a minimum length are eligible