47 namespace ConstrainedOptPack {
57 const VectorSpace::space_ptr_t& space_cols
58 ,
const VectorSpace::space_ptr_t& space_rows
67 space_cols.get() == NULL, std::invalid_argument
68 ,
"MatrixIdentConcatStd::initialize(...): Error, "
69 "space_cols.get() can not be NULL!" );
71 space_rows.get() == NULL, std::invalid_argument
72 ,
"MatrixIdentConcatStd::initialize(...): Error, "
73 "space_rows.get() can not be NULL!" );
75 D_ptr.
get() == NULL, std::invalid_argument
76 ,
"MatrixIdentConcatStd::initialize(...): Error, "
77 "D_ptr.get() can not be NULL!" );
80 D_rows = D_ptr->rows(),
81 D_cols = D_ptr->cols(),
84 rows = opD_rows + opD_cols;
96 namespace rcp = MemMngPack;
102 D_rng_ = Range1D::Invalid;
103 I_rng_ = Range1D::Invalid;
160 space_cols_.get() == NULL, std::logic_error
161 ,
"Error, the MatrixIdentConcatStd object has not been initialized!" );
const VectorSpace & space_cols() const
AbstractLinAlgPack::size_type size_type
const MatrixOp & D() const
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
size_type rows(size_type rows, size_type cols, BLAS_Cpp::Transp _trans)
Return rows of a possible transposed matrix.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
MatrixOp & operator=(const MatrixOp &m)
The default just performs a shallow copy and just copies the underlying smart reference counted point...
const VectorSpace & space_rows() const
BLAS_Cpp::Transp D_trans() const
BLAS_Cpp::Transp D_trans_
AbstractLinAlgPack::value_type value_type
virtual void initialize(const VectorSpace::space_ptr_t &space_cols, const VectorSpace::space_ptr_t &space_rows, ETopBottom top_or_bottom, value_type alpha, const D_ptr_t &D_ptr, BLAS_Cpp::Transp D_trans)
Setup with a matrix object.
virtual const D_ptr_t & D_ptr() const
Return the smart reference counted point to the D matrix.
void assert_initialized() const
MatrixIdentConcatStd()
Constructs to uninitialized.
size_type cols(size_type rows, size_type cols, BLAS_Cpp::Transp _trans)
Return columns of a possible transposed matrix.
RangePack::Range1D Range1D
virtual void set_uninitialized()
Set the matrix to uninitialized.
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)