Tag Info

New answers tagged

3

The most straight-forward adaptation of your code is the following: list = Array[x, 8]; Apply[And, Element[#, Reals]& /@ list (* x[1] ∈ Reals && x[2] ∈ Reals && x[3] ∈ Reals && x[4] ∈ Reals && x[5] ∈ Reals && x[6] ∈ Reals && x[7] ∈ Reals && x[8] ∈ Reals *) Also, you can do Element[Alternatives ...


0

The Need I found a solution for the problem, but first since people here asked why would there be a need I'll elaborate about my need. In my case I defined and inner product which is supposed to work act both on vectors and scalars (scalars are just coteries with unit length). Since I wanted the definition to general for other cases as well I didn't want ...


1

Like the OP, I find that Assuming[x_ ∈ Reals, FullSimplify[Conjugate[Exp[I x1] x2]]] (* E^(-I x1) x2 *) works, but Assuming[x_ ∈ Reals, FullSimplify[Conjugate[Exp[I x1] x2 + x3]]] (* E^(I x1) x2 + x3 *) Assuming[x_ ∈ Reals, FullSimplify[Conjugate[Exp[I x1] x2 + Exp[I x3] x4]]] (* E^(I x1) x2 + E^(I x3) x4 *) return the wrong answer without ...



Top 50 recent answers are included