Code covered by the BSD License
-
TESTING_csf.m
-
TESTING_ex.m
-
[argStr,status]=getarg(n,argS...
replicates getarg in fortran
-
[changedflag,funstr,argDelin]...
declare_globals
-
[changedflag,funstr]=fixNotOp...
'ssssssssssss',funstr{i},kb
-
[filestr,numErrors,extraFunct...
f2matlab(filename)
-
[filestr,numErrors,extraFunct...
f2matlab(filename)
-
[fn_val,xvalue]=alngam(xvalue...
-
[funstr,fortranfunwords,outfl...
This will change the Matlab function to its Fortran equivalent syntax.
-
[funstr,funstrwords,funstrwor...
-
[funstr,funstrwords,funstrwor...
-
[groups,topCommas]=getTopGrou...
'dddddddddddd11',str,keyboard
-
[howmany,s1,centercomma,paren...
if strcmp(funstrwords{i}{whichword},'character')
-
[linOut,wordOut]=findNextWord...
'9999999999999',out,funstr{linenum},keyboard
-
[localVar,originalLocaVar]=ad...
localVar
-
[localVar,thisLV]=insertLocal...
inserts a localVar
-
[m,n,x,pm,pd]=lpmns(m,n,x,pm,...
-
[m,n,x,qm,qd]=lqmns(m,n,x,qm,...
-
[out,howmany,subscripts,cente...
for j=1:howmany
-
[out,outLine,j]=varType(i,j,f...
'ccccccccc',kb
-
[out,outbefore,outafter]=getT...
'ttttt1',temp,keyboard
-
[out,typeDefs]=buildTypeDefLi...
this doesn't handle non-1 indexing (see varp)
-
[out,whichWord]=getLocalVarTy...
-
[out]=output_acceptable(i,whi...
make sure the first thing in the subsscript is a word
-
[outflag,howmany,subscripts,c...
this doesn't parse matlab correctly because of the transpose single quote.
-
[outflag,howmany,subscripts,c...
This is to find the components [var1,var2,etc]
-
[outflag,howmany,subscripts,c...
-
[outflag,whichword,whichsub,h...
'fgfgfggggggggg',kb
-
[pm,pd]=lpmns(m,n,x,outsize)
-
[s,fs_good]=updatefunstr_1lin...
-
[strOut,groups]=fixDataGroups...
'00000000000',groups,kb
-
[sublist,funstr,funstrnumbers...
if linenum is empty, then find sublist for the entire funstr
-
[x1,x2,x,w,n]=dgauleg(x1,x2,x...
-
[xi,eta,phi,m,n,lambda,h0,an,...
-
bayes
-
casePML=caseProtectedML
these are the function in general, elmat, and elfun under toolbox matlab
-
casePML=getCaseProtectedML
these are the function in general, elmat, and elfun under toolbox matlab
-
dd(varargin)
common tsterr,same;
-
dispback(str)
DISPBACK - Displays a string then backspaces to the beginning of the string.
-
f2mWarning(str,funstr,nLine,l...
-
femprb(varargin)
-
funstr=fixMultiStatementLines...
find top level semicolons with something after them and divide the line
-
funstr=replaceword(i,j,funstr...
-
funwords=getfunwordsonly
-
funwords=getfunwordsonlyML
-
implicit=implicitParse(implic...
can't do implicit for types yet
-
implicit=implicitRules
-
isInteger(i,range,funstr,funs...
what words and numbers are on the same level as loc?
-
localVar=remLocalVar(localVar...
removes a localVar unless protected
-
main(varargin)
-
main(varargin)
-
mcpbdn(varargin)
From the book 'Computation of Special Functions.'
-
out=aftercomment(funstr,row,c...
-
out=breakOffFirstFormat(in)
either a string is first, or a number is first
-
out=empt0(in)
converts empty to 0, otherwise leaves
-
out=findNext(loc,str,funstr,d...
returns -1 if can't find what you ask
-
out=findend_f(linenum,s,funst...
'9999999999999',out,funstr{linenum},keyboard
-
out=findlefts_f(locs,str)
-
out=findrights_f(locs,str,ign...
-
out=getExtraFunctions(extraFu...
-
out=getVarSpecs(varName,local...
-
out=inaDQstring_f(str,loc)
temp2=inastring_f(str,ftemp);
-
out=inastring2_f(str,loc)
-
out=inastring_f(str,loc)
this doesn't parse matlab correctly because of the transpose single quote.
-
out=incomment(str,locs)
-
out=iskeep_f(str)
-
out=isnameletter(str)
-
out=isnumber(str)
-
out=lastNonSpace(str,locs)
finds the last non space location before loc(s)
-
out=maxloc(x,dim)
function out=maxloc(x,dim)
-
out=nextNonSpace(str,locs)
finds the next non space location after loc(s)
-
out=strrel(in1,in2,relop)
function out=strrel(in1,in2,relop)
-
out=validSpot(str,loc)
-
out=varInUsedMods(word,modLoc...
-
out=writef(fid,varargin)
function out=writef(fid,varargin)
-
out=zeroVarDec(funstr,i,temp2...
if ischar(localVar{temp6,2})
-
showall(funstr,indented)
-
str=fix_concats(str,loc,funst...
Find entity (string delimitied with ' ', variable, or bracketed expression.
-
stroud_prb(varargin)
-
varargout=readf(fid,fmtStr,n)
function varargout=readf(fid,varargin), Catches string fid's
-
ztest
-
ztest1(vect1, vect2)
-
zztest
-
zztest(varargin)
compile with intel fortran
-
addGetArg.m
-
addreadf.m
-
addwritef.m
-
assignSwitches.m
-
convertWrite.m
-
fixEndType.m
-
fixLabeledDoLoops.m
-
fixScalarCalls.m
-
keepSomeCases.m
-
module_adj.m
-
protectSomeStrings.m
-
setUpLocalVar.m
-
takeCareOfIncludeFiles.m
-
takeCareOfIncludeFiles2.m
-
takeCareOfTypes.m
-
w.m
-
zz_clean.m
-
zz_convert.m
-
View all files
from
f2matlab
by Ben Barrowes
Converts basic fortran90 source code to MATLAB source code.
|
| funwords=getfunwordsonly |
function funwords=getfunwordsonly
funwords=cell(315,1);
funwords{1}='abs';
funwords{2}='iabs';
funwords{3}='jiabs';
funwords{4}='habs';
funwords{5}='iiabs';
funwords{6}='babs1';
funwords{7}='dabs';
funwords{8}='cabs';
funwords{9}='zabs';
funwords{10}='cdabs';
funwords{11}='qabs';
funwords{12}='achar';
funwords{13}='acos';
funwords{14}='dacos';
funwords{15}='qacos';
funwords{16}='acosd';
funwords{17}='dacosd';
funwords{18}='qacosd';
funwords{19}='adjustl';
funwords{20}='adjustr';
funwords{21}='acosh';
funwords{22}='dacosh';
funwords{23}='qacosh';
funwords{24}='imag';
funwords{25}='aimag';
funwords{26}='dimag';
funwords{27}='qimag';
funwords{28}='aint';
funwords{29}='dint';
funwords{30}='ddint';
funwords{31}='qint';
funwords{32}='all';
funwords{33}='allocated';
funwords{34}='anint';
funwords{35}='dnint';
funwords{36}='qnint';
funwords{37}='any';
funwords{38}='asin';
funwords{39}='dasin';
funwords{40}='qasin';
funwords{41}='asinh';
funwords{42}='dasinh';
funwords{43}='qasinh';
funwords{44}='asind';
funwords{45}='dasind';
funwords{46}='qasind';
funwords{47}='asm';
funwords{48}='associated';
funwords{49}='atan';
funwords{50}='datan';
funwords{51}='qatan';
funwords{52}='atand';
funwords{53}='datand';
funwords{54}='qatand';
funwords{55}='atanh';
funwords{56}='datanh';
funwords{57}='qatanh';
funwords{58}='atan2';
funwords{59}='datan2';
funwords{60}='qatan2';
funwords{61}='atan2d';
funwords{62}='datan2d';
funwords{63}='qatan2d';
funwords{64}='bit';
funwords{65}='btest';
funwords{66}='ceiling';
funwords{67}='char';
funwords{68}='cmplx';
funwords{69}='conjg';
funwords{70}='dconjg';
funwords{71}='cos';
funwords{72}='dcos';
funwords{73}='ccos';
funwords{74}='zcos';
funwords{75}='cdcos';
funwords{76}='qcos';
funwords{77}='cosd';
funwords{78}='dcosd';
funwords{79}='qcosd';
funwords{80}='cosh';
funwords{81}='dcosh';
funwords{82}='qcosh';
funwords{83}='cotan';
funwords{84}='dcotan';
funwords{85}='qcotan';
funwords{86}='cotand';
funwords{87}='dcotand';
funwords{88}='qcotand';
funwords{89}='count';
funwords{90}='cpu_time';
funwords{91}='cshift';
funwords{92}='date';
funwords{93}='dble';
funwords{94}='dcmplx';
funwords{95}='dfloat';
funwords{96}='digits';
funwords{97}='dim';
funwords{98}='idim';
funwords{99}='jidim';
funwords{100}='hdim';
funwords{101}='iidim';
funwords{102}='bdim1';
funwords{103}='ddim';
funwords{104}='qdim';
funwords{105}='dot_product';
funwords{106}='dprod';
funwords{107}='qprod';
funwords{108}='eof';
funwords{109}='eoshift';
funwords{110}='epsilon';
funwords{111}='errsns';
funwords{112}='exit';
funwords{113}='exp';
funwords{114}='dexp';
funwords{115}='cexp';
funwords{116}='zexp';
funwords{117}='cdexp';
funwords{118}='qexp';
funwords{119}='exponent';
funwords{120}='floor';
funwords{121}='fp_class';
funwords{122}='fraction';
funwords{123}='free';
funwords{124}='huge';
funwords{125}='ichar';
funwords{126}='iachar';
funwords{127}='iand';
funwords{128}='iargcount';
funwords{129}='iargptr';
funwords{130}='ibchng';
funwords{131}='ibclr';
funwords{132}='ibits';
funwords{133}='ibset';
funwords{134}='idate';
funwords{135}='ieor';
funwords{136}='ilen';
funwords{137}='index';
funwords{138}='int';
funwords{139}='ior';
funwords{140}='isha';
funwords{141}='ishc';
funwords{142}='ishft';
funwords{143}='ishftc';
funwords{144}='ishl';
funwords{145}='isnan';
funwords{146}='kind';
funwords{147}='lbound';
funwords{148}='leadz';
funwords{149}='len';
funwords{150}='lge';
funwords{151}='lgt';
funwords{152}='lle';
funwords{153}='llt';
funwords{154}='loc';
funwords{155}='log';
funwords{156}='alog';
funwords{157}='dlog';
funwords{158}='clog';
funwords{159}='zlog';
funwords{160}='cdlog';
funwords{161}='qlog';
funwords{162}='log10';
funwords{163}='alog10';
funwords{164}='dlog10';
funwords{165}='qlog10';
funwords{166}='logical';
funwords{167}='malloc';
funwords{168}='matmul';
funwords{169}='max';
funwords{170}='max0';
funwords{171}='imax0';
funwords{172}='jmax0';
funwords{173}='amax1';
funwords{174}='dmax1';
funwords{175}='amax0';
funwords{176}='aimax0';
funwords{177}='ajmax0';
funwords{178}='max1';
funwords{179}='imax1';
funwords{180}='jmax1';
funwords{181}='qmax1';
funwords{182}='maxexponent';
funwords{183}='maxloc';
funwords{184}='maxval';
funwords{185}='merge';
funwords{186}='min';
funwords{187}='min0';
funwords{188}='imin0';
funwords{189}='jmin0';
funwords{190}='amin1';
funwords{191}='dmin1';
funwords{192}='amin0';
funwords{193}='aimin0';
funwords{194}='ajmin0';
funwords{195}='min1';
funwords{196}='imin1';
funwords{197}='jmin1';
funwords{198}='qmin1';
funwords{199}='minexponent';
funwords{200}='minloc';
funwords{201}='minval';
funwords{202}='mod';
funwords{203}='jmod';
funwords{204}='hmod';
funwords{205}='imod';
funwords{206}='bmod1';
funwords{207}='amod';
funwords{208}='dmod';
funwords{209}='qmod';
funwords{210}='modulo';
funwords{211}='mult';
funwords{212}='mvbits';
funwords{213}='nearest';
funwords{214}='nint';
funwords{215}='inint';
funwords{216}='jnint';
funwords{217}='idnint';
funwords{218}='iidnnt';
funwords{219}='jidnnt';
funwords{220}='iqnint';
funwords{221}='iiqnnt';
funwords{222}='jiqnnt';
funwords{223}='not';
funwords{224}='null';
funwords{225}='number';
funwords{226}='nworkers';
funwords{227}='pack';
funwords{228}='popcnt';
funwords{229}='poppar';
funwords{230}='precision';
funwords{231}='present';
funwords{232}='processors';
funwords{233}='product';
funwords{234}='qcmplx';
funwords{235}='qext';
funwords{236}='qfloat';
funwords{237}='radix';
funwords{238}='ran';
funwords{239}='random';
funwords{240}='random';
funwords{241}='randu';
funwords{242}='range';
funwords{243}='real';
funwords{244}='dreal';
funwords{245}='qreal';
funwords{246}='repeat';
funwords{247}='reshape';
funwords{248}='rrspacing';
funwords{249}='scale';
funwords{250}='scan';
funwords{251}='secnds';
funwords{252}='selected';
funwords{253}='selected';
funwords{254}='set';
funwords{255}='shape';
funwords{256}='sign';
funwords{257}='sin';
funwords{258}='dsin';
funwords{259}='csin';
funwords{260}='zsin';
funwords{261}='cdsin';
funwords{262}='qsin';
funwords{263}='sind';
funwords{264}='dsind';
funwords{265}='qsind';
funwords{266}='sinh';
funwords{267}='dsinh';
funwords{268}='qsinh';
funwords{269}='size';
funwords{270}='sizeof';
funwords{271}='spacing';
funwords{272}='spread';
funwords{273}='sqrt';
funwords{274}='dsqrt';
funwords{275}='csqrt';
funwords{276}='zsqrt';
funwords{277}='cdsqrt';
funwords{278}='qsqrt';
funwords{279}='sum';
funwords{280}='system';
funwords{281}='tan';
funwords{282}='dtan';
funwords{283}='ctan';
funwords{284}='ztan';
funwords{285}='qtan';
funwords{286}='tand';
funwords{287}='dtand';
funwords{288}='qtand';
funwords{289}='tanh';
funwords{290}='dtanh';
funwords{291}='qtanh';
funwords{292}='time';
funwords{293}='tiny';
funwords{294}='trailz';
funwords{295}='transfer';
funwords{296}='transpose';
funwords{297}='trim';
funwords{298}='ubound';
funwords{299}='unpack';
funwords{300}='verify';
funwords{301}='zext';
funwords{302}='isign';
funwords{303}='jisign';
funwords{304}='hsign';
funwords{305}='iisign';
funwords{306}='bsign1';
funwords{307}='sign';
funwords{308}='dsign';
funwords{309}='qsign';
funwords{310}='date_and_time';
funwords{311}='format';
funwords{312}='write';
funwords{313}='print';
funwords{314}='random_seed';
funwords{315}='random_number';
funwords{316}='open';
funwords{317}='allocate';
funwords{318}='false';
funwords{319}='true';
funwords{320}='inquire';
funwords{321}='deallocate';
|
|
Contact us at files@mathworks.com