parent
746e2dcf9a
commit
2387bacc97
1 changed files with 6 additions and 0 deletions
|
|
@ -125,6 +125,12 @@ namespace rotgen
|
|||
return a / b;
|
||||
}
|
||||
|
||||
template<concepts::entity A>
|
||||
auto square(A const& a)
|
||||
{
|
||||
return mul(a,a);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
// Reductions
|
||||
//-----------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue