Packages

object ComplexFunction

A companion object for the ComplexFunction trait.

This contains all the subclasses of the sealed ComplexFunction class, and implicit conversions.

Source
ComplexFunction.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComplexFunction
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Abs (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the absolute of another.

    A function which is the absolute of another.

    When evaluated, the result will be the absolute of the result of evaluating the other function. Since the absolute only returns real numbers, the result will have imaginary part 0.

    argument

    The function of which this is the absolute

  2. case class Acos (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the inverse cosine of another.

    A function which is the inverse cosine of another.

    When evaluated, the result will be the inverse cosine of the result of evaluating the other function.

    argument

    The function of which this is the inverse cosine

  3. case class Acosh (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the inverse hyperbolic cosine of another.

    A function which is the inverse hyperbolic cosine of another.

    When evaluated, the result will be the inverse hyperbolic cosine of the result of evaluating the other function.

    argument

    The function of which this is the inverse hyperbolic cosine

  4. case class Add (left: ComplexFunction, right: ComplexFunction) extends BinaryFunction with Product with Serializable

    A function which adds together two other functions.

    A function which adds together two other functions.

    When evaluated, the result will be the result of evaluating one function added to the result of evaluating the other.

    left

    One of the two functions to be added

    right

    The other of the two functions to be added

  5. case class Arg (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the argument of another.

    A function which is the argument of another.

    When evaluated, the result will be the argument of the result of evaluating the other function. Since the argument only returns real numbers, the result will have imaginary part 0.

    argument

    The function of which this is the argument

  6. case class Asin (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the inverse sine of another.

    A function which is the inverse sine of another.

    When evaluated, the result will be the inverse sine of the result of evaluating the other function.

    argument

    The function of which this is the inverse sine

  7. case class Asinh (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the inverse hyperbolic sine of another.

    A function which is the inverse hyperbolic sine of another.

    When evaluated, the result will be the inverse hyperbolic sine of the result of evaluating the other function.

    argument

    The function of which this is the inverse hyperbolic sine

  8. case class Atan (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the inverse tangent of another.

    A function which is the inverse tangent of another.

    When evaluated, the result will be the inverse tangent of the result of evaluating the other function.

    argument

    The function of which this is the inverse tangent

  9. case class Atanh (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the inverse hyperbolic tangent of another.

    A function which is the inverse hyperbolic tangent of another.

    When evaluated, the result will be the inverse hyperbolic tangent of the result of evaluating the other function.

    argument

    The function of which this is the inverse hyperbolic tangent

  10. abstract class BinaryFunction extends ComplexFunction

    Represents a ComplexFunction with two arguments.

  11. case class Conj (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the conjugate of another.

    A function which is the conjugate of another.

    When evaluated, the result will be the conjugate of the result of evaluating the other function, that is, it will have the same real part but a negated imaginary part.

    argument

    The function of which this is the conjugate

  12. case class Constant (value: Complex) extends NullaryFunction with Product with Serializable

    A constant which, when evaluated, always returns the same value.

    A constant which, when evaluated, always returns the same value.

    value

    The value that this constant represents

  13. case class Cos (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the cosine of another.

    A function which is the cosine of another.

    When evaluated, the result will be the cosine of the result of evaluating the other function.

    argument

    The function of which this is the cosine

  14. case class Cosh (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the hyperbolic cosine of another.

    A function which is the hyperbolic cosine of another.

    When evaluated, the result will be the hyperbolic cosine of the result of evaluating the other function.

    argument

    The function of which this is the hyperbolic cosine

  15. case class Divide (left: ComplexFunction, right: ComplexFunction) extends BinaryFunction with Product with Serializable

    A function which divides one function by another.

    A function which divides one function by another.

    When evaluated, the result will be the result of evaluating one function divided by the result of evaluating the other.

    left

    The dividend

    right

    The divisor

  16. case class Im (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the imaginary part of another.

    A function which is the imaginary part of another.

    When evaluated, the result will be the imaginary part of the result of evaluating the other function. The result will have imaginary part 0, and its real part will be equal to the imaginary part of the other function.

    argument

    The function of which this is the imaginary part

  17. case class Log (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the natural logarithm of another.

    A function which is the natural logarithm of another.

    When evaluated, the result will be the natural logarithm of the result of evaluating the other function.

    argument

    The function of which this is the natural logarithm

  18. case class Multiply (left: ComplexFunction, right: ComplexFunction) extends BinaryFunction with Product with Serializable

    A function which multiplies one function by another.

    A function which multiplies one function by another.

    When evaluated, the result will be the result of evaluating one function multiplied by the result of evaluating the other.

    left

    The first function to be multiplied

    right

    The second function to be multiplied

  19. abstract class NullaryFunction extends ComplexFunction

    Represents a ComplexFunction with no arguments.

  20. case class Power (left: ComplexFunction, right: ComplexFunction) extends BinaryFunction with Product with Serializable

    A function which raises one function to the power of another.

    A function which raises one function to the power of another.

    When evaluated, the result will be the result of evaluating one function to the power of the result of evaluating the other.

    left

    The base

    right

    The exponent

  21. case class Re (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the real part of another.

    A function which is the real part of another.

    When evaluated, the result will be the real part of the result of evaluating the other function. The result will have imaginary part 0.

    argument

    The function of which this is the real part

  22. case class Sin (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the sine of another.

    A function which is the sine of another.

    When evaluated, the result will be the sine of the result of evaluating the other function.

    argument

    The function of which this is the sine

  23. case class Sinh (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the hyperbolic sine of another.

    A function which is the hyperbolic sine of another.

    When evaluated, the result will be the hyperbolic sine of the result of evaluating the other function.

    argument

    The function of which this is the hyperbolic sine

  24. case class Sqrt (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the square root of another.

    A function which is the square root of another.

    When evaluated, the result will be the square root of the result of evaluating the other function.

    argument

    The function of which this is the square root

  25. case class Subtract (left: ComplexFunction, right: ComplexFunction) extends BinaryFunction with Product with Serializable

    A function which subtracts one function from another.

    A function which subtracts one function from another.

    When evaluated, the result will be the result of evaluating one function subtracted from the result of evaluating the other.

    left

    The minuend

    right

    The subtrahend

  26. case class Tan (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the tangent of another.

    A function which is the tangent of another.

    When evaluated, the result will be the tangent of the result of evaluating the other function.

    argument

    The function of which this is the tangent

  27. case class Tanh (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the hyperbolic tangent of another.

    A function which is the hyperbolic tangent of another.

    When evaluated, the result will be the hyperbolic tangent of the result of evaluating the other function.

    argument

    The function of which this is the hyperbolic tangent

  28. abstract class TernaryFunction extends ComplexFunction

    Represents a ComplexFunction with three arguments.

  29. abstract class UnaryFunction extends ComplexFunction

    Represents a ComplexFunction with one argument.

  30. case class UnaryMinus (argument: ComplexFunction) extends UnaryFunction with Product with Serializable

    A function which is the negative of another.

    A function which is the negative of another.

    When evaluated, the result will be the negative of the result of evaluating the other function.

    argument

    The function to be negated

  31. case class Variable (variable: String) extends NullaryFunction with Product with Serializable

    A variable which, when evaluated, will return its respective function in the variable map.

    A variable which, when evaluated, will return its respective function in the variable map.

    If, when evaluated, the variable's string representation is not found in the map, it will throw a VariableException.

    variable

    The string representation of the variable

  32. abstract class VariadicFunction extends ComplexFunction

    Represents a ComplexFunction with a variable number of arguments.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. implicit def toConstant(v: Int): Constant

    Implicitly wraps the input as a Constant.

    Implicitly wraps the input as a Constant.

    v

    The input to be converted to a Constant.

    returns

    A Constant which, when evaluated, will return the input as a Complex.

  17. implicit def toConstant(v: Double): Constant

    Implicitly wraps the input as a Constant.

    Implicitly wraps the input as a Constant.

    v

    The input to be converted to a Constant.

    returns

    A Constant which, when evaluated, will return the input as a Complex.

  18. implicit def toConstant(v: Complex): Constant

    Implicitly wraps the input as a Constant.

    Implicitly wraps the input as a Constant.

    v

    The input to be converted to a Constant.

    returns

    A Constant which, when evaluated, will return the input.

  19. implicit def toSet(implicit str: String): Set[String]

    Implicitly converts a String into a Set[String]

    Implicitly converts a String into a Set[String]

    str

    The String to convert

    returns

    A Set[String] containing only the input

  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. object BinaryFunction

    The companion object for the BinaryFunction class, containing only an unapply method.

  25. object NullaryFunction

    The companion object for the NullaryFunction class, containing only an unapply method.

  26. object TernaryFunction

    The companion object for the TernaryFunction class, containing only an unapply method.

  27. object UnaryFunction

    The companion object for the UnaryFunction class, containing only an unapply method.

  28. object VariadicFunction

    The companion object for the VariadicFunction class, containing only an unapply method.

Inherited from AnyRef

Inherited from Any

Ungrouped