Zeyu Mao

Results 72 comments of Zeyu Mao

Will you consider supporting sparse matrix solver like Suitesparse?

Do you consider supporting conversion from and to scipy.sparse matrix? Scipy is probably the most used library when dealing with sparse matrix in python.

One update on this issue, also partially related to https://github.com/taichi-dev/taichi/issues/1206, I did a quick but probably unfair comparison between numba and taichi on a partial Jacobian matrix generation process (Im...

Here is the zipped npz file for the Ybus matrix. You could load using scipy.sparse.load_npz after decompression. [Ybus.zip](https://github.com/taichi-dev/taichi/files/7593135/Ybus.zip) For the V array, you could generate like this: ```python V =...

In case you guys want to test, I just updated the original post with all the imports I am using in the code.

Wow this is definitely a tutorial-level answer and should be re-used in the document to maximize its value! Thank you for the detailed explanation @qiao-bo !

Now it seems the major part left is the official support for complex number and its basic arithmetic.

In case someone is interested to test the complex array version (a big step toward applying taichi in power system analysis!), here is the updated code that is modified based...

Update: I found out a serious bug in the example I gave above. Since I am computing the real and imaginary parts of each variable separately, it is important to...

@qiao-bo In the above example you gave, the external numpy array are directly passed to the taichi kernel, and I assume they are in soa pattern. What if I want...