We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8418021 commit f544b6aCopy full SHA for f544b6a
btas/tensor.h
@@ -181,7 +181,10 @@ namespace btas {
181
/// This constructor will allocate memory for \c range.area() elements. Each element
182
/// will be initialized as:
183
/// \code
184
- /// for(int i =Range An input Range type.
+ /// for(auto&& idx: range)
185
+ /// (*this)[idx] = op(*(it++));
186
+ /// \endcode
187
+ /// \tparam Range An input Range type.
188
/// \tparam InIter An input iterator type.
189
/// \tparam Op A unary operation type
190
/// \param range the input range type
0 commit comments