Home | History | Annotate | Download | only in TensorSymmetry

Lines Matching refs:initial

143   static inline RV run(const std::array<Index, NumIndices>& idx, RV initial, Args&&... args)
147 initial = Op::run(tensor_static_symgroup_index_permute(idx, typename first::indices(), remaining_indices()), first::flags, initial, std::forward<Args>(args)...);
148 return tensor_static_symgroup_do_apply<internal::type_list<next...>>::template run<Op, RV, SGNumIndices>(idx, initial, args...);
152 static inline RV run(const std::vector<Index>& idx, RV initial, Args&&... args)
155 initial = Op::run(tensor_static_symgroup_index_permute(idx, typename first::indices()), first::flags, initial, std::forward<Args>(args)...);
156 return tensor_static_symgroup_do_apply<internal::type_list<next...>>::template run<Op, RV, SGNumIndices>(idx, initial, args...);
164 static inline RV run(const std::array<Index, NumIndices>&, RV initial, Args&&...)
167 return initial;
171 static inline RV run(const std::vector<Index>&, RV initial, Args&&...)
174 return initial;
197 static inline RV apply(const std::array<Index, N>& idx, RV initial, Args&&... args)
199 return internal::tensor_static_symgroup_do_apply<ge>::template run<Op, RV, NumIndices>(idx, initial, args...);
203 static inline RV apply(const std::vector<Index>& idx, RV initial, Args&&... args)
206 return internal::tensor_static_symgroup_do_apply<ge>::template run<Op, RV, NumIndices>(idx, initial, args...);