Difference between revisions of "Array.across()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
 
Line 7: Line 7:
  
 
Array across operation. Use the function to merge the two pairs. Operates like a tensor multiplication.
 
Array across operation. Use the function to merge the two pairs. Operates like a tensor multiplication.
 +
 +
a=MS(3)
 +
 +
b=MS(3)~
 +
 +
a.across(b);
 +
 +
Returns the across elements of Magic Square(3) and its Transpose.

Revision as of 05:16, 17 April 2020


Array.across(SomeOtherArray, SomeFunction)

Array across operation. Use the function to merge the two pairs. Operates like a tensor multiplication.

a=MS(3)

b=MS(3)~

a.across(b);

Returns the across elements of Magic Square(3) and its Transpose.