12#ifndef MLPACK_CORE_HPT_FIXED_HPP
13#define MLPACK_CORE_HPT_FIXED_HPP
51template<
typename T,
size_t I>
99 struct Implementation : std::false_type {};
101 template<
typename Type>
102 struct Implementation<
PreFixedArg<Type>> : std::true_type {};
105 static const bool value = Implementation<typename std::decay<T>::type>
::value;
A type function for checking whether the given type is PreFixedArg.
Include all of the base components required to write mlpack methods, and the main mlpack Doxygen docu...
PreFixedArg< T > Fixed(T &&value)
Mark the given argument as one that should be fixed.
Linear algebra utility functions, generally performed on matrices or vectors.
A struct for storing information about a fixed argument.
const T & value
The value of the fixed argument.
static const size_t index
The index of the fixed argument.
A struct for marking arguments as ones that should be fixed (it can be useful for the Optimize method...