代码搜索:Tensor

找到约 495 项符合「Tensor」的源代码

代码结果 495
www.eeworm.com/read/205036/15328810

m innerprod.m

function res = innerprod(X,Y) %INNERPROD Efficient inner product with a tensor. % % R = INNERPROD(X,Y) efficiently computes the inner product between % two tensors X and Y. If Y is a tensor, then
www.eeworm.com/read/205036/15328811

m permute.m

function T = permute(T,order) %PERMUTE Permute tensor dimensions. % % B = PERMUTE(A,ORDER) rearranges the dimensions of A so that they % are in the order specified by the vector ORDER. The result
www.eeworm.com/read/205036/15328824

m size.m

function m = size(t,idx) %SIZE Tensor dimensions. % % D = SIZE(T) returns the sizes of each dimension of tensor X in a % vector D with ndims(X) elements. % % I = size(T,DIM) returns the size o
www.eeworm.com/read/205036/15328838

m tsize.m

function sz = tsize(a,idx) %TSIZE Tensor size of sptenmat. % % D = TSIZE(X) returns the size of the tensor being stored as a % matrix. % % M = TSIZE(X,DIM) returns the length of the dimension(
www.eeworm.com/read/205036/15328867

m full.m

function B = full(A) %FULL Convert a sparse tensor to a (dense) tensor. % % B = FULL(A) converts a sptensor A to a (dense) tensor B. % % See also SPTENSOR, TENSOR. % %MATLAB Tensor Toolbox. %Copyr
www.eeworm.com/read/205036/15328876

m contents.m

% @SPTENSOR % % Files % and - Logical AND (&) for sptensors. % collapse - Collapse sparse tensor along specified dimensions. % contract - Contract sparse tensor along two dimensions (
www.eeworm.com/read/205036/15328910

m contents.m

% Tensor Toolbox (Sandia National Labs) % Version 2.2 10-JAN-2007 % % Tensor Toolbox for dense, sparse, and decomposed n-way arrays. % % khatrirao - Khatri-Rao product of matrices. % sptendiag -
www.eeworm.com/read/205036/15328920

m contents.m

% @TENMAT % % Files % ctranspose - Complex conjugate transpose for tenmat. % disp - Command window display of a matricized tensor (tenmat). % display - Command window display of a tenma
www.eeworm.com/read/205036/15328922

m tsize.m

function sz = tsize(a,idx) %TSIZE Tensor size of tenmat. % % D = TSIZE(X) returns the size of the tensor being stored as a % matrix. % % M = TSIZE(X,DIM) returns the length of the dimension(s)
www.eeworm.com/read/205036/15328926

m disp.m

function disp(t,name) %DISP Command window display of a matricized tensor (tenmat). % % DISP(T) displays a tensor as matrix with no name. % % DISP(T,NAME) display a tensor as matrix with the given