some doc, deploy tool fix
This commit is contained in:
@@ -55,12 +55,23 @@ inline complexd sign(const complexd & x) {
|
||||
return complexd(sign(x.real()), sign(x.imag()));
|
||||
}
|
||||
|
||||
//! \~\brief
|
||||
//! \~english Round, floor, and ceil functions for complex numbers.
|
||||
//! \~russian Округление, округление вниз и округление вверх комплексных чисел.
|
||||
inline complexd round(const complexd & c) {
|
||||
return complexd(piRound<double>(c.real()), piRound<double>(c.imag()));
|
||||
}
|
||||
|
||||
//! \~\brief
|
||||
//! \~english Floor a complex number.
|
||||
//! \~russian Округление комплексного числа вниз.
|
||||
inline complexd floor(const complexd & c) {
|
||||
return complexd(floor(c.real()), floor(c.imag()));
|
||||
}
|
||||
|
||||
//! \~\brief
|
||||
//! \~english Ceil a complex number.
|
||||
//! \~russian Округление комплексного числа вверх.
|
||||
inline complexd ceil(const complexd & c) {
|
||||
return complexd(ceil(c.real()), ceil(c.imag()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user