First time here? Check out the FAQ!

Ask Your Question
1

how to use domain:complex$ command in sagemath for maxima?

asked 6 years ago

Nasser gravatar image

A Basic question:

I need to run integrals in maxima using sagemath, but I need to set the domain to complex first, since default in maxima is real domain.

In Maxima itself, the command is

domain: complex$

I am newbie in Maxima and sagemath and could not find the answer googling so far. What command should one issue, from inside sagemath, before calling integrate, to tell maxima to use complex domain? What is the syntax to use?

I do not want to use assume command on some specific symbols, but I want to tell maxima to use the complex domain for all symbols involved.

Thank you

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 6 years ago

slelievre gravatar image

The way Sage uses Maxima, it already sets the domain to be complex by default.

So you don't have to do anything. You would have to make special efforts if you wanted the domain to be real.

Preview: (hide)
link

Comments

slelievre gravatar imageslelievre ( 6 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 6 years ago

Seen: 834 times

Last updated: Jul 18 '18