MUL
From STX Wiki
Jump to navigationJump to search
Contents
MUL
Usage:
MUL A B
Inputs:
A | number or vector |
B | number or vector |
Outputs:
Y | number or vector (same type as A) |
Function:
Multiply input A with input B.
if A and B are numbers: | Y = A.B |
if A is a vector and B a number: | Y[i] = A[i].B |
if A and B are vectors: | Y[i] = A[i].B[i] |