In the documentations for scipy.optimize.root with method = lm
the following are the default for options
keyword.
options={'col_deriv': 0, 'diag': None, 'factor': 100, 'gtol': 0.0, 'eps': 0.0, 'func': None, 'maxiter': 0, 'xtol': 1.49012e-08, 'ftol': 1.49012e-08}
On the description for col_deriv
they say that
col_deriv : bool, optional
non-zero to specify that the Jacobian function computes derivatives down the columns (faster, because there is no transpose operation)
If I understand the statement it says that if I write col_deriv = True
for example, the jacobian
will be computed column wise and therefore faster.
Question: If it is faster, why isn't a non zero value for col_deriv
the default value?.
Am I missing something here?.