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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

What is the difference ?

ppal
17-Peridot

What is the difference ?

Please see attached Mathcad (prime 5)- Won't let me past the picture. So pic also attached.

 

Exceeds 2000 words or something

 

2 REPLIES 2
Werner_E
24-Ruby V
(To:ppal)

The vectirization (arrow over t) never is necessary and its confusing. use it only if you calculate with vectors, not with ranges!

 

t is a range, but Rows is a vector - thats the reason for the different answers.

A range is not a vector but kind of an implicit loop. It has 0 rows.

 

Its an undocumented trick that a range is turned into a vector if you use inline evaluation.

x:=1..5 is a range, but

y:=1..5= is a vector.

 

tsilence
6-Contributor
(To:ppal)

Here's a little image showing what Werner is talking about.

 

7ba31f76-9cc2-4959-ac87-e297ca8e7499.png

 

 

 

 

 

 

 

 

 

 

 

 

 

As you can see, using inline evaluation, T := t = [row vector] provides the results you desire.


- Trevor
Tech-30 Application Engineer
Check out our YouTube channel for instructional videos on PTC products.
Top Tags