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

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
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: ,

Subject (listing for 'how to simplify symbolic scalar products')
Author Date Posted
how to simplify symbolic scalar products Chris 11/26/12 11:17am
Re: how to simplify symbolic scalar products jf 11/27/12 1:07pm
Re: Re: how to simplify symbolic scalar products Chris 11/28/12 04:48am
Re: Re: Re: how to simplify symbolic scalar pro... jf 11/28/12 11:50am
Re: Re: Re: Re: how to simplify symbolic scalar... Chris 11/30/12 04:00am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic