Logo Search packages:      
Sourcecode: inkscape version File versions

SBasis Geom::operator* ( SBasis const &  a,
double  k 
)

Compute the pointwise product of a and b (Exact)

Parameters:
a,b sbasis functions
Returns:
sbasis equal to a*b

Definition at line 166 of file sbasis.cpp.

                                            {
    SBasis c(a.size(), Linear());
    for(unsigned i = 0; i < a.size(); i++)
        c[i] = a[i] * k;
    return c;
}


Generated by  Doxygen 1.6.0   Back to index