46 #include "ConstrainedOptPack_MatrixSymIdentitySerial.hpp"
47 #include "DenseLinAlgPack_DMatrixAsTriSym.hpp"
48 #include "DenseLinAlgPack_DMatrixOp.hpp"
49 #include "DenseLinAlgPack_DMatrixOut.hpp"
50 #include "DenseLinAlgPack_LinAlgOpPack.hpp"
51 #include "DenseLinAlgPack_AssertOp.hpp"
53 namespace ConstrainedOptPack {
84 out <<
"Identity matrix of size " << size_ <<
" x " << size_ << std::endl;
92 ,
const DVectorSlice& x, value_type b
113 DMatrixSliceSym* S, value_type a
127 throw std::logic_error(
128 "MatrixSymIdentitySerial::extract_inv_chol(...) : "
129 "Error, we can not compute the inverse cholesky factor "
130 "of a negative definite matrix." );
132 InvChol->gms().diag() = 1.0 / std::sqrt(scale_);
void Vp_StMtV(DVectorSlice *vs_lhs, value_type alpha, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2, value_type beta) const
void Vt_S(VectorMutable *v_lhs, const value_type &alpha)
void M_StMtInvMtM(DMatrixSliceSym *sym_gms_lhs, value_type alpha, const MatrixOpSerial &mwo, BLAS_Cpp::Transp mwo_trans, EMatrixDummyArg) const
void Vp_StV(VectorMutable *v_lhs, const value_type &alpha, const Vector &v_rhs)
void V_StV(VectorMutable *v_lhs, value_type alpha, const V &V_rhs)
std::ostream & output(std::ostream &out) const
void V_InvMtV(DVectorSlice *vs_lhs, BLAS_Cpp::Transp trans_rhs1, const DVectorSlice &vs_rhs2) const
void initialize(size_type size, value_type scale)
void assign(MatrixOp *M_lhs, const MatrixOp &M_rhs, BLAS_Cpp::Transp trans_rhs)
virtual size_type cols() const
MatrixSymIdentitySerial(size_type size=1, value_type scale=1.0)
Calls this->initalize()
void extract_inv_chol(DMatrixSliceTriEle *InvChol) const
void M_StMtInvMtM(MatrixSymOp *sym_gms_lhs, value_type alpha, const MatrixOp &mwo, BLAS_Cpp::Transp mwo_trans, const MatrixSymNonsing &mswof, MatrixSymNonsing::EMatrixDummyArg mwo_rhs)