Skip to main content

Outerprod

This method performs outer product of arrays of various ranks ranging from 1 to 4.

Calling example:

c = Outerprod(a, b)

Following operations are performed at present.

c(:,:)=a(:)⊗b(:)c(:,:)=a(:) \otimes b(:) c(:,:,:)=A(:,:)⊗b(:)c(:,:,:)=A(:,:) \otimes b(:) c(:,:,:,:)=A(:,:)⊗(b(:)⊗c(:))c(:,:,:,:)=A(:,:) \otimes (b(:)\otimes c(:)) c(:,:,:,:)=A(:,:,:)⊗b(:)c(:,:,:,:)=A(:,:,:) \otimes b(:)

You can learn more about this from following example: