JmatrixLMA: Calculate a Jacobian Matrix

Description Usage Arguments Value Author(s) References

View source: R/fitConic.R

Description

Calculate the Jacobian matrix with the original dataset and the current version of fitted data. This is not intended for external use. It is called from fitConic

Usage

1
JmatrixLMA(XY, parA, XYproj)

Arguments

XY

The original input dataset

parA

The current set of ABCDEF quadratic equation coefficients.

XYproj

The current calculated dataset based on the latest iteration of the coefficient set.

Value

Res

residuals based on the norm of XY - XYproj

J

matrix of values for each input data point corresponding to the terms in the general quadratic Ax^2 + Bxy + Cy^2 +Dx + Ey +F

Author(s)

Carl Witthoft <carl@witthoft.com>

References

This is a copy of JmatrixLMA with some validation steps added.


fitConic documentation built on Jan. 12, 2022, 1:06 a.m.