1.2.3-SNAPSHOT Arrow_down_16x16

condition

incanter.core

  • (condition mat)
Returns the two norm condition number, which is max(S) / min(S), where S is the diagonal matrix of singular values from an SVD decomposition.


Examples:

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


References:
http://en.wikipedia.org/wiki/Condition_number
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:998 top

(defn condition
" Returns the two norm condition number, which is max(S) / min(S), where S is the diagonal matrix of singular values from an SVD decomposition.


  Examples:

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


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

Comments top

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