[Master Index] [Index for .]

tensor

(./tensor.m)


Function Synopsis

[T] = tensor(v1,v2);

Help text

function [T] = tensor(v1,v2);
 Computes the tensor product of 2 column vectors.
 May actually compute the tensor product of two 2nd order
 tensors, but one never really knows.

Cross-Reference Information

This function is called by

Listing of function ./tensor.m

function [T] = tensor(v1,v2);
%function [T] = tensor(v1,v2);
% Computes the tensor product of 2 column vectors.
% May actually compute the tensor product of two 2nd order
% tensors, but one never really knows.

v1 = column(v1);
v2 = column(v2);
T = v1*v2';

Produced by mat2html on Wed Jul 10 14:55:44 US/Pacific 1996
Cross-Directory links are: OFF