Code covered by the BSD License  

Highlights from
Statistical Learning Toolbox

from Statistical Learning Toolbox by Dahua Lin
Functions for statistical learning, pattern recognition and computer vision, covering many topics.

Description of sltensor_dot
Home > sltoolbox > tensor > sltensor_dot.m

sltensor_dot

PURPOSE ^

SLTENSOR_DOT Computes the dot product between two tensors

SYNOPSIS ^

function d = sltensor_dot(T1, T2)

DESCRIPTION ^

SLTENSOR_DOT Computes the dot product between two tensors

 $ Syntax $
   - d = sltensor_dot(T1, T2)

 $ Description $
   - d = sltensor_dot(T1, T2) Computes the dot product between two tensors
   T1 and T2.

 $ History $
   - Created by Dahua Lin on June 6th, 2005

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function d = sltensor_dot(T1, T2)
0002 %SLTENSOR_DOT Computes the dot product between two tensors
0003 %
0004 % $ Syntax $
0005 %   - d = sltensor_dot(T1, T2)
0006 %
0007 % $ Description $
0008 %   - d = sltensor_dot(T1, T2) Computes the dot product between two tensors
0009 %   T1 and T2.
0010 %
0011 % $ History $
0012 %   - Created by Dahua Lin on June 6th, 2005
0013 %
0014 
0015 d = sum(T1(:) .* T2(:));

Generated on Wed 20-Sep-2006 12:43:11 by m2html © 2003

Contact us at files@mathworks.com