| Author |
Comment/Response |
jf
|
11/27/12 1:07pm
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
URL: , |
|