代码搜索:recursive

找到约 2,177 项符合「recursive」的源代码

代码结果 2,177
www.eeworm.com/read/157453/11703445

cpp dknap.cpp

// dynamic programming knapsack // non-recursive version #include #include // contains max and min functions #include "make2db.h" template void Knapsack(T
www.eeworm.com/read/157453/11703602

cpp dmult.cpp

// dynamic programming matrix multiplication chain // non-recursive solution #include #include "make2db.h" void MatrixChain(int r[], int q, int **c, int **kay) {// Compute costs
www.eeworm.com/read/259580/11779834

cpp hanoirecursive.cpp

// Recursive Towers of Hanoi #include using namespace std; void towersOfHanoi(int n, int x, int y, int z) {// Move the top n disks from tower x to tower y. // Use tower z for in
www.eeworm.com/read/258562/11854846

f90 ex0831.f90

program ex0831 implicit none integer :: n write(*,*) 'N=' read(*,*) n write(*, "(I2,'! = ',I8)" ) n, fact(n) stop contains recursive integer function fact(n) result(ans)
www.eeworm.com/read/258562/11854969

f90 ex0829.f90

program ex0829 implicit none integer :: n integer, external :: fact write(*,*) 'N=' read(*,*) n write(*, "(I2,'! = ',I8)" ) n, fact(n) stop end recursive integer function fac
www.eeworm.com/read/255284/12090492

m threshold.m

function [pfa, vt] = threshold (nfa, np) % This function calculates the threshold value from nfa and np. % The newton-Raphson recursive formula is used (Eq.s (2-63) through (2-66)) % This function
www.eeworm.com/read/341031/12112395

m rsc_encode.m

function y = rsc_encode(g, x, terminated) % Copyright Nov. 1998 Yufei Wu % MPRG lab, Virginia Tech. % for academic use only % encodes a block of data x (0/1)with a recursive systematic % convolutiona
www.eeworm.com/read/341031/12112418

m rsc_encode.m

function y = rsc_encode(g, x, terminated) % Copyright Nov. 1998 Yufei Wu % MPRG lab, Virginia Tech. % for academic use only % encodes a block of data x (0/1)with a recursive systematic % convolutiona
www.eeworm.com/read/151960/12158487

m rsc_encode.m

function y = rsc_encode(g, x, terminated) % Copyright Nov. 1998 Yufei Wu % MPRG lab, Virginia Tech. % for academic use only % encodes a block of data x (0/1)with a recursive systematic % convolutiona
www.eeworm.com/read/132141/14107212

cpp dmult.cpp

// dynamic programming matrix multiplication chain // non-recursive solution #include #include "make2db.h" void MatrixChain(int r[], int q, int **c, int **kay) {// Compute costs