代码搜索:Tensor
找到约 495 项符合「Tensor」的源代码
代码结果 495
www.eeworm.com/read/124802/14537194
c telafft.c
/*
*This file is part of tela the Tensor Language.
*Copyright(c)1994-1995 Pekka Janhunen
*/
/*
fftpack.C : A set of FFT routines in C.
Algorithmically based on Fortran-77 FFTPACK by Paul N
www.eeworm.com/read/237293/13969766
awk splitrayden.awk
# awk -script to split ray-density tensor output file from
# velsort (raydenxx.xx.xyz) into class-files for plotting
#
# classes are a combination of ray distr.(=qual)
# and total weighted ray length
www.eeworm.com/read/205036/15328882
m collapse.m
function s = collapse(t,dims,fun)
%COLLAPSE Collapse sparse tensor along specified dimensions.
%
% S = COLLAPSE(T,DIMS) sums the entries of T along all dimensions
% specified in DIMS. If DIMS is neg
www.eeworm.com/read/305190/13777276
m khatri.m
function Y = khatri(A,B)
%KHATRI Khatri-Rao product.
%
% KHATRI(X,Y) is the Khatri-Rao product of X and Y. The result is a large
% matrix formed by taking Kronecker tensor products between th
www.eeworm.com/read/403190/2314100
svn-base test_anisotropic_feth.m.svn-base
% test for Fethalah code and Prados code
n = 500;
rep = 'results/anisotropic-feth/';
if not(exist(rep))
mkdir(rep);
end
%% compute random tensor field
randn('seed', 12345);
U = randn(n,n,2);
sig
www.eeworm.com/read/205036/15328821
m end.m
function e = end(X,k,n)
%END Last index of indexing expression for tensor.
%
% The expression X(end,:,:) will call END(X,1,3) to determine
% the value of the first index.
%
% See also TENS
www.eeworm.com/read/205036/15328894
m end.m
function e = end(X,k,n)
%END Last index of indexing expression for sparse tensor.
%
% The expression X(end,:,:) will call END(X,1,3) to determine
% the value of the first index.
%
% See al
www.eeworm.com/read/205036/15328916
m norm.m
function n = norm(T)
%NORM Frobenius norm of a tenmat.
%
% NORM(X) returns the Frobenius norm of a tenmat.
%
% See also TENMAT.
%
%MATLAB Tensor Toolbox.
%Copyright 2007, Sandia Corporation.
% T
www.eeworm.com/read/205036/15328970
m mttkrp.m
function V = mttkrp(X,U,n)
%MTTKRP Matricized tensor times Khatri-Rao product for ttensor.
%
% V = MTTKRP(X,U,n) efficiently calculates the matrix product of the
% n-mode matricization of X with t
www.eeworm.com/read/205036/15328994
m mttkrp.m
function V = mttkrp(X,U,n)
%MTTKRP Matricized tensor times Khatri-Rao product for ktensor.
%
% V = MTTKRP(X,U,n) efficiently calculates the matrix product of the
% n-mode matricization of X wi