axle.matrix

JblasMatrixFactory

trait JblasMatrixFactory extends MatrixFactory

Self Type
JblasMatrixFactory
Linear Supertypes
MatrixFactory, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. JblasMatrixFactory
  2. MatrixFactory
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. type E [T] = JblasElementAdapter[T]

    Definition Classes
    JblasMatrixFactoryMatrixFactory
  2. case class JblasElementAdapter [I] (fp: FunctionPair[Double, I], format: (I) ⇒ String) extends Product with Serializable

  3. trait JblasMatrix [T] extends Matrix[T]

  4. class JblasMatrixImpl [T] extends JblasMatrix[T]

  5. type M [T] = JblasMatrix[T]

    Type Parameters:

    Type Parameters:

    T element type S storage type M subtype of Matrix that is backed by storage S and has elements of type T

    Definition Classes
    JblasMatrixFactoryMatrixFactory
  6. trait Matrix [T] extends AnyRef

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def I [T] (n: Int)(implicit elementAdapter: JblasElementAdapter[T]): JblasMatrix[T]

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def centerColumns (m: M[Double]): M[Double]

  9. def centerRows (m: M[Double]): M[Double]

  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def columnRange (m: M[Double]): M[Double]

  12. def cov (m: M[Double]): M[Double]

  13. def diag [T] (row: JblasMatrix[T])(implicit elementAdapter: E[T]): JblasMatrix[T]

  14. implicit val double2boolean : FunctionPair[Double, Boolean]

    Attributes
    implicit
  15. implicit val double2double : FunctionPair[Double, Double]

    Attributes
    implicit
  16. implicit val double2int : FunctionPair[Double, Int]

    Attributes
    implicit
  17. implicit val elementAdapterBoolean : JblasElementAdapter[Boolean]

    Attributes
    implicit
  18. implicit val elementAdapterDouble : JblasElementAdapter[Double]

    Attributes
    implicit
  19. implicit val elementAdapterInt : JblasElementAdapter[Int]

    Attributes
    implicit
  20. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  21. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def eye [T] (n: Int)(implicit elementAdapter: JblasElementAdapter[T]): JblasMatrix[T]

  23. def falses (m: Int, n: Int): JblasMatrix[Boolean]

  24. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. implicit val formatBoolean : (Boolean) ⇒ String

    Attributes
    implicit
  26. implicit val formatDouble : (Double) ⇒ String

    Attributes
    implicit
  27. implicit val formatInt : (Int) ⇒ String

    Attributes
    implicit
  28. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  29. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  30. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  31. def matrix [T] (m: Int, n: Int, f: (Int, Int) ⇒ T)(implicit elementAdapter: E[T]): M[T]

    Definition Classes
    JblasMatrixFactoryMatrixFactory
  32. def matrix [T] (m: Int, n: Int, topleft: ⇒ T, left: (Int) ⇒ T, top: (Int) ⇒ T, fill: (Int, Int, T, T, T) ⇒ T)(implicit elementAdapter: E[T]): M[T]

    Definition Classes
    JblasMatrixFactoryMatrixFactory
  33. def matrix [T] (r: Int, c: Int, values: Array[T])(implicit elementAdapter: E[T]): JblasMatrix[T]

    Definition Classes
    JblasMatrixFactoryMatrixFactory
  34. def matrix [T] (s: DoubleMatrix)(implicit elementAdapter: E[T]): JblasMatrix[T]

  35. def median (m: M[Double]): M[Double]

  36. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  37. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  38. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  39. def numComponentsForCutoff (s: M[Double], cutoff: Double): Int

  40. def ones [T] (m: Int, n: Int)(implicit elementAdapter: JblasElementAdapter[T]): JblasMatrix[T]

  41. def pca (Xnorm: M[Double], cutoff: Double = 0.95): (M[Double], M[Double])

    Principal Component Analysis (PCA)

    Principal Component Analysis (PCA)

    assumes that the input matrix, Xnorm, has been normalized, in other words: mean of each column == 0.0 stddev of each column == 1.0 (I'm not clear if this is a strict requirement)

    http://folk.uio.no/henninri/pca_module/ http://public.lanl.gov/mewall/kluwer2002.html https://mailman.cae.wisc.edu/pipermail/help-octave/2004-May/012772.html

    returns

    (U, S) where U = eigenvectors and S = eigenvalues (truncated to requested cutoff)

  42. def rand [T] (m: Int, n: Int)(implicit elementAdapter: JblasElementAdapter[T]): JblasMatrix[T]

  43. def randn [T] (m: Int, n: Int)(implicit elementAdapter: JblasElementAdapter[T]): JblasMatrix[T]

  44. def rowRange (m: M[Double]): M[Double]

  45. def std (m: M[Double]): M[Double]

  46. def sumsq (m: M[Double]): M[Double]

  47. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  48. def toString (): String

    Definition Classes
    AnyRef → Any
  49. def trues (m: Int, n: Int): JblasMatrix[Boolean]

  50. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  53. def zeros [T] (m: Int, n: Int)(implicit elementAdapter: JblasElementAdapter[T]): JblasMatrix[T]

    Definition Classes
    JblasMatrixFactoryMatrixFactory
  54. def zscore (m: M[Double]): M[Double]

Inherited from MatrixFactory

Inherited from AnyRef

Inherited from Any