const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
- Assert(C.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
+ Assert(C.state == matrix || C.state == inverse_matrix, ExcState(state));
Assert (this->n_cols() == B.n_rows(), ExcDimensionMismatch(this->n_cols(), B.n_rows()));
Assert (C.n_cols() == B.n_cols(), ExcDimensionMismatch(C.n_cols(), B.n_cols()));
Assert (C.n_rows() == this->n_rows(), ExcDimensionMismatch(this->n_rows(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
Assert (this->n_cols() == B.n_rows(), ExcDimensionMismatch(this->n_cols(), B.n_rows()));
Assert (C.n_cols() == B.n_cols(), ExcDimensionMismatch(C.n_cols(), B.n_cols()));
Assert (C.n_rows() == this->n_rows(), ExcDimensionMismatch(this->n_rows(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
- Assert(C.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
+ Assert(C.state == matrix || C.state == inverse_matrix, ExcState(state));
Assert (this->n_rows() == B.n_rows(), ExcDimensionMismatch(this->n_rows(), B.n_rows()));
Assert (C.n_cols() == B.n_cols(), ExcDimensionMismatch(C.n_cols(), B.n_cols()));
Assert (C.n_rows() == this->n_cols(), ExcDimensionMismatch(this->n_cols(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
Assert (this->n_rows() == B.n_rows(), ExcDimensionMismatch(this->n_rows(), B.n_rows()));
Assert (C.n_cols() == B.n_cols(), ExcDimensionMismatch(C.n_cols(), B.n_cols()));
Assert (C.n_rows() == this->n_cols(), ExcDimensionMismatch(this->n_cols(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
- Assert(C.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
+ Assert(C.state == matrix || C.state == inverse_matrix, ExcState(state));
Assert (this->n_cols() == B.n_cols(), ExcDimensionMismatch(this->n_cols(), B.n_cols()));
Assert (C.n_cols() == B.n_rows(), ExcDimensionMismatch(C.n_cols(), B.n_rows()));
Assert (C.n_rows() == this->n_rows(), ExcDimensionMismatch(this->n_rows(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
Assert (this->n_cols() == B.n_cols(), ExcDimensionMismatch(this->n_cols(), B.n_cols()));
Assert (C.n_cols() == B.n_rows(), ExcDimensionMismatch(C.n_cols(), B.n_rows()));
Assert (C.n_rows() == this->n_rows(), ExcDimensionMismatch(this->n_rows(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
- Assert(C.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
+ Assert(C.state == matrix || C.state == inverse_matrix, ExcState(state));
Assert (this->n_rows() == B.n_cols(), ExcDimensionMismatch(this->n_rows(), B.n_cols()));
Assert (C.n_cols() == B.n_rows(), ExcDimensionMismatch(C.n_cols(), B.n_rows()));
Assert (C.n_rows() == this->n_cols(), ExcDimensionMismatch(this->n_cols(), C.n_rows()));
const LAPACKFullMatrix<number> &B,
const bool adding) const
{
- Assert(state == matrix, ExcState(state));
- Assert(B.state == matrix, ExcState(state));
+ Assert(state == matrix || state == inverse_matrix, ExcState(state));
+ Assert(B.state == matrix || B.state == inverse_matrix, ExcState(state));
Assert (this->n_rows() == B.n_cols(), ExcDimensionMismatch(this->n_rows(), B.n_cols()));
Assert (C.n_cols() == B.n_rows(), ExcDimensionMismatch(C.n_cols(), B.n_rows()));
Assert (C.n_rows() == this->n_cols(), ExcDimensionMismatch(this->n_cols(), C.n_rows()));