Minor documentation fix - cotangent and secant were swapped
This commit is contained in:
parent
f8f10daaae
commit
c8b1d4b498
1 changed files with 2 additions and 2 deletions
|
@ -672,7 +672,7 @@ pub trait Angle where
|
||||||
Self::sin(self).recip()
|
Self::sin(self).recip()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Compute the secant of the angle.
|
/// Compute the cotangent of the angle.
|
||||||
///
|
///
|
||||||
/// This is the same as computing the reciprocal of `Self::tan`.
|
/// This is the same as computing the reciprocal of `Self::tan`.
|
||||||
///
|
///
|
||||||
|
@ -688,7 +688,7 @@ pub trait Angle where
|
||||||
Self::tan(self).recip()
|
Self::tan(self).recip()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Compute the cotatangent of the angle.
|
/// Compute the secant of the angle.
|
||||||
///
|
///
|
||||||
/// This is the same as computing the reciprocal of `Self::cos`.
|
/// This is the same as computing the reciprocal of `Self::cos`.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue