R/cdm_pem_algorithm_compute_Pnew.R

Defines functions cdm_pem_algorithm_compute_Pnew

## File Name: cdm_pem_algorithm_compute_Pnew.R
## File Version: 0.01

cdm_pem_algorithm_compute_Pnew <- function( tt, P0, P1, P2)
{
    Pnew <- (1-tt)^2 * P0 + 2*tt*(1-tt)*P1 + tt^2 * P2
    return(Pnew)
}

Try the CDM package in your browser

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

CDM documentation built on Aug. 25, 2022, 5:08 p.m.