Rank: Member Groups: Registered
Joined: 11/05/2010(UTC) Posts: 15
|
Hello, Could someone please point me to a definition of the alg() function? In SMath Studio version 0.88, the description is "Algebraic addition to matrix." In a Web search, the closest I found to a definition was a Wikipedia page on matrix addition, but I didn't find an operation which takes a matrix and 2 scalars as inputs and returns a scalar as output, as alg() does. Thanks in advance for explaining.
|
|
|
|
Rank: Administration Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member Joined: 11/07/2008(UTC) Posts: 1,616 Was thanked: 1978 time(s) in 666 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 10/12/2009(UTC) Posts: 246 Location: Cali, Colombia Was thanked: 85 time(s) in 65 post(s)
|
Hi, The alg() returns the cofactor of a matrix, wich is defined as el(A;i;j)=(-1)^(i+j)*el(M;i;j), where el(M;i;j) is the minor of a matrix. In the help for alg() function you can see: alg(mat(1;2;3;4;5;6;7;8;9;3;3);1;2)=6For matrix A←mat(1;2;3;4;5;6;7;8;9;3;3), The minor el(M;1;2) of A is: el(M;1;2)←det(mat(#;#;#;4;#;6;7;#;9;3;3))el(M;1;2)←det(mat(4;6;7;9;2;2))so, el(A;1;2) is the cofactor of A, calculated as: el(A;1;2)-1)^(1+2)*(4*9-7*6)=6. Regards, Oscar Campo
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.