class GSL::SparseMatrix
- GSL::SparseMatrix
- GSL::Matrix
- Reference
- Object
Defined in:
gsl/base/matrix.crgsl/maths/basic/matrix.cr
Constructors
Instance Method Summary
- #*(n : Int32 | Float64) : SparseMatrix
- #==(m : GSL::SparseMatrix)
- #[](row : Int32, column : Int32) : Float64
- #[]=(row : Symbol | Int32, column : Symbol | Int32, x : Int32 | Float64)
- #column(c : Int32 | Symbol) : Vector
- #copy : SparseMatrix
- #finalize
- #get(row, column) : Float64
- #like : SparseMatrix
- #non_zero : Int32
- #pointer : Pointer(LibGSL::Gsl_spmatrix)
- #row(r : Int32 | Symbol) : Vector
- #set(row, column, x)
- #set_zero
-
#t : SparseMatrix
alias to transpose
- #transpose : SparseMatrix
Instance methods inherited from class GSL::Matrix
==(m : Matrix)
==,
[](row : Int32, column : Int32) : Float64[](row : Symbol | Int32, column : Symbol | Int32) : Vector [], column(c : Int32 | Symbol) : Vector column, copy : Matrix copy, each_columns(&block : Vector -> _) each_columns, each_rows(&block : Vector -> _) each_rows, get(row, column) : Float64 get, inspect inspect, like : Matrix like, map_columns(&block : Vector -> _) map_columns, map_rows(&block : Vector -> _) map_rows, ncols : LibC::SizeT ncols, nrows : LibC::SizeT nrows, pointer pointer, row(r : Int32 | Symbol) : Vector row, set(row, column, x) set, set_zero set_zero, shape shape, t : Matrix t, transpose : Matrix transpose