Message Boards Message Boards

0
|
2615 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Is the symbol underscore forbidden in the name of a matrix?

Posted 3 years ago

Hi, I named a matrix A_n and got a series of values for it.

Then I named the same matrix by An and I got a series of different results for it.

What is happening?

Thanks!

POSTED BY: Ser Man
2 Replies
Posted 3 years ago

Thanks Rohit, that was clear.

POSTED BY: Ser Man
Posted 3 years ago

Underscore is Blank so A_n is interpreted as a Pattern

A_n // FullForm
(* Pattern[A, Blank[n]] *)
POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract