9 lines
95 B
Ruby
9 lines
95 B
Ruby
module Math
|
|
|
|
# Cotangens hyperbolicus of +x+
|
|
def self.coth(x)
|
|
1.0 / tanh(x)
|
|
end
|
|
|
|
end
|