Sorry, this content is no longer available

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 3 years ago

ttdsmt gravatar image

Can declare symbolic variable with specific type?

I know syntax to declare symbolic variable is

var('x')

What I want is associating type to this variable, say like var('x', type=float)

Can declare symbolic variable with specific type?

I know syntax to declare symbolic variable is

var('x')

What I want is associating type to this variable, say like var('x', type=float). Can we do it in Sagemath

click to hide/show revision 3
retagged

updated 0 years ago

FrédéricC gravatar image

Can declare symbolic variable with specific type?

I know syntax to declare symbolic variable is

var('x')

What I want is associating type to this variable, say like var('x', type=float). Can we do it in Sagemath