printoptions formatter not working for a single element of an array of complex numbers

前端 未结 0 744
有刺的猬
有刺的猬 2020-11-27 18:59

I can\'t understand why this formatter doesn\'t format a complex128:

import numpy as np
import scipy.sparse as sp

A = sp.diags([1, -2, 1], [1, 0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题