In[]:=
EstimatedArc[l_]:=l//Differences//(e)//Transpose//Total//Sqrt//(eFoldList[Plus,0,e])//eEstimatedArcC=Compile{{l,_Real,2}},l//Differences//(e)//Transpose//Total//Sqrt//(eFoldList[Plus,0,e])//e;EstimatedArcM=Compile[{{l,_Real,2}},EstimatedArc[l]];
2
e
e
e[[-1]]
2
e
e
e[[-1]]
In[]:=
{{0,0},{1.,0},{10.,0}}//EstimatedArc{{0,0},{1.,0},{10.,0}}//EstimatedArcC{{0,0},{1.,0},{10.,0}}//EstimatedArcM
Out[]=
{0.,0.1,1.}
Out[]=
{0.,0.1,1.}
Out[]=
{0.,0.1,1.}
