## Resolved: How to convert a decimal number into symbolic representation?

In this post, we will see how to resolve How to convert a decimal number into symbolic representation? Question: With sympy, I am aware you can you do something like this: There is a complex number I would like to ...

## Resolved: Why I am not able to plot a complex function (obtained with parsing) with matplotlib?

Question: I am trying to plot a complex numbers function, but I have some problems (I don’t usually use matplotlib, so may be a very stupid error). First of all, I’ve created a function to parse the real and complex ...

## Resolved: Object of type complex is not JSon serializable: ignore expressions burried in a string?

Question: So I have a massing csv dump that I need to parse to JSON. Among those csv fields, there are comment fields, similar to this one: which I guess is meant as a price and a number of days, ...

## Resolved: Not able to plot a smooth complex mathematical function with matplotlib, why?

Question: I am trying to plot a complex function with matplotlib. This function plot a normal 1D function if the imaginary part is 0 (and this works) and the whole complex function, as a 2D plot, if the imaginary part ...

## Resolved: Running feval() on a complex matrix

Question: I am following Varodom Toochinda (a.k.a Dew)’s tutorial here. But I want to vectorize this piece of code: to but I get the feval: Wrong number of output argument(s): 1 expected. error. and if I try just the feval(P, ...

## Resolved: How can I fix my C++ code to calculate Complex numbers?

Question: I have got some problems with my main.cpp.There are some places where I do not know what I have to write to make my code work well. I will write in my code where the problems are. I write ...

## Resolved: How to compute a complex function in a cleverer way with Fortran?

Question: I want to solve this equation by using Fortran: Where ψ (psi) is a complex Fortran variable. Now, I am solving this by defining two new complex variables: ir=(1.0,0.0) and ii=(0.0,1.0). I use these to select only the real ...

## Resolved: Sympy calculation on tan function

Question: I have a problem when simplifying a symbolic expression in sympy when having a trigonometric function and a complex exponent, namely I just assumed a different definition of tan function, and I have a weird thing going on. So ...