Difference between revisions of "Manuals/calci/KRONECKERPRODUCT"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "==prod")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==prod
+
<div style="font-size:30px">'''MATRIXTENSORPRODUCT (a,b)'''</div><br/>
 +
*<math>a</math> and <math> b </math> are any matrix test array.
 +
 
 +
==Description==
 +
*This function gives the result of Kronecker product. 
 +
*Kronecker product is also called Tens or product.
 +
*It is denoted by <math>\otimes</math>.
 +
*This product is comparatively different from usual Matix multiplication.
 +
*Given an m×n matrix A and a p×q matrix B, their Kronecker product C=A tensor B, also called their matrix direct product, is an (mp)×(nq) matrix .
 +
*So <math>A\otimes B=
 +
\begin{bmatrix}
 +
a_{11}B      & \cdots & a_{1n}B      \\
 +
\vdots & \ddots & \vdots \\
 +
a_{m1}B      & \cdots & a_{mn}B
 +
\end{bmatrix}</math>
 +
 
 +
==Examples==
 +
#MATRIXTENSORPRODUCT(a1=TESTARRAY(3),a2=TESTARRAY(3))
 +
[[0.1043,0.2508,0.0217,0.0637,0.1531,0.0132,0.2749,0.6612,0.0572],
 +
[0.1315,0.0125,0.0119,0.0803,0.0076,0.0072,0.3467,0.0331,0.0314],
 +
[0.2411,0.2536,0.1147,0.1472,0.1548,0.0700,0.6355,0.6686,0.3024],
 +
[0.0663,0.1596,0.0138,0.0426,0.1026,0.0088,0.2594,0.6240,0.0540],
 +
[0.0837,0.0080,0.0075,0.0538,0.0051,0.0048,0.3272,0.0313,0.0296],
 +
[0.1534,0.1614,0.0730,0.0986,0.1037,0.0469,0.5998,0.6309,0.2854],
 +
[0.0619,0.1489,0.0128,0.0679,0.1634,0.0141,0.0560,0.1347,0.0116],
 +
[0.0780,0.0074,0.0070,0.0857,0.0081,0.0077,0.0706,0.0067,0.0064],
 +
[0.1431,0.1505,0.0681,0.1571,0.1652,0.0747,0.1295,0.1362,0.0616]]
 +
 
 +
 
 +
==Related Videos==
 +
{{#ev:youtube|v=e1UJXvu8VZk|280|center|Kronecker Product}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/MMULT  | MMULT ]]
 +
*[[Manuals/calci/MDETERM | MDETERM ]]
 +
 
 +
==References==
 +
[https://en.wikipedia.org/wiki/Kronecker_product Matrix tens or Product]
 +
 
 +
 
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 14:43, 28 November 2018

MATRIXTENSORPRODUCT (a,b)


  • and are any matrix test array.

Description

  • This function gives the result of Kronecker product.
  • Kronecker product is also called Tens or product.
  • It is denoted by .
  • This product is comparatively different from usual Matix multiplication.
  • Given an m×n matrix A and a p×q matrix B, their Kronecker product C=A tensor B, also called their matrix direct product, is an (mp)×(nq) matrix .
  • So

Examples

  1. MATRIXTENSORPRODUCT(a1=TESTARRAY(3),a2=TESTARRAY(3))

[[0.1043,0.2508,0.0217,0.0637,0.1531,0.0132,0.2749,0.6612,0.0572], [0.1315,0.0125,0.0119,0.0803,0.0076,0.0072,0.3467,0.0331,0.0314], [0.2411,0.2536,0.1147,0.1472,0.1548,0.0700,0.6355,0.6686,0.3024], [0.0663,0.1596,0.0138,0.0426,0.1026,0.0088,0.2594,0.6240,0.0540], [0.0837,0.0080,0.0075,0.0538,0.0051,0.0048,0.3272,0.0313,0.0296], [0.1534,0.1614,0.0730,0.0986,0.1037,0.0469,0.5998,0.6309,0.2854], [0.0619,0.1489,0.0128,0.0679,0.1634,0.0141,0.0560,0.1347,0.0116], [0.0780,0.0074,0.0070,0.0857,0.0081,0.0077,0.0706,0.0067,0.0064], [0.1431,0.1505,0.0681,0.1571,0.1652,0.0747,0.1295,0.1362,0.0616]]


Related Videos

Kronecker Product

See Also

References

Matrix tens or Product