Function: math-nlfit-set-elt

math-nlfit-set-elt is a byte-compiled function defined in calc-nlfit.el.gz.

Signature

(math-nlfit-set-elt VEC I X)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-nlfit.el.gz
;; Next, we need some functions for dealing with vectors and
;; matrices.  For convenience, we'll work with Emacs lists
;; as vectors, rather than Calc's vectors.

(defun math-nlfit-set-elt (vec i x)
  (setcar (nthcdr (1- i) vec) x))