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]:

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

Use Conjugate as a target function:

Generate data sampled from a mixture distribution:

Estimate the best distribution from this data:

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

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

Compare the PDFs for the three distributions:

Introduced in 1996
 (3.0)