R/SAALS.R

Defines functions SAALS

Documented in SAALS

#' Apply the steepest descent algorithm 
#'  
#' @keywords internal  
#'
#' @param Ft xx
#' @param min.value   xx
#' @param max.value   xx
#' @param place   xx
#' @param S  xx
#' @param cm   xx
#' @param num.loops xx
#'
#' @return
#'
#' @examples


SAALS <- function(Ft, min.value, max.value, place, S, cm, num.loops){
  g <- Steepest_Descent(Ft, place, S, cm, num.loops)
  err <- g[[2]]
  g <- g[[1]]
  #if (length(d) >0){
  #  g <- Ft
  #}
  return(list(g,err))
}

Try the phytoclass package in your browser

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

phytoclass documentation built on April 4, 2025, 4:02 a.m.