cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

F(x,y)=x+y, if varaibles increases i need to mention so many variables in f(), how to avoid that

bala2
1-Newbie

F(x,y)=x+y, if varaibles increases i need to mention so many variables in f(), how to avoid that

 
2 REPLIES 2
LucMeekes
23-Emerald III
(To:bala2)

Define the function as
F (x)
Where x is a vector. Vectors can be very large.
Example, for 3 variables you define
F (x):x [0+x [1+x [2

Success!
Luc
Werner_E
24-Ruby V
(To:bala2)

Here are some examples of functions with vector arguments:

B.png

Top Tags