IfNaN
The first parameter is the regular value, the second is the value to use if the regular value is NaN (not a number).
\[
A = \begin{bmatrix}
0 & 2 \\\\
4 & -4
\end{bmatrix},
B = \begin{bmatrix}
2 & 4 \\\\
6 & 8
\end{bmatrix},
C = \begin{bmatrix}
0 \\\\
4
\end{bmatrix},
D = \begin{bmatrix}
0 & 4
\end{bmatrix}
\]
IfNaN(Matrix, Matrix) = Matrix
\[
IfNaN(100 / A, B) = \begin{bmatrix}
2 & 50 \\\\
25 & -25
\end{bmatrix}
\]
IfNaN(Vector,Vector) = Vector
\[
ifNaN(100 / C, C) = \begin{bmatrix}
0 \\\\
25
\end{bmatrix}
\]
\[
ifNaN(100 / D, D) = \begin{bmatrix}
0 & 25
\end{bmatrix}
\]
IfNaN(Scalar, Scalar) = Scalar
\[
IfNaN(0 / 0, 1) = 1
\]