Go to the documentation of this file.
130 else if (
E_DEGRADED ==
error)
return "Converged but degraded solution";
132 else if (
E_SIZE_MISMATCH ==
error)
return "The size of the input does not match the internal state";
137 else return "UNKNOWN ERROR";
virtual void updateInternalDataStructures()=0
Update the internal data structures.
virtual const char * strError(const int error) const
Return a description of the latest error.
Definition: solveri.hpp:125
virtual ~SolverI()
Definition: solveri.hpp:115
@ E_NO_CONVERGE
Failed to converge.
Definition: solveri.hpp:93
@ E_NOT_UP_TO_DATE
Chain size changed.
Definition: solveri.hpp:97
@ E_NOT_IMPLEMENTED
Not yet implemented.
Definition: solveri.hpp:105
Definition: articulatedbodyinertia.cpp:28
@ E_MAX_ITERATIONS_EXCEEDED
Maximum number of iterations exceeded.
Definition: solveri.hpp:101
@ E_OUT_OF_RANGE
Requested index out of range.
Definition: solveri.hpp:103
@ E_SIZE_MISMATCH
Input size does not match internal state.
Definition: solveri.hpp:99
@ E_UNDEFINED
Undefined value (e.g. computed a NAN, or tan(90 degrees) )
Definition: solveri.hpp:95
@ E_SVD_FAILED
Internal svd calculation failed.
Definition: solveri.hpp:107
@ E_DEGRADED
Converged but degraded solution (e.g. WDLS with psuedo-inverse singular)
Definition: solveri.hpp:89
virtual int getError() const
Return the latest error.
Definition: solveri.hpp:119
Solver interface supporting storage and description of the latest error.
Definition: solveri.hpp:84
SolverI()
Initialize latest error to E_NOERROR.
Definition: solveri.hpp:111
@ E_NOERROR
No error.
Definition: solveri.hpp:91
int error
Latest error, initialized to E_NOERROR in constructor.
Definition: solveri.hpp:149