All Downloads are FREE. Search and download functionalities are using the official Maven repository.

poly.algebra.TrigExpOps.scala Maven / Gradle / Ivy

package poly.algebra

import poly.algebra.factory._
import poly.algebra.specgroup._

/**
 * Represents the support for trigonometric and exponential/logarithmic functions.
 * @author Tongfei Chen
 * @since 0.2.0
 */
trait TrigExpOps[@sp(fd) X] {
  def e: X
  def pi: X
  def exp(a: X): X
  def expm1(a: X): X
  def log(a: X): X
  def log1p(a: X): X
  def sin(a: X): X
  def cos(a: X): X
  def tan(a: X): X
  def arcsin(a: X): X
  def arccos(a: X): X
  def arctan(a: X): X
  def atan2(y: X, x: X): X
  def sinh(x: X): X
  def cosh(x: X): X
  def tanh(x: X): X
}

object TrigExpOps extends ImplicitGetter[TrigExpOps]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy