代码搜索:Tensor
找到约 495 项符合「Tensor」的源代码
代码结果 495
www.eeworm.com/read/377584/2698885
cpp test_idx.cpp
#include "test_Idx.h"
#include "Generators.h"
#include "Idx.h"
#include "IdxIterators.h"
#include
using namespace ebl;
void test_printElems(){
// A 4-dimensional tensor
Idx te
www.eeworm.com/read/377584/2699031
cpp test_idx.cpp
#include "test_Idx.h"
#include "Generators.h"
#include "Idx.h"
#include "IdxIterators.h"
#include
using namespace ebl;
void test_printElems(){
// A 4-dimensional tensor
Idx te
www.eeworm.com/read/473001/6854034
cpp constarray.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
BZ_USING_NAMESPACE(blitz::tensor);
// Test that subarrays may be taken of const arrays.
void foo(const Array
www.eeworm.com/read/237003/13983983
cpp constarray.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
BZ_USING_NAMESPACE(blitz::tensor)
// Test that subarrays may be taken of const arrays.
void foo(const Array& A)
{
www.eeworm.com/read/205036/15328786
m nvecs.m
function u = nvecs(X,n,r,opts)
%NVECS Compute the leading mode-n vectors for a tensor.
%
% U = NVECS(X,n,r) computes the r leading eigenvalues of Xn*Xn'
% (where Xn is the mode-n matricization
www.eeworm.com/read/205036/15328849
m parafac_als.m
function [P,Uinit] = parafac_als(X,R,opts)
%PARAFAC_ALS Compute a PARAFAC decomposition of any type of tensor.
%
% P = PARAFAC_ALS(X,R) computes an estimate of the best rank-R
% PARAFAC model of a
www.eeworm.com/read/492033/6430417
cpp geoelast.cpp
#include "geoelast.h"
#include "matrix.h"
#include "vector.h"
#include "global.h"
#include "intpoints.h"
#include "vecttens.h"
#include "tensor.h"
geoelastmat::geoelastmat (void)
{
keu = 0.0;
}
geo
www.eeworm.com/read/349569/3143367
py elementtensor.py
"Element tensor class for quadrature representation"
__author__ = "Kristian B. Oelgaard (k.b.oelgaard@tudelft.nl)"
__date__ = "2007-03-16 -- 2007-06-19"
__copyright__ = "Copyright (C) 2007 Kristian B
www.eeworm.com/read/366702/2868701
c friend36.c
// PR c++/22139
// { dg-options "--param ggc-min-expand=0 --param ggc-min-heapsize=0" }
template class Tensor;
template struct SymmetricTensor {
Symmet
www.eeworm.com/read/473001/6854061
cpp reindex.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
int main()
{
BZ_USING_NAMESPACE(blitz::tensor);
Array A(3,3);
A = i*3 + j;
// 0, 1, 2