def _forward_mode(self, *args):
        """Forward mode differentiation for a constant"""
        # Return the bound value and a derivative of zero regardless of the argumetns passed
        val: float = self.a
        diff: float = 0.0
        return (val, diff)
def _forward_mode ( self , * args ) : val : float = self . a diff : float = 0.0 return ( val , diff )
Forward mode differentiation for a constant