Vector addition and subtraction, number and dot products, cross products

 


A B
1 [7,9,6,23,56,1] [7,9,6,23,56,1]
2 =A1++B1
3 =A1--B1
4 =A1.(~*5)
5 =A1.(~*B1(#)).sum()
6 =mul(A1,B1)

A2 A1 add B1, return [14,18,12,46,112,2]

A3 Subtract B1 from A1, return [0,0,0,0,0,0]

A4 Multiplication of vector by scalar, return [35,45,30,115,280,5]

A5 Dot product of A1 and B1,return 3832

A6 Cross product of A1 and B1.When mul() is used for cross multiplication, the vector B1 on the right is automatically transposed

..