This module contains API functions to handle SVM variable parameters.
More...
This module contains API functions to handle SVM variable parameters.
◆ svm_parameter_type_is_variable()
This function checks whether a parameter contains a variable.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | parameter | The callback parameter to check. |
- Returns
- TRUE if the parameter contains a variable, FALSE otherwise.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_parameter_variable_get()
This function converts a parameter into a variable.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | parameter | The callback parameter to check. |
- Returns
- The variable as a SVM_Variable.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
FAILURE | interruption when the parameter does not contain a variable. |
- See also
- svm_parameter_type_is_variable
◆ svm_parameter_variable_new()
This function creates a parameter from a variable.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to be passed as a parameter. |
- Returns
- A parameter containing the variable.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |