Class: SparseNMatrix
- Inherits:
-
Object
- Object
- SparseNMatrix
- Defined in:
- ext/ruby_nmatrix.c
Class Method Summary collapse
-
.coo ⇒ Object
Singleton Methods.
- .csc ⇒ Object
- .csr ⇒ Object
- .dia ⇒ Object
Instance Method Summary collapse
-
#dtype ⇒ Object
Instance Methods.
- #shape ⇒ Object
- #to_array ⇒ Object
-
#to_nmatrix ⇒ Object
Sparse matrix to NMatrix.
Class Method Details
.coo ⇒ Object
Singleton Methods
477 |
# File 'ext/ruby_nmatrix.c', line 477 VALUE coo_sparse_nmatrix_init(int argc, VALUE* argv); |
.csc ⇒ Object
479 |
# File 'ext/ruby_nmatrix.c', line 479 VALUE csc_sparse_nmatrix_init(int argc, VALUE* argv); |
.csr ⇒ Object
478 |
# File 'ext/ruby_nmatrix.c', line 478 VALUE csr_sparse_nmatrix_init(int argc, VALUE* argv); |
.dia ⇒ Object
480 |
# File 'ext/ruby_nmatrix.c', line 480 VALUE dia_sparse_nmatrix_init(int argc, VALUE* argv); |
Instance Method Details
#dtype ⇒ Object
Instance Methods
481 |
# File 'ext/ruby_nmatrix.c', line 481 VALUE nm_sparse_get_dtype(VALUE self); |
#shape ⇒ Object
482 |
# File 'ext/ruby_nmatrix.c', line 482 VALUE nm_sparse_get_shape(VALUE self); |
#to_array ⇒ Object
483 |
# File 'ext/ruby_nmatrix.c', line 483 VALUE nm_sparse_to_array(VALUE self); |
#to_nmatrix ⇒ Object
Sparse matrix to NMatrix
490 |
# File 'ext/ruby_nmatrix.c', line 490 VALUE nm_sparse_to_nmatrix(VALUE self); |