TargetFunctions

TargetFunctions

is an option for functions such as ComplexExpand and FindDistribution that specifies what functions to attempt to generate in the output.

Examples

Basic Examples  (4)

This gives an answer in terms of Re[z] and Im[z]:

In[1]:=
Click for copyable input
Out[1]=

With TargetFunctions->{Abs, Arg}, the answer is given in terms of Abs[z] and Arg[z]:

In[1]:=
Click for copyable input
Out[1]=

Use Conjugate as a target function:

In[1]:=
Click for copyable input
Out[1]=

Generate data sampled from a mixture distribution:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Estimate the best distribution from this data:

In[3]:=
Click for copyable input
Out[3]=

With TargetFunctions->{GammaDistribution,NormalDistribution}, the answer is given in terms of gamma distributions and normal distributions:

In[4]:=
Click for copyable input
Out[4]=

With TargetFunctions->{GammaDistribution}, the answer is given in terms of gamma distributions:

In[5]:=
Click for copyable input
Out[5]=

Compare the PDFs for the three distributions:

In[6]:=
Click for copyable input
Out[6]=

See Also

FunctionExpand  TransformationFunctions

Introduced in 1996
(3.0)