mlpack
Namespaces | Functions
print_pyx.hpp File Reference
#include <mlpack/core.hpp>
Include dependency graph for print_pyx.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 

Functions

void mlpack::bindings::python::PrintPYX (const util::BindingDetails &doc, const std::string &mainFilename, const std::string &functionName)
 Given a list of parameter definition and program documentation, print a generated .pyx file to stdout. More...
 

Detailed Description

Author
Ryan Curtin

Given a list of ParamData structures, emit a .pyx file defining the Cython binding.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Function Documentation

◆ PrintPYX()

void mlpack::bindings::python::PrintPYX ( const util::BindingDetails doc,
const std::string &  mainFilename,
const std::string &  functionName 
)

Given a list of parameter definition and program documentation, print a generated .pyx file to stdout.

Parameters
docDocumentation for the program.
mainFilenameFilename of the main program (i.e. "/path/to/pca_main.cpp").
functionNameName of the function (i.e. "pca").