We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [ncalgebra]

Questions about the NCAlgebra, a package for manipulating noncommuting algebraic expressions.

Filter by
Sorted by
Tagged with
3
votes
0answers
53 views

NCAlgebra: how to set distributivity?

Is the non-commutative product in NCAlgebra also not distributive? From the documentation it seems it should be. But here is an expression, that it does not seem to be able to simplify: ...
1
vote
2answers
65 views

In NCAlgebra, how can we make d**d**d=0 if d**d=0 is given?

I wrote the following code to eliminate $d^n$ from the equation for $n>1$. ...
0
votes
1answer
65 views

NCAlgebra square of commuting variable

I use the NCAlgebra Package. Now when I enter the square(so standard product) of a noncommuting variable Mathematica returns the variable with NonCommutativeMultiply: ...
3
votes
1answer
76 views

NCAlgebra to Mathematica Standard form

Is there any way to convert the output of NCAlgebra to standard Mathematica form? For example ...
4
votes
1answer
91 views

Distribute NonCommutativeMultiply over Times

Is there a method to transform (a1 * a2) ** (b1 * b2) into (a1 ** b1) * (a2 ** b2) I am trying to transform non-...
3
votes
2answers
167 views

Non-commutative Algebra $LM=t^2 ML$, using NCAlgebra/Mathematica

I am currently using the NCAlgebra package, and am working with the algebra where $LM=t^2 ML$, where t is commutative. ...
0
votes
2answers
223 views

Operator satisfies Leibniz rule

Suppose I have some symbols $a[-i]$ and $b[-j]$, where $i,j=1,\cdots,7$. The relation between them are $$a[-i]a[-j]=a[-j]a[-i],$$ $$a[-i]b[-j]=b[-j]a[-i],$$ $$b[-i]b[-j]=b[-j]b[-i],$$ I want to ...
0
votes
1answer
64 views

Expand a differentiation-like product

Suppose I have some symbols $\tau$, $a[-i]$ and $b[-j]$, where $i,j=1,\cdots,7$. The relation between them are $$a[-i]a[-j]=a[-j]a[-i],$$ $$a[-i]b[-j]=b[-j]a[-i],$$ $$b[-i]b[-j]=b[-j]b[-i],$$ ...
2
votes
1answer
176 views

Why If does not work instead of /; when searching condition in a list

I am trying to define a commutator. The way I am working this out is the following. I have a list with integers. I want to put the biggest on the right commuting them. For example, if I have a list ...
0
votes
1answer
120 views

Collect is not collecting properly with non-commutative algebra

I'm using the NCAlgebra package to do some error analysis of operator split methods. I am trying to reproduce the simple examples in Mathematica, but I'm coming ...
10
votes
2answers
877 views

Non-commutative algebra (NCAlgebra): How to properly SetCommutingOperators

I am starting to work with non-commutative algebra in Mathematica and had a look at the NCAlgebra package. I installed it and can use its functions. However, what I am struggling with is the ...
4
votes
2answers
297 views

Is this a bug in NCAlgebra library?

In course of my work with NCAlgebra package for Mathematica, http://math.ucsd.edu/~ncalg/ , I encountered unexpected behavior of replacements. I am using ...
2
votes
1answer
856 views

How to simplify symbolic matrix multiplication using the associativity of scalar multiplication?

My input is (2A).(3B). Is there a way to get 6A.B? All I could get back from Mathematica was ...
2
votes
1answer
314 views

Differential operator involving permutations

I would like to construct an operator in Mathematica of the following form, $$D_i=\partial_i +\sum_{i \neq j}^n\frac{1}{x_i-x_j}p_{ij}, \quad i=1,...,n$$ where $p_{ij}$ is a (symmetric) permutation ...