Method: CsrMatrix::Functions#tr
- Defined in:
- lib/csrmatrix/functions.rb
#tr ⇒ Object
69 70 71 72 73 74 |
# File 'lib/csrmatrix/functions.rb', line 69 def tr() # alias for trace # identifies the trace of the matrix is_invariant? return self.trace() end |