# sasdata.data_util.err1d module

Error propogation algorithms for simple arithmetic

Warning: like the underlying numpy library, the inplace operations may return values of the wrong type if some of the arguments are integers, so be sure to create them with floating point inputs.

sasdata.data_util.err1d.add(X, varX, Y, varY)

  Addition with error propagation

sasdata.data_util.err1d.add_inplace(X, varX, Y, varY)

  In-place addition with error propagation

sasdata.data_util.err1d.div(X, varX, Y, varY)

  Division with error propagation

sasdata.data_util.err1d.div_inplace(X, varX, Y, varY)

  In-place division with error propagation

sasdata.data_util.err1d.exp(X, varX)

  Exponentiation with error propagation

sasdata.data_util.err1d.log(X, varX)

  Logarithm with error propagation

sasdata.data_util.err1d.mul(X, varX, Y, varY)

  Multiplication with error propagation

sasdata.data_util.err1d.mul_inplace(X, varX, Y, varY)

  In-place multiplication with error propagation

sasdata.data_util.err1d.pow(X, varX, n)

  X**n with error propagation

sasdata.data_util.err1d.pow_inplace(X, varX, n)

  In-place X**n with error propagation

sasdata.data_util.err1d.sub(X, varX, Y, varY)

  Subtraction with error propagation

sasdata.data_util.err1d.sub_inplace(X, varX, Y, varY)

  In-place subtraction with error propagation