ruptAsMat is an internal function to transform a vector giving the change point to matrix 2 columns matrix in which each line gives the beginning and the end of a segment

ruptAsMat(vectRupt)

Arguments

vectRupt

the vector of change point

Value

the matrix containing the segments