1.2.3-SNAPSHOT Arrow_down_16x16
  • (rank mat)
Returns the effective numerical matrix rank, which is the number of nonnegligible singular values.


Examples:

(use 'incanter.core)
(def foo (matrix (range 9) 3))
(rank foo)



References:
http://en.wikipedia.org/wiki/Matrix_rank
http://incanter.org/docs/parallelcolt/api/cern/colt/matrix/tdouble/algo/decomposition/DoubleSingularValueDecompositionDC.html

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/core.clj:1017 top

(defn rank
" Returns the effective numerical matrix rank, which is the number of nonnegligible singular values.


  Examples:

  (use 'incanter.core)
  (def foo (matrix (range 9) 3))
  (rank foo)



  References:
    http://en.wikipedia.org/wiki/Matrix_rank
    http://incanter.org/docs/parallelcolt/api/cern/colt/matrix/tdouble/algo/decomposition/DoubleSingularValueDecompositionDC.html
"
  ([mat]
    (.rank (DenseDoubleSingularValueDecomposition. mat, true, true))))
Vars in incanter.core/rank: defn
Used in 0 other vars

Comments top

No comments for rank. Log in to add a comment.