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_norm
Home > sltoolbox > tensor > sltensor_norm.m

sltensor_norm

PURPOSE ^

SLTENSOR_NORM Computes the Frobenius norm of a tensor T

SYNOPSIS ^

function nrm = sltensor_norm(T)

DESCRIPTION ^

SLTENSOR_NORM Computes the Frobenius norm of a tensor T

 $ Syntax $
   - nrm = sltensor_norm(T)

 $ Arguments $
   - T:        the tensor
   - nrm:      the Frobenius norm of the tensor

 $ Description $
   - nrm = sltensor_norm(T) Computes the Frobenius norm of a tensor T

 Copyright Dahua Lin, The MMLab, CUHK
 $Date: 2006/08/13 04:42:42 $

CROSS-REFERENCE INFORMATION ^

This function calls:
This function is called by:

SOURCE CODE ^

0001 function nrm = sltensor_norm(T)
0002 %SLTENSOR_NORM Computes the Frobenius norm of a tensor T
0003 %
0004 % $ Syntax $
0005 %   - nrm = sltensor_norm(T)
0006 %
0007 % $ Arguments $
0008 %   - T:        the tensor
0009 %   - nrm:      the Frobenius norm of the tensor
0010 %
0011 % $ Description $
0012 %   - nrm = sltensor_norm(T) Computes the Frobenius norm of a tensor T
0013 %
0014 % Copyright Dahua Lin, The MMLab, CUHK
0015 % $Date: 2006/08/13 04:42:42 $
0016 %
0017 
0018 nrm = sqrt(sum(T(:).* T(:)));

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

Contact us at files@mathworks.com