Convert all complex numbers in array/matrix to value 0 or remove these numbers
asked 2016-06-18 14:39:34 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
I'm new to sagemath, approximately 2 week-old. How do you convert all complex numbers in a nested array to value 0 or NaN? Or to remove these numbers from the array/matrix(which is eventually what I want to achieve in the end)?
Thanks for your help!