9 lines
92 B
Ruby
9 lines
92 B
Ruby
module Math
|
|
|
|
# Secans hyperbolicus of +x+
|
|
def self.sech(x)
|
|
1.0 / cosh(x)
|
|
end
|
|
|
|
end
|