`R/segTraj_Gmean_simultanee.R`

`Gmean_simultanee.Rd`

Gmean_simultanee calculates the cost matrix for a segmentation model with changes in the mean and variance for all signals

`Gmean_simultanee(Don, lmin, sameVar = FALSE)`

- Don
the bivariate signal

- lmin
minimum size for a segment, default value is 2

- sameVar
whether variance is the same for each segment.

the cost matrix G(i,j) which contains the variance of the data between point (i+1) to point j