unscale: Function which unscale un matrix or a vector

Description Usage Arguments Value Examples

Description

Function which unscale un matrix or a vector

Usage

1
unscale(M, binf, bsup, diag = FALSE, sym = FALSE)

Arguments

M

the matrix or the vector

binf

the lower bound

bsup

the upper bound

diag

default value False if we want to unscale the whole matrix

sym

default value False if we do not have a symmetric matrix

Value

the unscaled vector or matrix

Examples

1
2
3
4
5
6
## Not run: 
X <- diag(3)*runif(3)
Y <- unscale(X,rep(10,3),rep(15,3))
print(Y)

## End(Not run)

CaliCo documentation built on May 2, 2019, 4:05 p.m.