This patch updates the documentation for ScalarTraits by adding the missing context parameter to the output and input method.