Code covered by the BSD License
-
BLspline_install
function BLspline_install
-
DP=polyderiv(P, ivar)
function DP=polyderiv(P, ivar);
-
P=scalefun(P, S)
-
bsxarg(A,B)
bsxarg does singleton expansion of two input arrays (related to bsxfun)
-
bsxfun2006(fun,A,B)
bsxfun20062006 does binary operation with singleton expansion (uses bsxarg)
-
dim=getdim(s)
-
evalder(funstruct, ivar, vara...
-
evalfct(funstruct, varargin)
-
getmexopts(Tag)
function res = getmexopts(Tag)
-
idx=find_idx(xi, xgrid, optio...
function idx=find_idx(xi, xgrid)
-
isgrid(varargin)
-
pp=spline2pp(sp)
function pp=spline2pp(sp);
-
s=testderivative
function s=testderivative
-
spline1d(x,z,xi,action,option...
-
splineinfo(s, varargin)
-
splineinfo_nocheck(s, varargi...
-
splinend(n, varargin)
Complete argument lists:
-
testspline
function testspline
-
value=getoption(options, fiel...
function value=getoption(options, field, defaultvalue);
-
varargout=duplicate(varargin)
-
findidxmex.m
-
View all files
from
Spline derivative
by Bruno Luong
Compute spline function and its derivative
|
| BLspline_install
|
function BLspline_install
% function BLspline_install
% Installation by building the C-mex files for BLSpline package
%
% Author Bruno Luong <brunoluong@yahoo.com>
% Last update: 11-Aug-2009
arch=computer('arch');
mexopts = {'-v' '-O' ['-' arch]};
% 64-bit platform
if ~isempty(strfind(computer(),'64'))
mexopts(end+1) = {'-largeArrayDims'};
end
if ispc()
compiler = getmexopts('COMPILER');
islcc = strcmpi(compiler,'lcc');
% Define the C-symbol for LCC compiler
if islcc
mexopts(end+1) = {'-D_LCC'};
end
end
% Mex Mex functions
mex(mexopts{:},'findidxmex.c');
bsxfunloc = which('bsxfun');
if isempty(strfind(bsxfunloc,'built-in'))
mex(mexopts{:},'bsxarg.c');
end
|
|
Contact us at files@mathworks.com