slash

package slash

Members list

Packages

package slash.geometry
package slash.interval
package slash.matrix
package slash.stats
package slash.unicode
package slash.vector

Type members

Classlikes

trait Bijection[A, B](using a2b: A => B, b2a: B => A)

Attributes

Source
Bijection.scala
Supertypes
class Object
trait Matchable
class Any
object Constant

Attributes

Source
Constant.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Constant.type
case class ExtraDimensionalAccessException[N <: Int](v: Vec[N], ci: Int) extends Exception

Attributes

Source
package.scala
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Factorial

Attributes

Source
Factorial.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Factorial.type
object Gamma

Attributes

Source
Gamma.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Gamma.type

Attributes

Source
Gamma.scala
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
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.

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
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Random

Attributes

Source
Random.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Random.type
case class UnsupportedVectorDimension(givenDimension: Int, requiredDimension: Int) extends Exception

Attributes

Source
package.scala
Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class VectorNormalizationException[N <: Int](v: Vec[N]) extends Exception

Attributes

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

Value members

Concrete methods

def B(α: Double, β: Double): Double

Attributes

Source
package.scala
def beta(α: Double, β: Double): Double

Attributes

Source
package.scala
inline def cubeInPlace(b: Byte): Byte

Attributes

Source
package.scala
inline def cubeInPlace(s: Short): Short

Attributes

Source
package.scala
inline def cubeInPlace(i: Int): Int

Attributes

Source
package.scala
inline def cubeInPlace(l: Long): Long

Attributes

Source
package.scala
inline def cubeInPlace(bi: BigInt): BigInt

Attributes

Source
package.scala
inline def cubeInPlace(f: Float): Float

Attributes

Source
package.scala
inline def cubeInPlace(d: Double): Double

Attributes

Source
package.scala
inline def cubeInPlace(bd: BigDecimal): BigDecimal

Attributes

Source
package.scala
inline def degreesToRadians(degrees: Double): Double

Attributes

Source
package.scala
def gamma(x: Double): Double

Attributes

Source
package.scala
inline def ln(x: Double): Double

Attributes

Source
package.scala
def lnGamma(x: Double): Double

Attributes

Source
package.scala
inline def log[BASE <: Double | Int](y: Double): Double

Compute a logarithm of the given base. Because Logâ‚“(y) = Math.log10(y) / Math.log10(x), this method computes the denominator at compile time. For example, to compute log base 2 of 64:

Compute a logarithm of the given base. Because Logâ‚“(y) = Math.log10(y) / Math.log10(x), this method computes the denominator at compile time. For example, to compute log base 2 of 64:

 log[2](64) 

To compute log base π of 42:

 log[3.141592653589793](42) 

Type parameters

BASE

the base of the logarithm.

Value parameters

y

the input to the logarithm operator.

Attributes

Returns

logâ‚“(y) where x = base and y = d.

Source
package.scala
def nextDown[N](x: N): N

Attributes

Source
package.scala
def nextUp[N](x: N): N

Attributes

Source
package.scala
inline def radiansToDegrees(radians: Double): Double

Attributes

Source
package.scala
inline def squareInPlace(b: Byte): Byte

Attributes

Source
package.scala
inline def squareInPlace(s: Short): Short

Attributes

Source
package.scala
inline def squareInPlace(i: Int): Int

Attributes

Source
package.scala
inline def squareInPlace(l: Long): Long

Attributes

Source
package.scala
inline def squareInPlace(bi: BigInt): BigInt

Attributes

Source
package.scala
inline def squareInPlace(f: Float): Float

Attributes

Source
package.scala
inline def squareInPlace(d: Double): Double

Attributes

Source
package.scala

Attributes

Source
package.scala
def Γ(x: Double): Double

Attributes

Source
package.scala
inline def √(d: Double): Double

Attributes

Source
package.scala
inline def ∛(d: Double): Double

Attributes

Source
package.scala
inline def ∜(d: Double): Double

