MCPcopy Create free account
hub / github.com/davisking/dlib / operator*

Function operator*

dlib/geometry/vector.h:1022–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1020
1021 template <typename T, typename U>
1022 inline typename disable_if<is_matrix<U>, const typename vc_rebind_promote<T,U,2>::type >::type operator* (
1023 const vector<T,2>& v,
1024 const U& s
1025 )
1026 {
1027 typedef typename vc_rebind_promote<T,U,2>::type ret_type;
1028 return ret_type(v.x()*s, v.y()*s);
1029 }
1030
1031// ----------------------------------------------------------------------------------------
1032

Callers

nothing calls this directly

Calls 1

zMethod · 0.80

Tested by

no test coverage detected