Trait

smile.math

Operators

Related Doc: package math

Permalink

trait Operators extends AnyRef

High level feature selection operators.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Operators
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to any2stringadd[Operators] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Operators, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to ArrowAssoc[Operators] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. implicit def array2VectorExpression(x: Array[Double]): VectorLift

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def beta(x: Double, y: Double): Double

    Permalink

    The beta function, also called the Euler integral of the first kind.

    The beta function, also called the Euler integral of the first kind.

    B(x, y) = 01 tx-1 (1-t)y-1dt

    for x, y > 0 and the integration is over [0,1].The beta function is symmetric, i.e. B(x,y) = B(y,x).

  9. def chisqtest(table: Array[Array[Int]]): CorTest

    Permalink

    Given a two-dimensional contingency table in the form of an array of integers, returns Chi-square test for independence.

    Given a two-dimensional contingency table in the form of an array of integers, returns Chi-square test for independence. The rows of contingency table are labels by the values of one nominal variable, the columns are labels by the values of the other nominal variable, and whose entries are non-negative integers giving the number of observed events for each combination of row and column. Continuity correction will be applied when computing the test statistic for 2x2 tables: one half is subtracted from all |O-E| differences. The correlation coefficient is calculated as Cramer's V.

  10. def chisqtest(x: Array[Int], prob: Array[Double], constraints: Int = 1): ChiSqTest

    Permalink

    One-sample chisq test.

    One-sample chisq test. Given the array x containing the observed numbers of events, and an array prob containing the expected probabilities of events, and given the number of constraints (normally one), a small value of p-value indicates a significant difference between the distributions.

  11. def chisqtest2(x: Array[Int], y: Array[Int], constraints: Int = 1): ChiSqTest

    Permalink

    Two-sample chisq test.

    Two-sample chisq test. Given the arrays x and y, containing two sets of binned data, and given one constraint, a small value of p-value indicates a significant difference between two distributions.

  12. def cholesky(A: MatrixExpression): Cholesky

    Permalink

    Cholesky decomposition.

  13. def cholesky(A: DenseMatrix): Cholesky

    Permalink

    Cholesky decomposition.

  14. def cholesky(A: Array[Array[Double]]): Cholesky

    Permalink

    Cholesky decomposition.

  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def det(A: MatrixExpression): Double

    Permalink

    Returns the determinant of matrix.

  17. def det(A: DenseMatrix): Double

    Permalink

    Returns the determinant of matrix.

  18. def diag(A: Matrix): Array[Double]

    Permalink

    Returns the diagonal elements of matrix.

  19. def digamma(x: Double): Double

    Permalink

    The digamma function is defined as the logarithmic derivative of the gamma function.

  20. def eig(A: MatrixExpression): Array[Double]

    Permalink

    Returns eigen values.

  21. def eig(A: DenseMatrix): Array[Double]

    Permalink

    Returns eigen values.

  22. def eig(A: Array[Array[Double]]): Array[Double]

    Permalink

    Returns eigen values.

  23. def eigen(A: DenseMatrix, k: Int, kappa: Double = 1E-8, maxIter: Int = 1): EVD

    Permalink

    Eigen decomposition.

  24. def eigen(A: MatrixExpression): EVD

    Permalink

    Eigen decomposition.

  25. def eigen(A: DenseMatrix): EVD

    Permalink

    Eigen decomposition.

  26. def eigen(A: Array[Array[Double]]): EVD

    Permalink

    Eigen decomposition.

  27. def ensuring(cond: (Operators) ⇒ Boolean, msg: ⇒ Any): Operators

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to Ensuring[Operators] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (Operators) ⇒ Boolean): Operators

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to Ensuring[Operators] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. def ensuring(cond: Boolean, msg: ⇒ Any): Operators

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to Ensuring[Operators] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): Operators

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to Ensuring[Operators] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  33. def erf(x: Double): Double

    Permalink

    The error function (also called the Gauss error function) is a special function of sigmoid shape which occurs in probability, statistics, materials science, and partial differential equations.

    The error function (also called the Gauss error function) is a special function of sigmoid shape which occurs in probability, statistics, materials science, and partial differential equations. It is defined as:

    erf(x) = 0x e-t2dt

    The complementary error function, denoted erfc, is defined as erfc(x) = 1 - erf(x). The error function and complementary error function are special cases of the incomplete gamma function.

  34. def erfc(x: Double): Double

    Permalink

    The complementary error function.

  35. def erfcc(x: Double): Double

    Permalink

    The complementary error function with fractional error everywhere less than 1.2 × 10-7.

    The complementary error function with fractional error everywhere less than 1.2 × 10-7. This concise routine is faster than erfc.

  36. def eye(m: Int, n: Int): DenseMatrix

    Permalink

    Returns an m-by-n identity matrix.

  37. def eye(n: Int): DenseMatrix

    Permalink

    Returns an n-by-n identity matrix.

  38. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to StringFormat[Operators] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  40. def ftest(x: Array[Double], y: Array[Double]): FTest

    Permalink

    Test if the arrays x and y have significantly different variances.

    Test if the arrays x and y have significantly different variances. Small values of p-value indicate that the two arrays have significantly different variances.

  41. def gamma(x: Double): Double

    Permalink

    Gamma function.

    Gamma function. Lanczos approximation (6 terms).

  42. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  43. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  44. def inv(A: MatrixExpression): DenseMatrix

    Permalink

    Returns the inverse of matrix.

  45. def inv(A: DenseMatrix): DenseMatrix

    Permalink

    Returns the inverse of matrix.

  46. def inverf(p: Double): Double

    Permalink

    The inverse error function.

  47. def inverfc(p: Double): Double

    Permalink

    The inverse complementary error function.

  48. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  49. def kendalltest(x: Array[Double], y: Array[Double]): CorTest

    Permalink

    Kendall rank correlation test.

    Kendall rank correlation test. The Kendall Tau Rank Correlation Coefficient is used to measure the degree of correspondence between sets of rankings where the measures are not equidistant. It is used with non-parametric data. The p-value is calculated by approximation, which is good for n > 10.

  50. def kstest(x: Array[Double], y: Array[Double]): KSTest

    Permalink

    The two-sample KS test for the null hypothesis that the data sets are drawn from the same distribution.

    The two-sample KS test for the null hypothesis that the data sets are drawn from the same distribution. Small values of p-value show that the cumulative distribution function of x is significantly different from that of y. The arrays x and y are modified by being sorted into ascending order.

  51. def kstest(x: Array[Double], y: Distribution): KSTest

    Permalink

    The one-sample KS test for the null hypothesis that the data set x is drawn from the given distribution.

    The one-sample KS test for the null hypothesis that the data set x is drawn from the given distribution. Small values of p-value show that the cumulative distribution function of x is significantly different from the given distribution. The array x is modified by being sorted into ascending order.

  52. def lgamma(x: Double): Double

    Permalink

    log of the Gamma function.

    log of the Gamma function. Lanczos approximation (6 terms)

  53. def lu(A: MatrixExpression): LU

    Permalink

    LU decomposition.

  54. def lu(A: DenseMatrix): LU

    Permalink

    LU decomposition.

  55. def lu(A: Array[Array[Double]]): LU

    Permalink

    LU decomposition.

  56. implicit def matrix2MatrixExpression(x: DenseMatrix): MatrixLift

    Permalink
  57. implicit def matrixExpression2Array(exp: MatrixExpression): DenseMatrix

    Permalink
  58. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  59. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  61. def ones(m: Int, n: Int): DenseMatrix

    Permalink

    Returns an m-by-n matrix of all ones.

  62. def ones(n: Int): DenseMatrix

    Permalink

    Returns an n-by-n matrix of all ones.

  63. def pearsontest(x: Array[Double], y: Array[Double]): CorTest

    Permalink

    Pearson correlation coefficient test.

  64. implicit def pimpArray2D(data: Array[Array[Double]]): PimpedArray2D

    Permalink
  65. implicit def pimpDouble(x: Double): PimpedDouble

    Permalink
  66. implicit def pimpDoubleArray(data: Array[Double]): PimpedDoubleArray

    Permalink
  67. implicit def pimpIntArray(data: Array[Int]): PimpedArray[Int]

    Permalink
  68. implicit def pimpMatrix(matrix: DenseMatrix): PimpedMatrix

    Permalink
  69. def qr(A: MatrixExpression): QR

    Permalink

    QR decomposition.

  70. def qr(A: DenseMatrix): QR

    Permalink

    QR decomposition.

  71. def qr(A: Array[Array[Double]]): QR

    Permalink

    QR decomposition.

  72. def rank(A: MatrixExpression): Int

    Permalink

    Returns the rank of matrix.

  73. def rank(A: DenseMatrix): Int

    Permalink

    Returns the rank of matrix.

  74. def spearmantest(x: Array[Double], y: Array[Double]): CorTest

    Permalink

    Spearman rank correlation coefficient test.

    Spearman rank correlation coefficient test. The Spearman Rank Correlation Coefficient is a form of the Pearson coefficient with the data converted to rankings (ie. when variables are ordinal). It can be used when there is non-parametric data and hence Pearson cannot be used.

    The raw scores are converted to ranks and the differences between the ranks of each observation on the two variables are calculated.

    The p-value is calculated by approximation, which is good for n > 10.

  75. def svd(A: DenseMatrix, k: Int, kappa: Double = 1E-8, maxIter: Int = 1): SVD

    Permalink

    SVD decomposition.

  76. def svd(A: MatrixExpression): SVD

    Permalink

    SVD decomposition.

  77. def svd(A: DenseMatrix): SVD

    Permalink

    SVD decomposition.

  78. def svd(A: Array[Array[Double]]): SVD

    Permalink

    SVD decomposition.

  79. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  80. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  81. def trace(A: Matrix): Double

    Permalink

    Returns the trace of matrix.

  82. def ttest(x: Array[Double], y: Array[Double]): TTest

    Permalink

    Given the paired arrays x and y, test if they have significantly different means.

    Given the paired arrays x and y, test if they have significantly different means. Small values of p-value indicate that the two arrays have significantly different means.

  83. def ttest(x: Array[Double], mean: Double): TTest

    Permalink

    Independent one-sample t-test whether the mean of a normally distributed population has a value specified in a null hypothesis.

    Independent one-sample t-test whether the mean of a normally distributed population has a value specified in a null hypothesis. Small values of p-value indicate that the array has significantly different mean.

  84. def ttest2(x: Array[Double], y: Array[Double], equalVariance: Boolean = false): TTest

    Permalink

    Test if the arrays x and y have significantly different means.

    Test if the arrays x and y have significantly different means. Small values of p-value indicate that the two arrays have significantly different means.

    equalVariance

    true if the data arrays are assumed to be drawn from populations with the same true variance. Otherwise, The data arrays are allowed to be drawn from populations with unequal variances.

  85. implicit def vectorExpression2Array(exp: VectorExpression): Array[Double]

    Permalink
  86. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  87. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. def zeros(m: Int, n: Int): DenseMatrix

    Permalink

    Returns an m-by-n zero matrix.

  90. def zeros(n: Int): DenseMatrix

    Permalink

    Returns an n-by-n zero matrix.

  91. def [B](y: B): (Operators, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Operators to ArrowAssoc[Operators] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Operators to any2stringadd[Operators]

Inherited by implicit conversion StringFormat from Operators to StringFormat[Operators]

Inherited by implicit conversion Ensuring from Operators to Ensuring[Operators]

Inherited by implicit conversion ArrowAssoc from Operators to ArrowAssoc[Operators]

Ungrouped