Hi.
I have following problem:

In some calculations I use an interpolation such like this:

li=Interpolation[{{0,0},{1,1},{2,2},{3,3},{4,4},{5,5},{6,6},{7,5},{ 8,4},{9,3},{10,2},{11,1},{12,0}},PeriodicInterpola tion->True,InterpolationOrder->1]

I use it to simplify results of matrix operations, for example Kronecker Product of matrices like this


 <br />
A=\left(<br />
\begin{array}{cc}<br />
2 & 5 \\<br />
0 & 3<br />
\end{array}<br />
\right)<br /> <br /> <br />
B=\left(<br />
\begin{array}{cc}<br />
4 & 6 \\<br />
3 & 1<br />
\end{array}<br />
\right)<br />


is "Kab = KroneckerProduct[A, B]":

 <br /> <br />
\left(<br />
\begin{array}{cccc}<br />
8 & 12 & 20 & 30 \\<br />
6 & 2 & 15 & 5 \\<br />
0 & 0 & 12 & 18 \\<br />
0 & 0 & 9 & 3<br />
\end{array}<br />
\right)<br />

but I prefer to simplify it with interpolating function shown above to "[li[Kab]]"

 <br />
\left(<br />
\begin{array}{cccc}<br />
4 & 0 & 4 & 6 \\<br />
6 & 2 & 3 & 5 \\<br />
0 & 0 & 0 & 6 \\<br />
0 & 0 & 3 & 3<br />
\end{array}<br />
\right)<br />

So, the problem appears when I try to use matrices like this:

 <br />
A=\left(<br />
\begin{array}{cc}<br />
2 & 5 \\<br />
0 & i<br />
\end{array}<br />
\right)<br />

The result is as follows:

 <br />
\left(<br />
\begin{array}{cccc}<br />
4 & 0 & 4 & 6 \\<br />
6 & 2 & 3 & 5 \\<br />
0 & 0 & \text{InterpolatingFunction}[\{\{0,12\}\},<>][4 i] & \text{InterpolatingFunction}[\{\{0,12\}\},<>][6 i] \\<br />
0 & 0 & \text{InterpolatingFunction}[\{\{0,12\}\},<>][3 i] & \text{InterpolatingFunction}[\{\{0,12\}\},<>][i]<br />
\end{array}<br />
\right) <br />

Is there a possibility to change a way of interpretation of symbol "I"? So, to obtain a result without information "InterpolatingFunction", etc...:

And so, could I change it for all symbols, like "x", "a", etc.?

Thanks for all help.