代码搜索:Tensor
找到约 495 项符合「Tensor」的源代码
代码结果 495
www.eeworm.com/read/279403/10440259
gmt raydens_latsec.gmt
#!/bin/csh
#
# script to plot ray-density tensor distribution
# in depth sections along constant latitude
#
# 3 sections on 1 page
#
# using output files from tomo2gmt
# for classified plotting
#
#
www.eeworm.com/read/212245/15161373
hxx as_matrix.hxx
// Header for matrix.
// This class stands for a 3x3 Euclidean affine transformation.
// Note that it is NOT a tensor.
#if !defined( MATRIX_CLASS )
#define MATRIX_CLASS
#include "as_vector.hxx"
www.eeworm.com/read/303435/3811304
main hti2stiff.par.main
HTI2STIFF - convert HTI parameters alpha, beta, d(V), e(V), gamma
into stiffness tensor
hti2stiff [optional parameter] (output is to outpar)
Optional Parameters
alpha=2
www.eeworm.com/read/471742/6888650
m det_soln2_2d.m
%det_soln2_2d.m - for a 2 dimensional solid
%numerically finds roots of a matrix determinant as well as
%eigenvectors, eigenvalues of the rectangle's inertia tensor
clear; format compact;
a=1;b=1;
www.eeworm.com/read/237293/13969768
gmt raydens_latsec.gmt
#!/bin/csh
#
# script to plot ray-density tensor distribution
# in depth sections along constant latitude
#
# 3 sections on 1 page
#
# using output files from tomo2gmt
# for classified plotting
#
#
www.eeworm.com/read/205036/15328783
m plus.m
function Z = plus(X,Y)
%PLUS Binary addition (+) for tensors.
%
% PLUS(A,B) is called for the syntax 'A + B' when A or B is a tensor. A
% and B must have the same size, unless one is a scalar. A
www.eeworm.com/read/205036/15328808
m collapse.m
function Y = collapse(X,dims,fun)
%COLLAPSE Collapse tensor along specified dimensions.
%
% Y = COLLAPSE(X,DIMS) sums the entries of X along all dimensions
% specified in DIMS. If DIMS is nega
www.eeworm.com/read/205036/15328822
m rdivide.m
function Z = rdivide(X,Y)
%RDIVIDE Right array divide for tensors.
%
% RDIVIDE(A,B) is called for the syntax 'A ./ B' when A or B is a tensor.
% A and B must have the same size, unless one is a sc
www.eeworm.com/read/205036/15328825
m find.m
function [subs,vals] = find(t)
%FIND Find subscripts of nonzero elements in a tensor.
%
% S = FIND(X) returns the subscripts of the nonzero values in X.
%
% [S,V] = FIND(X) also returns the v
www.eeworm.com/read/205036/15328846
m size.m
function siz = size(a,idx)
%SIZE Return size of sptenmat.
%
% D = SIZE(T) returns the size of the tensor.
%
% I = size(T,DIM) returns the sizes of the dimensions specified by DIM.
%
% See al