powered by
Given a k-form, return TRUE if it is “small”
TRUE
issmall(M, tol=1e-8)
Returns a logical
Object of class kform or ktensor
kform
ktensor
Small tolerance, defaulting to 1e-8
1e-8
Robin K. S. Hankin
o <- kform_general(4,2,runif(6)) M <- matrix(rnorm(36),6,6) discrepancy <- o - pullback(pullback(o,M),solve(M)) issmall(discrepancy) # should be TRUE is.zero(discrepancy) # might be FALSE
Run the code above in your browser using DataLab