Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::BrentSolver::Result Struct Reference

Return value of BrentSolver::solve() More...

#include <mitsuba/core/brent.h>

Public Member Functions

 Result (bool success, size_t iterations, Float x, Float y)
 Create a new result instance. More...
 
std::string toString () const
 Return a string representation of the result. More...
 

Public Attributes

bool success
 
size_t iterations
 
Float x
 
Float y
 

Detailed Description

Return value of BrentSolver::solve()

Constructor & Destructor Documentation

mitsuba::BrentSolver::Result::Result ( bool  success,
size_t  iterations,
Float  x,
Float  y 
)
inline

Create a new result instance.

Member Function Documentation

std::string mitsuba::BrentSolver::Result::toString ( ) const
inline

Return a string representation of the result.

Member Data Documentation

size_t mitsuba::BrentSolver::Result::iterations
bool mitsuba::BrentSolver::Result::success
Float mitsuba::BrentSolver::Result::x
Float mitsuba::BrentSolver::Result::y

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