mlpack
Namespaces | Functions
print_pyx.cpp File Reference
#include "print_pyx.hpp"
#include <mlpack/core/util/io.hpp>
#include <mlpack/core/util/hyphenate_string.hpp>
#include <set>
Include dependency graph for print_pyx.cpp:

Namespaces

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

Functions

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

Detailed Description

Author
Ryan Curtin

Implementation of function to generate a .pyx file given a list of parameters for the function.

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 string &  mainFilename,
const 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").