Commit 73b15fd2 authored by Pablo Piskunow's avatar Pablo Piskunow
Browse files

comment on the transposes

parent ebf1d5aa
Pipeline #2816 failed with stages
in 3 minutes and 43 seconds
......@@ -329,6 +329,7 @@ class SpectralDensity:
np.tan(np.pi/(self.num_moments + 1)))
kernel = kernel / (self.num_moments + 1)
# transposes handle the case where operators have vector outputs
coef_cheb = np.transpose(moments.transpose() * kernel)
coef_cheb[1:] = 2 * coef_cheb[1:]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment