lines 6-35 of file: python/xam/check_grad_llsq.py {xrst_begin check_grad_llsq.py} Python Check Gradient of Linear Least Squares Objective ####################################################### Syntax ****** | |tab| *ok* = ``check_grad_llsq`` ( *grad_llsq* ) grad_llsq ********* This is a ``float`` :ref:`py_fun_obj-title` . option ****** The domain and range dimensions for the function object are equal to *option* [ ``'n_arg'`` ]; see :ref:`py_fun_obj@option` . ok ** is true (false) if the gradient passes (fails) the test. Source Code {xrst_literal # BEGIN PYTHON # END PYTHON } {xrst_end check_grad_llsq.py}