As title, I was studying one demo code(diffmpm.py) with the computation:0.75 - ti.sqr(fx - 1). fx is 2 by 1 vector and it may have negative values.
Sorry about the confusion.
sqr is square instead of square root (ti.sqrt).
Yeah, I just found it. Thank you very much for answering my question. Taichi is a very powerful tool for the whole robotics community.
Update: to avoid confusion we have removed
ti.sqr. Thanks for reporting this!