small_matrix_error Class Reference

Contains an additional field describing the error. More...

#include <small_m_ex.hpp>

Inheritance diagram for small_matrix_error:

Inheritance graph
[legend]
Collaboration diagram for small_matrix_error:

Collaboration graph
[legend]
List of all members.

Public Types

enum  sm_error_type { GEN_ERROR = -1, NO_MEMORY = 0, SINGULAR = 1, SIZE_MISMATCH = 2 }

Public Member Functions

 small_matrix_error (sm_error_type the_type, char *m)
 Constructor.

Public Attributes

enum sm_error_type error_type

Detailed Description

Contains an additional field describing the error.


Member Enumeration Documentation

enum small_matrix_error::sm_error_type

Enumerator:
GEN_ERROR  function-specific error, cannot be classified
NO_MEMORY  memory allocation failed
SINGULAR  invertion of a singular matrix or zero pivote element
SIZE_MISMATCH  incompatible matrix sizes of operands/results


Constructor & Destructor Documentation

small_matrix_error::small_matrix_error ( sm_error_type  the_type,
char *  m 
) [inline]

Constructor.

Parameters:
[in] the_type The error descriptor
[in] m The error message
[in] file The source file
[in] line The line in the file


Member Data Documentation

enum sm_error_type small_matrix_error::error_type


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 12:34:37 2007 for SG2 by  doxygen 1.5.2