Can anyone help me with this, please? On Mon, Mar 11, 2024, 06:06 Giovanni Sutanto <giovanni.suta...@gmail.com> wrote:
> Hi SymPy Community, > > I am now trying to understand what happens when I perform WedgeProduct > operations on SymPy. > > So, I understand how to use the SymPy's Wedge Product to some extent, i.e. > I was the one who responded to the question on Stack Overflow: > https://stackoverflow.com/questions/76981303/computing-the-wedge-product > > However, when I have: > ''' > my_matrix = Matrix([[2, 0, 5], [0, 7, 0]]) > r2_r_oneforms = R2_r.base_oneforms() > r2_r_vectors = R2_r.base_vectors() > > cols = [None] * 3 > for j in range(3): > cols[j] = 0 > for i in range(2): > cols[j] += my_matrix[i, j] * r2_r_vectors[i] > > cols_wedge_product = WedgeProduct(*r2_r_oneforms)(*cols) > print('cols_wedge_product = ', cols_wedge_product) > ''' > What I get is: > cols_wedge_product = -42 > > Where does the number -42 come from? > > On the other hand, if: > my_matrix = Matrix([[1, 0, 1], [0, 1, 0]]) > I get: > cols_wedge_product = 0 > What computation leads to 0 here? > > Can any of you please explain it, e.g. in the terms of the example in the > video lecture https://youtu.be/xRf9-hdxB0w?feature=shared&t=2961 ? > > Thanks so much in advance for your time! > > > Best Regards, > > Giovanni > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sympy" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/sympy/-MAK_y6-9Yc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > sympy+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/b7fb6f7e-232d-4414-b938-1cdbab35cd76n%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/b7fb6f7e-232d-4414-b938-1cdbab35cd76n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CABDEkV-Vmk50gujL-XmoWTLQWj82D302vHi2VwZS4aRDgcNO3A%40mail.gmail.com.