Ravelin
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
Ravelin
NonsquareMatrixException.h
1
/****************************************************************************
2
* Copyright 2012 Evan Drumwright
3
* This library is distributed under the terms of the Apache V2.0
4
* License (obtainable from http://www.apache.org/licenses/LICENSE-2.0).
5
****************************************************************************/
6
7
#ifndef _NONSQUARE_MATRIX_EXCEPTION_H_
8
#define _NONSQUARE_MATRIX_EXCEPTION_H_
9
10
#include <stdexcept>
11
12
namespace
Ravelin {
13
15
class
NonsquareMatrixException
:
public
std::runtime_error
16
{
17
public
:
18
NonsquareMatrixException
() : std::runtime_error(
"Matrix should be square!"
) {}
19
};
// end class
20
21
22
}
// end namespace
23
24
#endif
25
Ravelin::NonsquareMatrixException
Exception thrown when trying to initialize a fixed size vector/matrix with the wrong size...
Definition:
NonsquareMatrixException.h:15
Generated on Wed Mar 9 2016 11:34:01 for Ravelin by
1.8.6