How you define vector function in Mathematica?(adsbygoogle = window.adsbygoogle || []).push({});

For example, f is a vector function and f=(xy,yz,zx). How to define this in Mathematica and then how to calculate the value of the components of f for any number x, y, and z?

For scalar functions it goes as this:

f[x_]:=x^2

f[4]

Any idea for vectors?

**Physics Forums - The Fusion of Science and Community**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to define vector function in Mathematica

Loading...

Similar Threads - define vector function | Date |
---|---|

Maple question: defining functions as inverse Fourier transforms | Jun 21, 2016 |

Trying to define a integrating function in Mathematica | Jun 11, 2016 |

Plotting an integral-defined function in MATLAB | Aug 5, 2015 |

Mathematica Globally Define Variable as Real | Nov 3, 2014 |

Defining function of a vector and symbolic symmetric matrices- mathematica | Feb 9, 2011 |

**Physics Forums - The Fusion of Science and Community**