codac
2.0.0
Loading...
Searching...
No Matches
src
core
matrices
eigen
Matrix_addons
codac2_Matrix_addons_Vector.h
Go to the documentation of this file.
1
15
27
template
<
int
R=RowsAtCompileTime,
int
C=ColsAtCompileTime>
28
requires
(!IsIntervalDomain<Scalar>) && (IsVectorOrRow<R,C>)
29
Matrix
(std::initializer_list<double> l)
30
:
Matrix
<double,R,C>(R == 1 ? 1 : l.size(), C == 1 ? 1 : l.size())
31
{
32
assert_release(!std::empty(l));
33
Index i = 0;
34
for
(
const
auto
& li : l)
35
(*this)[i++] = li;
36
}
37
46
template
<
int
R=RowsAtCompileTime,
int
C=ColsAtCompileTime>
47
requires
(!IsIntervalDomain<Scalar>) && (IsVectorOrRow<R,C>)
48
explicit
Matrix
(
int
n,
double
values[])
49
:
Matrix
<double,R,C>(R == 1 ? 1 : n, C == 1 ? 1 : n, values)
50
{
51
assert_release(n > 0);
52
}
Matrix
Matrix(const Matrix< double, R, C > &lb, const Matrix< double, R, C > &ub)
Constructs an interval matrix from lower and upper bound matrices.
Definition
codac2_Matrix_addons_IntervalMatrixBase.h:50
Matrix
Matrix()=delete
Deleted default constructor to prevent default instantiation when either the number of rows or column...
Generated by
1.13.0