FixedArg< T, I > Struct Template Reference

A struct for storing information about a fixed argument. More...

Public Attributes

const T & value
 The value of the fixed argument. More...

 

Static Public Attributes

static const size_t index = I
 The index of the fixed argument. More...

 

Detailed Description


template<typename T, size_t I>
struct mlpack::hpt::FixedArg< T, I >

A struct for storing information about a fixed argument.

Objects of this type are supposed to be passed into the CVFunction constructor.

This struct is not meant to be used directly by users. Rather use the mlpack::hpt::Fixed function.

Template Parameters
TThe type of the fixed argument.
IThe index of the fixed argument.

Definition at line 52 of file fixed.hpp.

Member Data Documentation

◆ index

const size_t index = I
static

The index of the fixed argument.

Definition at line 55 of file fixed.hpp.

◆ value

const T& value

The value of the fixed argument.

Definition at line 58 of file fixed.hpp.


The documentation for this struct was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/core/hpt/fixed.hpp