Attributes

Source
package.scala

Extensions

Extensions

extension (b: Byte)
inline def <(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def <=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def nextDown: Byte

Attributes

Source
package.scala
inline def nextUp: Byte

Attributes

Source
package.scala
extension (b: Short)
inline def <(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def <=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def nextDown: Short

Attributes

Source
package.scala
inline def nextUp: Short

Attributes

Source
package.scala
extension (bd: BigDecimal)
inline def <(x: Byte): Boolean

Attributes

Source
package.scala
inline def <(x: Short): Boolean

Attributes

Source
package.scala
inline def <(x: Float): Boolean

Attributes

Source
package.scala
inline def <(x: Double): Boolean

Attributes

Source
package.scala
inline def <(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <=(x: Byte): Boolean

Attributes

Source
package.scala
inline def <=(x: Short): Boolean

Attributes

Source
package.scala
inline def <=(x: Float): Boolean

Attributes

Source
package.scala
inline def <=(x: Double): Boolean

Attributes

Source
package.scala
inline def <=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >(x: Byte): Boolean

Attributes

Source
package.scala
inline def >(x: Short): Boolean

Attributes

Source
package.scala
inline def >(x: Float): Boolean

Attributes

Source
package.scala
inline def >(x: Double): Boolean

Attributes

Source
package.scala
inline def >(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >=(x: Byte): Boolean

Attributes

Source
package.scala
inline def >=(x: Short): Boolean

Attributes

Source
package.scala
inline def >=(x: Float): Boolean

Attributes

Source
package.scala
inline def >=(x: Double): Boolean

Attributes

Source
package.scala
inline def >=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def nextDown: BigDecimal

Attributes

Source
package.scala
inline def nextUp: BigDecimal

Attributes

Source
package.scala
extension (bi: BigInt)
inline def <(x: Byte): Boolean

Attributes

Source
package.scala
inline def <(x: Short): Boolean

Attributes

Source
package.scala
inline def <(x: Float): Boolean

Attributes

Source
package.scala
inline def <(x: Double): Boolean

Attributes

Source
package.scala
inline def <(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def <=(x: Byte): Boolean

Attributes

Source
package.scala
inline def <=(x: Short): Boolean

Attributes

Source
package.scala
inline def <=(x: Float): Boolean

Attributes

Source
package.scala
inline def <=(x: Double): Boolean

Attributes

Source
package.scala
inline def <=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >(x: Byte): Boolean

Attributes

Source
package.scala
inline def >(x: Short): Boolean

Attributes

Source
package.scala
inline def >(x: Float): Boolean

Attributes

Source
package.scala
inline def >(x: Double): Boolean

Attributes

Source
package.scala
inline def >(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >=(x: Byte): Boolean

Attributes

Source
package.scala
inline def >=(x: Short): Boolean

Attributes

Source
package.scala
inline def >=(x: Float): Boolean

Attributes

Source
package.scala
inline def >=(x: Double): Boolean

Attributes

Source
package.scala
inline def >=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def nextDown: BigInt

Attributes

Source
package.scala
inline def nextUp: BigInt

Attributes

Source
package.scala
extension (d: Double)
inline def <(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def nextDown: Double

Attributes

Source
package.scala
inline def nextUp: Double

Attributes

Source
package.scala
extension (f: Float)
inline def <(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def <=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def <=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def >=(x: BigInt): Boolean

Attributes

Source
package.scala
inline def >=(x: BigDecimal): Boolean

Attributes

Source
package.scala
inline def nextDown: Float

Attributes

Source
package.scala
inline def nextUp: Float

Attributes

Source
package.scala
extension (i: Int)
inline def nextDown: Int

Attributes

Source
package.scala
inline def nextUp: Int

Attributes

Source
package.scala
extension (l: Long)
inline def nextDown: Long

Attributes

Source
package.scala
inline def nextUp: Long

Attributes

Source
package.scala