19 template<
typename T1,
typename T2>
26 typedef typename T1::elem_type eT;
58 arma_bad(
"solve(): solution not found");
64 template<
typename T1,
typename T2>
71 typedef typename T1::elem_type eT;
79 bool err_state =
false;
93 arma_bad(
"solve(): solution not found");
static bool solve_tr(Mat< eT > &out, const Mat< eT > &A, const Mat< eT > &B, const uword layout)
static void apply(Mat< typename T1::elem_type > &out, const Glue< T1, T2, glue_solve > &X)
static void apply(Mat< typename T1::elem_type > &out, const Glue< T1, T2, glue_solve_tr > &X)
#define arma_debug_set_error
const uword n_cols
number of columns in the matrix (read-only)
const uword n_rows
number of rows in the matrix (read-only)
#define arma_extra_debug_print
static bool solve(Mat< eT > &out, Mat< eT > &A, const Mat< eT > &B, const bool slow=false)
const T1 & A
first operand
arma_inline arma_warn_unused bool is_square() const
returns true if the object has the same number of non-zero rows and columnns
const T2 & B
second operand
#define arma_extra_debug_sigprint
void arma_cold arma_bad(const T1 &x, const bool hurl=true)
print a message to get_stream_err2() and/or throw a run-time error exception
static bool solve_ud(Mat< eT > &out, Mat< eT > &A, const Mat< eT > &B)
static bool solve_od(Mat< eT > &out, Mat< eT > &A, const Mat< eT > &B)
uword aux_uword
storage of auxiliary data, uword format