|
template<typename Scalar , class IntVec > |
Eigen::Array< Scalar,
Eigen::Dynamic, 1 > | Opm::subset (const Eigen::Array< Scalar, Eigen::Dynamic, 1 > &x, const IntVec &indices) |
| Returns x(indices). More...
|
|
template<typename Scalar , class IntVec > |
AutoDiffBlock< Scalar > | Opm::subset (const AutoDiffBlock< Scalar > &x, const IntVec &indices) |
| Returns x(indices). More...
|
|
template<typename Scalar , class IntVec > |
AutoDiffBlock< Scalar > | Opm::superset (const AutoDiffBlock< Scalar > &x, const IntVec &indices, const int n) |
| Returns v where v(indices) == x, v(!indices) == 0 and v.size() == n. More...
|
|
template<typename Scalar , class IntVec > |
Eigen::Array< Scalar,
Eigen::Dynamic, 1 > | Opm::superset (const Eigen::Array< Scalar, Eigen::Dynamic, 1 > &x, const IntVec &indices, const int n) |
| Returns v where v(indices) == x, v(!indices) == 0 and v.size() == n. More...
|
|
Eigen::SparseMatrix< double > | Opm::spdiag (const AutoDiffBlock< double >::V &d) |
|
template<class Matrix > |
void | Opm::collapseJacs (const AutoDiffBlock< double > &x, Matrix &jacobian) |
| Returns the input expression, but with all Jacobians collapsed to one. More...
|
|
AutoDiffBlock< double > | Opm::collapseJacs (const AutoDiffBlock< double > &x) |
| Returns the input expression, but with all Jacobians collapsed to one. More...
|
|
AutoDiffBlock< double > | Opm::vertcat (const AutoDiffBlock< double > &x, const AutoDiffBlock< double > &y) |
| Returns the vertical concatenation [ x; y ] of the inputs. More...
|
|
AutoDiffBlock< double > | Opm::vertcatCollapseJacs (const std::vector< AutoDiffBlock< double > > &x) |
|
Eigen::ArrayXd | Opm::sign (const Eigen::ArrayXd &x) |
| Return a vector of (-1.0, 0.0 or 1.0), depending on sign per element. More...
|
|