The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
sd_update_params() returned values computed from the old
parameter values when the parameter sat under sd_hstack()
or sd_vstack() (engine fix #113). For a modeling layer this
meant that re-solving such a parametric nonlinear problem after changing
a parameter returned the previous solution, reported as optimal.sd_add(), sd_elementwise_mult()
and sd_matmul() (engine fixes #159, #169). A shared node is
now also evaluated once per pass, not once per parent (#172).sd_power() avoids pow() for squares and
reciprocals (#171).sd_atan() and sd_atan2().sd_jacobian_eval(), sd_hessian_eval(),
sd_jacobian_csr() and sd_hessian_csr():
evaluate and read the compressed-sparse-row derivatives as separate
steps, as in ‘sparsediffpy’ 0.10. Every low-level ‘sparsediffpy’ 0.10.0
function has an sd_* counterpart
(?sparsediff).sd_log(), sd_entr(), sd_tan()
and sd_atanh() now require a variable as their argument, as
the engine does since 0.7.0; a composite argument is an error. A
modeling layer introduces a variable for it, as ‘CVXPY’ and ‘CVXR’
do.sd_prod(), sd_prod_axis_zero() and
sd_prod_axis_one() now check that their argument is a
variable; the error used to come later, when the derivatives were
initialized, without naming the atom.sd_quad_over_lin() returned wrong derivatives,
with no error, when its denominator was a composite expression, a
vector, or the numerator itself. The denominator must be a scalar
variable different from the numerator, and anything else is now an
error.sd_update_params() could return values computed from the
old parameter values (engine fix #107). For a modeling layer this meant
that re-solving a parametric nonlinear problem after changing a
parameter returned the previous solution, reported as optimal.sd_index() (for example a quadratic objective over a
symmetric variable) could crash R with a bus error when the Jacobian or
Hessian was evaluated (engine fix #105).sd_quad_form_dense(): the quadratic form with a
dense constant or parametric matrix. The parametric form follows
sd_update_params(). sd_quad_form() keeps its
signature and still takes a sparse constant matrix.sd_*
counterpart that calls the same engine routine with the same arguments;
the name map is on the package help page (?sparsediff).
New: sd_left_kron() and sd_right_kron()
(Kronecker products, used by the next CVXPY release), the
compressed-sparse-row derivative accessors sd_jacobian(),
sd_get_jacobian(), sd_init_hessian(),
sd_hessian() and sd_get_hessian(), and
sd_get_expr_dimensions() / sd_get_expr_size().
sd_rel_entr() now dispatches on operand size like
make_rel_entr.sd_init_hessian_coo() crashed R when called
before the Jacobian was initialized; it now initializes the Jacobian
first.sd_rel_entr(), sd_rel_entr_first_scalar()
and sd_rel_entr_second_scalar() now check that their
arguments are two different variables, which the engine requires; other
arguments overflowed a heap buffer (found with AddressSanitizer).cblas_ddot, which the 0.6.1 engine
calls._GNU_SOURCE
was defined too late for fopencookie(). It is now set on
the compiler command line.sd_quad_form() and sd_left_matmul() /
sd_right_matmul() are compressed-sparse-row arrays, and the
dense data arguments are row-major. Earlier documentation
said compressed-sparse-column and column-major. The grouped help pages
now have usage sections (flagged by current R-devel).These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.