Ask Your Question

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

asked 2018-07-18 12:06:02 +0200

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-18 13:43:26 +0200

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.

edit flag offensive delete link more


slelievre gravatar imageslelievre ( 2018-07-18 14:17:05 +0200 )edit

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


Asked: 2018-07-18 12:06:02 +0200

Seen: 406 times

Last updated: Jul 18 '18