PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
PDF::Function Class Reference

Represents a function that maps input values to output values. More...

#include <pdfsdk/cxx/function.h>

Inheritance diagram for PDF::Function:

Public Member Functions

Object GetPdfObject () const
 
size_t GetNumInputs () const
 Get the number of input values.
 
size_t GetNumOutputs () const
 Get the number of output values.
 
void Execute (const float *inputs, float *outputs)
 Evaluate the function with the specified input values.
 
 Function (PDEFunction handle, bool adopt=false) noexcept
 
 Function (const Function &rhs) noexcept
 
Functionoperator= (const Function &rhs) noexcept
 
 Function (Function &&rhs) noexcept
 
Functionoperator= (Function &&rhs) noexcept
 

Static Public Member Functions

static Function CreateFromPdfObject (const Object &object)
 

Detailed Description

Represents a function that maps input values to output values.

ISO 32000-2:2020 - 7.10 Functions

Member Function Documentation

◆ CreateFromPdfObject()

static Function PDF::Function::CreateFromPdfObject ( const Object & object)
static

Creates a function from the specified PDF object.

Parameters
objectThe PDF object.
Returns
The function.

◆ Execute()

void PDF::Function::Execute ( const float * inputs,
float * outputs )

Evaluate the function with the specified input values.

Parameters
[in]inputsThe input values.
[out]outputsThe output values.

◆ GetNumInputs()

size_t PDF::Function::GetNumInputs ( ) const

Get the number of input values.

Returns
The number of input values.

◆ GetNumOutputs()

size_t PDF::Function::GetNumOutputs ( ) const

Get the number of output values.

Returns
The number of output values.

◆ GetPdfObject()

Object PDF::Function::GetPdfObject ( ) const

Get the PDF object associated with this function.

Returns
The PDF object.

The documentation for this class was generated from the following file: