Reputation
1,153
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 19
Impact
~12k people reached

  • 0 posts edited
  • 1 helpful flag
  • 94 votes cast
Jul
26
comment An equivalent to Condition that I can use anonymously when string pattern matching
@Mr.Wizard: Thanks for the great job you are doing on this forum! (sorry for ignoring the no thank you rule ;))
Jul
26
comment Maximize[Cos[x - 1], x] is not evaluated
Well, it seems to be fixed in Mathematica 10.2 (running on OS X here).
Jul
26
comment How to add UpValues to a symbol to make a expression expanded normally?
How about just using PiecewiseExpand /@ D[BernsteinBasis[5, 3, u], {u, 2}] // Simplify?
Jul
26
comment Integrate over Piecewise function efficiently
@MichaelE2: Added the information.
Jul
26
revised Integrate over Piecewise function efficiently
added 409 characters in body
Jul
26
revised Integrate over Piecewise function efficiently
added 82 characters in body
Jul
26
answered Integrate over Piecewise function efficiently
Jul
25
comment How to simplify 1 - Cos[2x] to 2 Sin[x]^2?
@SimonRochester: Why do you think it does not work?
Jul
25
revised How to simplify 1 - Cos[2x] to 2 Sin[x]^2?
added 1 character in body
Jul
24
answered How to simplify 1 - Cos[2x] to 2 Sin[x]^2?
Jul
24
comment How to simplify 1 - Cos[2x] to 2 Sin[x]^2?
you forgot the Square, Cos[2x]=1-2 Sin[x]^2
Jul
12
comment Precision and accuracy in NDSolve and NMinimize
To 5.: Numerical methods do a lot of objective function evaluations, so it would be wise to speed up the computation time for evaluating the objective function. You might want to consider compiling it.
Jul
9
comment Profiling from Mathematica
A shame the Please help me! has been removed from the original post.
Jul
9
comment Profiling from Mathematica
My issues mentioned in the comment above seem to be resolved in Mathematica 10.1. I also think that Mr.Wizard's suggestion should work in older versions, but I am not sure if I recall that correctly. Sorry for the late reply.
Jul
8
comment Mixing tensorial calculation
@Zbigniew: I guess $a_i$ and $b_i$ are functions with respect to $t$ and the tensor product operates on inputs $t_1$ and $t_2$ then, right?
Jul
8
answered Positions of elements in a list
Jul
7
comment CCompile Problems
Glad it works. I do not have Mathematica running on Windows 8, so I can only check part of it.
Jul
6
comment CCompile Problems
I guess you do not have access to newer Mathematica versions, right? If you do, I would definitely recommend upgrading to the latest version of Mathematica.
Jun
25
answered Transforming an Optimization Problem into a multi-vector Optimization Problem
Jun
23
comment Transforming an Optimization Problem into a multi-vector Optimization Problem
Creating a Table won't help you. You need to create arrays for your individual variables like eVars = Array[e,n] where n is some fixed integer. Then you need to create an appropriate objective function, that mixes all the components together in the way you want them to interact and yield a real value, not some kind of vector. Essentially you can just optimize in ordered spaces (you need to know whats bigger and smaller).