Description Usage Arguments Value See Also Examples
View source: R/editmatrixAttr.R
An set of linear edits of the form {\bf a}\cdot{\bf x}\odot b with is called normalized when all \odot\in\{==,≤q,<\}
1  normalize(E)

E 

If E was normalized, the original editmatrix is returned, otherwise a new normalized editmatrix will be returned
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32  E < editmatrix(c( "x+3*y == 2*z"
, "x > 2")
)
print(E)
# get editrules, useful for storing and maintaining the rules external from your script
as.data.frame(E)
# get coeficient matrix of inequalities
getA(E)
# get augmented matrix of linear edit set
getAb(E)
# get constants of inequalities (i.e. c(0, 2))
getb(E)
# get operators of inequalities (i.e. c("==",">"))
getOps(E)
# get variables of inequalities (i.e. c("x","y","z"))
getVars(E)
# isNormalized
isNormalized(E)
#normalized E
E < normalize(E)
E
# is het now normalized?
isNormalized(E)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.