Difference between revisions of "Manuals/calci/KRONECKERPRODUCT"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<div style="font-size:30px">'''MATRIXTENSORPRODUCT (a,b)'''</div><br/> | <div style="font-size:30px">'''MATRIXTENSORPRODUCT (a,b)'''</div><br/> | ||
− | *<math>a | + | *<math>a</math> and <math> b </math> are any matrix test array. |
==Description== | ==Description== |
Revision as of 13:22, 29 November 2016
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
- 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]]