When I enter an indexed symbol into a ChebyshevT function with integer arithmetic like this:
ChebyshevT[1, 3 * a[4]]
I get the expected result:
3 a[4]
But when I use floating point arithmetic within it:
ChebyshevT[1, 3. * a[4]]
I quite surprisingly get:
3. a[4.]
instead of expected:
3. a[4]
what's happening there? Why did the index inside the symbol change at all?? This is not happening with other mathematical fuctions like Sin, Cos, etc.
Thank you in advance for your help, regards,
ChebyshevT
,ChebyshevU
,Gamma
,LegendreP
,HermiteH
,GegenbauerC
... but not inJacobiSN
,BesselJ
,ExpIntegralE
... Perhaps you should report it to Wolfram Technical Support. $\endgroup$SetAttributes[a, NHoldAll]
. $\endgroup$BesselJ[1/2, 3.*a[4]]
. $\endgroup$