Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum > General > > "how to simplify symbolic scalar products"

Post Reply:
Name:
Email Address:

Please send email when my message is replied to.

Url (optional):
Subject:
Message: view original message?
Attachment (optional):
Please answer this:3+4 =



Original Message (ID '147852') By jf:
There isn't a way in Mathematica to "define" a variable as something it isn't yet. A variable represents an integer if an integer is assigned to it; a variable represents a vector if a vector is assigned to it. That said, there might be a way to fake it with UpValues. See http://reference.wolfram.com/mathematica/tutorial/AssociatingDefinitionsWithDifferentSymbols.html