class GSL::SparseMatrix

Defined in:

gsl/base/matrix.cr
gsl/maths/basic/matrix.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(rows : Int32, columns : Int32) #

[View source]

Instance Method Detail

def *(n : Int32 | Float64) : SparseMatrix #

[View source]
def ==(m : GSL::SparseMatrix) #

[View source]
def [](row : Int32, column : Int32) : Float64 #

[View source]
def []=(row : Symbol | Int32, column : Symbol | Int32, x : Int32 | Float64) #

[View source]
def column(c : Int32 | Symbol) : Vector #

[View source]
def copy : SparseMatrix #

[View source]
def finalize #

[View source]
def get(row, column) : Float64 #

[View source]
def like : SparseMatrix #

[View source]
def non_zero : Int32 #

[View source]
def pointer : Pointer(LibGSL::Gsl_spmatrix) #

[View source]
def row(r : Int32 | Symbol) : Vector #

[View source]
def set(row, column, x) #

[View source]
def set_zero #

[View source]
def t : SparseMatrix #
Description copied from class GSL::Matrix

alias to transpose


[View source]
def transpose : SparseMatrix #

[View source]