function [y] = rjtpSpline(mu,x); % PURPOSE : Gaussian basis function. % INPUTS : - mu: The basis centre. % - x: The ev…
Euclidean+distance 源代码
汇集 Euclidean+distance 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function [y] = rjGaussian(mu,x); % PURPOSE : Gaussian basis function. % INPUTS : - mu: The basis centre. % - x: The ev…
function [y] = rjMultiquadric(mu,x); % PURPOSE : Multiquadric basis function. % INPUTS : - mu: The basis centre. % - x:…
function y = invmodn( b,n); % This function calculates the inverse of an element b mod n % It uses the extended euclidean algorith…
% function s = simeucl(a,b) % % DESCRIPTION % computes Euclidean based similarity between row objects in matrices a and b % …
% function s = simeucl(a,b) % % DESCRIPTION % computes Euclidean based similarity between row objects in matrices a and b % …
function [R, dmax]= similarity_euclid(data) % input: data --- observations x dimensions % output: R --- nrow * nrow matrix wi…
function g = gcdint1(b,c) % % Compute (only) the GCD (a,b) using the Euclidean algorithm % % function g = gcdint1(b,c) % % …
// test the erasure decoder F := FiniteField(16); R := PolynomialRing(F); Gamma := (1-a^6*x)*(1-a^7*x); t := 3; f := 2; j1 := 7;…
int gcd(int a, int b) /* A simple example of the Euclidean algorithm: */ /* Compute g = (a,b), where a>0 and b>0 */ /* (A better f…