Log

slash.`package`.Log
case class Log(base: Double)

This class can yield drastic performance improvements in cases when the base of an oft-repeated logarithm operation can't be known at compile time, or can't be expressed as a constant.

Value parameters

base

the base of the logarithm operator.

Attributes

Source
package.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

inline def apply(x: Double): Double

Computes logarithm with a base defined in the constructor of the class of the operand specified by the x parameter.

Computes logarithm with a base defined in the constructor of the class of the operand specified by the x parameter.

Value parameters

x

the operand to this logarithm operator.

Attributes

Source
package.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product