Here is one way to get multiple minima: call NMinimize multiple times with different random seeds, which will cause different optimization paths to be taken. This defines a ...
MorphologicalTransform[image, f] applies the function f to the 3*3 neighborhood of each pixel in a binary image image.MorphologicalTransform[image, rule] applies a ...
DynamicWrapper[e, expr] represents an object that displays as e, but dynamically updates the expression expr whenever that object is visible on screen.
This is a simple homogeneous DAE with constant coefficients. This finds the general solution. It has only one arbitrary constant because the second equation in the system ...
A linear ordinary differential equation of order n is said to be exact if The condition of exactness can be used to reduce the problem to that of solving an equation of order ...
The built-in functions in Mathematica operate in a wide variety of ways. But many of the mathematical functions share an important approach: they are set up so as to reduce ...
SetAttributes[s, attr] adds attr to the list of attributes of the symbol s.
ImageCompose[image, overlay] gives the result of overlaying overlay onto image. ImageCompose[image, {overlay, \[Alpha]}] gives the result of alpha blending overlay into image ...
When you ask for the square root s of a number a, you are effectively asking for the solution to the equation s^2a. This equation, however, in general has two different ...
If you have an equation like 2x==0, it is perfectly clear that the only possible solution is x->0. However, if you have an equation like ax==0, things are not so clear. If a ...