LossIndex::FirstOrderLoss Struct Reference

A loss index composed of several terms, this structure represent the First Order for this function. More...

#include <loss_index.h>

Public Member Functions

 FirstOrderLoss ()
 Default constructor.
 
 FirstOrderLoss (const size_t &new_parameters_number)
 
void set_parameters_number (const size_t &new_parameters_number)
 
virtual ~FirstOrderLoss ()
 Destructor.
 

Public Attributes

double loss
 
Vector< double > gradient
 

Detailed Description

A loss index composed of several terms, this structure represent the First Order for this function.

Set of loss value and gradient vector of the peformance function. A method returning this structure might be implemented more efficiently than the loss and gradient methods separately.

Definition at line 87 of file loss_index.h.

Constructor & Destructor Documentation

◆ FirstOrderLoss()

FirstOrderLoss ( const size_t &  new_parameters_number)
explicit

Default constructor. Set of loss value and gradient vector of the peformance function. A method returning this structure might be implemented more efficiently than the loss and gradient methods separately.

Definition at line 1020 of file loss_index.cpp.

Member Function Documentation

◆ set_parameters_number()

void set_parameters_number ( const size_t &  new_parameters_number)

Set of loss value and gradient vector of the peformance function. A method returning this structure might be implemented more efficiently than the loss and gradient methods separately.

Definition at line 1038 of file loss_index.cpp.


The documentation for this struct was generated from the following files: