| 5151 | }; |
| 5152 | |
| 5153 | shared_ptr<CoefficientFunction> |
| 5154 | MakeExtendDimensionCoefficientFunction (shared_ptr<CoefficientFunction> c1, |
| 5155 | Array<int> dims, Array<int> pos, Array<int> stride) |
| 5156 | { |
| 5157 | if (c1->IsZeroCF()) |
| 5158 | return ZeroCF(dims); |
| 5159 | return make_shared<ExtendDimensionCoefficientFunction> (c1, std::move(dims), std::move(pos), std::move(stride)); |
| 5160 | } |
| 5161 | |
| 5162 | |
| 5163 | // ********************** VectorContractionCoefficientFunction ********************** |
no test coverage detected