| 3928 | |
| 3929 | |
| 3930 | shared_ptr<CoefficientFunction> CWMult (shared_ptr<CoefficientFunction> cf1, |
| 3931 | shared_ptr<CoefficientFunction> cf2) |
| 3932 | { |
| 3933 | if (cf1->IsZeroCF() || cf2->IsZeroCF()) |
| 3934 | return ZeroCF( cf1->Dimensions() ); |
| 3935 | return BinaryOpCF (cf1, cf2, gen_mult, "*"); |
| 3936 | } |
| 3937 | |
| 3938 | template <> |
| 3939 | shared_ptr<CoefficientFunction> |