53 lines
3.2 KiB
HTML
53 lines
3.2 KiB
HTML
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
|
|
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
|
|
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
|
|
<head>
|
|
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
|
|
<title>operator*(vec,mat)</title>
|
|
<link href='reno.css' type='text/css' rel='stylesheet'/>
|
|
</head>
|
|
<body>
|
|
<div class="body-0">
|
|
<div class="body-1">
|
|
<div class="body-2">
|
|
<div>
|
|
<h1>QVM: Quaternions, Vectors, Matrices</h1>
|
|
</div>
|
|
<!-- Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. -->
|
|
<!-- Distributed under the Boost Software License, Version 1.0. (See accompanying -->
|
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
|
<div class="RenoIncludeDIV"><div class="RenoAutoDIV"><h3>operator*(vec,mat)</h3>
|
|
</div>
|
|
<div class="RenoIncludeDIV"><p><span class="RenoEscape">#<!--<wiki>`#</wiki>--></span>include <<span class="RenoLink"><a href="boost_qvm_vec_mat_operations_hpp.html">boost/qvm/vec_mat_operations.hpp</a></span>></p>
|
|
<pre>namespace boost
|
|
{
|
|
namespace <span class="RenoLink"><a href="qvm.html">qvm</a></span>
|
|
{
|
|
<span class="RenoIncludeSPAN"> //Only <span class="RenoLink"><a href="SFINAE_enable_if.html">enabled if</a></span>:
|
|
// <span class="RenoLink"><a href="is_vec.html">is_vec</a></span><A>::value && <span class="RenoLink"><a href="is_mat.html">is_mat</a></span><B>::value &&
|
|
// <span class="RenoLink"><a href="vec_traits.html">vec_traits</a></span><A>::<span class="RenoLink"><a href="vec_traits_Vector_dim.html">dim</a></span>==<span class="RenoLink"><a href="mat_traits.html">mat_traits</a></span><B>::<span class="RenoLink"><a href="mat_traits_Matrix_rows.html">rows</a></span>
|
|
template <class A,class B>
|
|
typename <span class="RenoLink"><a href="deduce_vec2.html">deduce_vec2</a></span><A,B,<span class="RenoLink"><a href="mat_traits.html">mat_traits</a></span><B>::<span class="RenoLink"><a href="mat_traits_Matrix_cols.html">cols</a></span>>::type
|
|
<span class="RenoLink">operator*</span>( A const & a, B const & b );</span>
|
|
}
|
|
}</pre>
|
|
</div><h4>Returns:</h4>
|
|
<p>The result of multiplying the vector <i>a</i> and the matrix <i>b</i>, where a is interpreted as a matrix-row. The resulting matrix-column is returned as a vector type.</p>
|
|
</div><div class="RenoAutoDIV"></div>
|
|
<!-- Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc. -->
|
|
<!-- Distributed under the Boost Software License, Version 1.0. (See accompanying -->
|
|
<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
|
|
<div id="footer">
|
|
<p>
|
|
<a class="logo" href="http://jigsaw.w3.org/css-validator/check/referer"><img class="logo_pic" src="valid-css.png" alt="Valid CSS" height="31" width="88"/></a>
|
|
<a class="logo" href="http://validator.w3.org/check?uri=referer"><img class="logo_pic" src="valid-xhtml.png" alt="Valid XHTML 1.0" height="31" width="88"/></a>
|
|
<small>Copyright (c) 2008-2016 by Emil Dotchevski and Reverge Studios, Inc.<br/>
|
|
Distributed under the <a href="http://www.boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</small>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|