Example #1
0
double sinvect(const vect& a, const vect& b)
{
    return vmlpt(a, b).modul() / (a.modul()*b.modul());
}
Example #2
0
double cosvect(const vect& a, const vect& b)
{
    return smlpt(a, b) / (a.modul()*b.modul());
}