Class MEAL::ConstrainedParameter

class ConstrainedParameter

A parameter and its constraining Scalar instance.

Public Members

unsigned parameter

The index of the Function parameter constrained by scalar.

bool previously_infit

The value of the fit flag before the parameter was constrained.

Project<Scalar> scalar

The constraining Scalar instance.

std::vector<double> gradient

The last calculated gradient of the Scalar.

unsigned index

Index within ChainRule vector.