WARPXM v1.10.0
Loading...
Searching...
No Matches
wxm::max_diff Class Reference

Computes max(|a-b|) More...

#include <max_diff.h>

Inheritance diagram for wxm::max_diff:
wxm::integrate_app wxm::app_base

Detailed Description

Computes max(|a-b|)

Parameters
Vars
StageA
StageB

Public Member Functions

void setup (const WxCryptSet &wxc) override
 
real integrate (const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const override
 Evaluates the integral function, returning a scalar value.
 
const std::vector< int > & getInputVariableIndexes (int flag=0) const override
 
virtual void setup (const WxCryptSet &wxc)=0
 
virtual real integrate (const std::vector< std::vector< real > > &in, const integrateVariables *pSV) const =0
 Evaluates the integral function, returning a scalar value.
 
- Public Member Functions inherited from wxm::app_base
virtual const std::vector< int > & getInputVariableIndexes (int flag=0) const
 
virtual const std::vector< int > & getOutputVariableIndexes (int flag=0) const
 

Additional Inherited Members

- Public Attributes inherited from wxm::integrate_app
std::vector< int > stages
 what stages this app expects as inputs, or empty to give the default stages (default is often the current stage)
 
- Static Public Attributes inherited from wxm::app_base
static std::vector< int > empty
 
- Protected Member Functions inherited from wxm::app_base
virtual ~app_base ()=default
 

Member Function Documentation

◆ getInputVariableIndexes()

const std::vector< int > & wxm::max_diff::getInputVariableIndexes ( int  flag = 0) const
inlineoverridevirtual

Reimplemented from wxm::app_base.

◆ integrate()

real wxm::max_diff::integrate ( const std::vector< std::vector< real > > &  in,
const integrateVariables pSV 
) const
overridevirtual

Evaluates the integral function, returning a scalar value.

Implements wxm::integrate_app.

◆ setup()

void wxm::max_diff::setup ( const WxCryptSet wxc)
overridevirtual

Implements wxm::integrate_app.


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