Function Dune::XT::Common::zeros_like¶
-
template<class TargetVectorType, class SourceVectorType>
int Dune::XT::Common::zeros_like(const SourceVectorType &source)¶ creates a TargetVectorType of the same size as source, filled with zeros
-
template<class VectorType>
int Dune::XT::Common::zeros_like(const VectorType &source)¶ creates a vector of the same type and size as source, filled with zeros