代码搜索:Tensor
找到约 495 项符合「Tensor」的源代码
代码结果 495
www.eeworm.com/read/205036/15328860
m nvecs.m
function u = nvecs(t,n,r,opts)
%NVECS Compute the leading mode-n vectors for a sparse tensor.
%
% U = NVECS(X,n,r) computes the r leading eigenvalues of Xn*Xn'
% (where Xn is the mode-n matricizat
www.eeworm.com/read/393797/7067993
m tensorlge.m
function [U, V, eigvalue_U, eigvalue_V, posIdx, Y] = TensorLGE(X, W, D, options)
% TensorLGE: Tensor-based Linear Graph Embedding
%
% [U, V, eigvalue_U, eigvalue_V, posIdx] = TensorLGE(X, W)
www.eeworm.com/read/473001/6854032
cpp wei-ku-1.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
int main()
{
BZ_USING_NAMESPACE(blitz::tensor);
Range all = Range::all();
{
Array A(6,5,4,3,2);
www.eeworm.com/read/205036/15328886
m subsasgn.m
function t = subsasgn(t,s,rhs)
%SUBSASGN Subscripted assignment for sparse tensor.
%
% We can assign elements to a sptensor in three ways.
%
% Case 1: X(R1,R2,...,RN) = Y, in which case we replace
www.eeworm.com/read/205036/15328968
m ttm.m
function X = ttm(X,V,varargin)
%TTM Tensor times matrix for ttensor.
%
% Y = TTM(X,A,N) computes the n-mode product of the ttensor X with a
% matrix A; i.e., X x_N A. The integer N specifies
www.eeworm.com/read/205036/15328992
m ttm.m
function X = ttm(X,V,varargin)
%TTM Tensor times matrix for ktensor.
%
% Y = TTM(X,A,N) computes the n-mode product of the ktensor X with a
% matrix A; i.e., X x_N A. The integer N specifies
www.eeworm.com/read/489040/6481868
m compute_ball_tf.m
function T = compute_ball_tf(N,n,sigma,c,p)
% compute_ball_tf - compute the voting kernel of a ball tensor.
%
% T = compute_ball_tf(N,n,sigma,c,p);
%
% 'N' is the total size of the image (s
www.eeworm.com/read/222350/14695246
todo
Add more example files: more 3d crystals, strip waveguide, ...
Export/import DXF, VRML, POV, ...? Import full epsilon tensor from a file.
Make mpb-data pick default -n when -r is used.
More eigens
www.eeworm.com/read/473001/6853677
cpp stencil3.cpp
#include
#include
BZ_USING_NAMESPACE(blitz)
BZ_USING_NAMESPACE(blitz::tensor)
typedef Array Array2D;
int main()
{
// We'll work on
www.eeworm.com/read/473001/6854028
cpp minsumpow.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
BZ_USING_NAMESPACE(blitz::tensor)
int main()
{
Array A(4,4);
Array B(4), C(4);
A = 0