Community Profile

# David Terr

### Raytheon

31 total contributions since 2004

I received a Ph.D. in number theory from UC Berkeley in 1997. I also enjoy other areas of math, as well as physics and computer programming. I live in Goleta, CA, near Santa Barbara and work at Raytheon in Goleta.

Contributions in
View by

Submitted

numerical.zip
Archive containing numerical function files.

Submitted

Lucas.m
Given a nonnegative integer n, return the nth Lucas number.

Submitted

rqf.m
Reduce a binary quadratic form, given as a row vector of length 3.

Submitted

qftimes.m
This function composes two quadratic forms.

Submitted

Physics.zip
Archive containing various files pertaining to physics.

Submitted

ClebschGordan.m
ClebschGordan(j1,j2,j,m1,m2,m) is the Clebsch-Gordan coefficient <j1,j2,m1,m2|j1,j2,j,m>.

Submitted

GeneralizedLucas.m
GeneralizedLucas(n,a,b) returns the generalized Lucas number with index n and parameters a and b.

Submitted

GeneralizedFibonacci.m
GeneralizedFibonacci(n,a,b) returns the generalized Fibonacci number.

Submitted

RoundQCF.m
RoundQCF(d,u,v) returns the "round" continued fraction expansion of (u+sqrt(d))/v.

Submitted

harmonic.m
Harmonic(n) is an estimate of the nth harmonic number.

Submitted

fromcfrac.m
Returns the number with the given continued fraction expansion.

Submitted

Pell.m
Pell(d,s,n) returns the first n positive integer solution to the modified Pell's equation x^2-dy^2=+

Submitted

QCF.m
QCF(d,u,v,quiet) returns the continued fraction expansion of (u+sqrt(d))/v.

Submitted

roundcfrac.m
Computes the "round continued fraction" of a given complex number.

Submitted

cfrac.m
cfrax(x,n) returns the first n terms in the contined fraction expansion of x.

Submitted

SpecialFunctions.zip
Special functions archive.

Submitted

Wigner3j.m
Wigner3j(j1,j2,j,m1,m2,m) returns the Wigner 3j-symbol.

Submitted

AssociatedLaguerrePoly.m
This program returns the coefficients of the Associated Laguerre polynomial L_{n,m}, given n and m.

Submitted

LaguerrePoly.m
This program returns the coefficients of the Laguerre polynomial L_n, given n.

Submitted

HermitePoly.m
This program returns the coefficients of the Hermite polynomial H_n, given n.

Submitted

LegendrePoly
This program returns the coefficients of the Legendre polynomial P_n, given n.

Submitted

ChebyshevPoly.m
This program returns the coefficients of the Chebyshev polynomial T_n, given n.

Submitted

partitiontable.m
Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n.

Submitted

Fibonacci.m
Given an integer n, return the nth Fibonacci number.

Submitted

binomial.m
This program computes the binomial coefficient C(n,m).

Submitted

MinkowskiQM.m
Given x from 0 to 1, compute ?(x), where ? is the Minkowski question mark function.

Submitted

ChebyshevExpansion.m
Given a polynomial f(x) expressed as a column vector, compute the coefficients of the expansion ...

Submitted

LegendreExpansion.m
Given a polynomial f(x) expressed as a column vector, compute the coefficients of the expansion ...

Submitted

tau.m
Given a nonnegative integer n, tau(n) is the Ramanujan tau function of n.