代码搜索:Tensor
找到约 495 项符合「Tensor」的源代码
代码结果 495
www.eeworm.com/read/237003/13982881
cpp diff.cpp
#include
#include
BZ_USING_NAMESPACE(blitz)
BZ_USING_NAMESPACE(blitz::tensor)
BZ_DECLARE_STENCIL3(deriv14,A,dA,h)
dA = central14n(A) / h;
BZ_END_STENCIL
BZ_DECLARE_STENC
www.eeworm.com/read/237003/13983994
cpp adnene-ben-abdallah-2.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
int main()
{
BZ_USING_NAMESPACE(tensor)
Array X(4), Y1(4), Y2(4);
X = 1, 2, 3, 4;
Array A(4,4)
www.eeworm.com/read/471742/6888644
m ellipso.m
%ellipso.m calculates an ellipsoid's inertia tensor, & mass
%numerically, also plots it in 3d
%Ellipsoid: (x-x0)^2/a^2+(y-y0)^2/b^2+(z-z)^2/c^2=1
%uses Simpson's rule for 3d integration
clear;
a=
www.eeworm.com/read/457727/1594107
c rlftfrag.c
#include "nrutil.h"
#define N2 256
#define N3 256
main() /* example1 */
{
void rlft3();
float ***data, **speq;
data=f3tensor(1,1,1,N2,1,N3);
speq=matrix(1,1,1,2*N2);
rlft3(data,speq
www.eeworm.com/read/191080/5168155
c rlftfrag.c
#include "nrutil.h"
#define N2 256
#define N3 256
main() /* example1 */
{
void rlft3();
float ***data, **speq;
data=f3tensor(1,1,1,N2,1,N3);
speq=matrix(1,1,1,2*N2);
rlft3(data,speq