CEBL  2.1
Data Structures | Functions
cppR_exceptions.hpp File Reference
#include <exception>
#include <string>

Go to the source code of this file.

Data Structures

class  cppRException

Functions

void cppR_assert (bool condition, const char *message)

Function Documentation

void cppR_assert ( bool  condition,
const char *  message 
)
inline

Checks if specified condition is true or not, and if not, throws a cppRExeption with the specified message.

Parameters:
conditioncondition to check
messagemessage to throw

Definition at line 53 of file cppR_exceptions.hpp.

Referenced by cppR::cbind(), cppR::compProd(), cppR::rbind(), cppR::submatrix(), and cppR::vectorRange().