44 #include "ConstrainedOptPack_MatrixHessianSuperBasicInitDiagonal.hpp"
45 #include "DenseLinAlgPack_DVectorClass.hpp"
46 #include "Midynamic_cast_verbose.h"
48 namespace ConstrainedOptPack {
59 ,
const EBounds bnd_fixed[]
60 ,
const B_RR_ptr_t& B_RR_ptr
61 ,
const B_RX_ptr_t& B_RX_ptr
63 ,
const B_XX_ptr_t& B_XX_ptr
70 B_RR_init_ = &
dynamic_cast<MatrixSymInitDiag&
>(
71 const_cast<MatrixSymWithOpFactorized&
>(*B_RR_ptr)
74 B_RR_init_ = &
dyn_cast<MatrixSymInitDiag>(
75 const_cast<MatrixSymWithOpFactorized&
>(*B_RR_ptr)
80 n,n_R,i_x_free,i_x_fixed,bnd_fixed
81 ,B_RR_ptr,B_RX_ptr,B_RX_trans,B_XX_ptr
91 B_RR_init_->init_identity(n,alpha);
101 const DVectorSlice& diag )
104 B_RR_init_->init_diagonal(diag);
106 diag.size(),diag.size(),NULL,NULL,NULL
virtual void initialize(size_type n, size_type n_R, const size_type i_x_free[], const size_type i_x_fixed[], const EBounds bnd_fixed[], const B_RR_ptr_t &B_RR_ptr, const B_RX_ptr_t &B_RX_ptr, BLAS_Cpp::Transp B_RX_trans, const B_XX_ptr_t &B_XX_ptr)
Initialize the matrix.
void initialize(size_type n, size_type n_R, const size_type i_x_free[], const size_type i_x_fixed[], const EBounds bnd_fixed[], const B_RR_ptr_t &B_RR_ptr, const B_RX_ptr_t &B_RX_ptr, BLAS_Cpp::Transp B_RX_trans, const B_XX_ptr_t &B_XX_ptr)
Initialize the matrix and require B_RR to support #MatrixSymInitDiag#.
T_To & dyn_cast(T_From &from)
const B_RR_ptr_t & B_RR_ptr() const
void init_identity(size_type n, value_type alpha)
const B_XX_ptr_t & B_XX_ptr() const
const B_RX_ptr_t & B_RX_ptr() const
MatrixHessianSuperBasicInitDiagonal()
Constructs to uninitialized.
void init_diagonal(const DVectorSlice &diag)
void assert_initialized() const
BLAS_Cpp::Transp B_RX_trans() const