Method: NMatrix#gesdd
- Defined in:
- lib/nmatrix/math.rb
#gesdd(workspace_size = nil) ⇒ Object
call-seq:
gesdd -> [u, sigma, v_transpose]
gesdd -> [u, sigma, v_conjugate_transpose] # complex
Compute the singular value decomposition of a matrix using LAPACK’s GESDD function. This uses a divide-and-conquer strategy. See also #gesvd.
Optionally accepts a workspace_size parameter, which will be honored only if it is larger than what LAPACK requires.
350 351 352 |
# File 'lib/nmatrix/math.rb', line 350 def gesdd(workspace_size=nil) self.clone.gesdd!(workspace_size) end |