pyFM.optimize.base_functionsΒΆ

Functions

descr_preservation(C, descr1_red, descr2_red)

Compute the descriptor preservation constraint.

descr_preservation_grad(C, descr1_red, ...)

Compute the gradient of the descriptor preservation constraint.

descr_preservation_and_grad(C, descr1_red, ...)

Compute the descriptor preservation constraint and its gradient.

LB_commutation(C, ev_sqdiff)

Compute the LB commutativity constraint.

LB_commutation_grad(C, ev_sqdiff)

Compute the gradient of the LB commutativity constraint.

LB_commutation_and_grad(C, ev_sqdiff)

Compute the LB commutativity constraint and its gradient.

op_commutation(C, op1, op2)

Compute the operator commutativity constraint.

op_commutation_grad(C, op1, op2)

Compute the gradient of the operator commutativity constraint.

op_commutation_and_grad(C, op1, op2)

Compute the operator commutativity constraint and its gradient.

oplist_commutation(C, op_list)

Compute the operator commutativity constraint for a list of pairs of operators.

oplist_commutation_grad(C, op_list)

Compute the gradient of the operator commutativity constraint for a list of pairs of operators.

oplist_commutation_and_grad(C, op_list)

Compute the operator commutativity constraint and its gradient for a list of pairs of operators.

energy_func_std(C, descr_mu, lap_mu, ...)

Evaluate the energy for standard FM computation.

grad_energy_std(C, descr_mu, lap_mu, ...)

Evaluate the gradient of the energy for standard FM computation.

energy_and_grad_std(C, descr_mu, lap_mu, ...)

Evaluate the energy and its gradient for standard FM computation.