R/Gradient_Linear_combination.R

Defines functions Gradient_Linear_combination

#' Gradient: Linear combination function
#'
#' This function evaluates gradients of the linear combination function \deqn{f(x_1,x_2,\ldots,x_k)=\sum_{i=1}^kc_ix_{i}.}
#'
#' @param parameter The value of the parameters \eqn{x_1,x_2,\ldots,x_k}.
#' @param coefficient The value of the coefficients \eqn{c_1,c_2,\ldots,c_k}.
#'
#' @return
#' Gradients of the linear combination function.
#'
#' @keywords internal
#' @noRd
Gradient_Linear_combination<-function(parameter,coefficient)
{
  return(coefficient)
}

Try the MMAD package in your browser

Any scripts or data that you put into this service are public.

MMAD documentation built on March 12, 2026, 5:07 p.m.