abstract class GSL::Matrix

Direct Known Subclasses

Defined in:

gsl/base/iterator.cr
gsl/base/matrix.cr

Instance Method Summary

Instance methods inherited from class GSL::Object

finalize finalize, free free, pointer pointer, to_unsafe to_unsafe

Instance Method Detail

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

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

[View source]
def abs #

returns maximum norm of matrix


[View source]
abstract def clone : self #

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

[View source]
def copy #

[View source]
def each_columns(&block : Vector -> _) #

[View source]
def each_rows(&block : Vector -> _) #

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

[View source]
def inspect #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
abstract def like : Matrix #

[View source]
def map_columns(&block : Vector -> _) #

[View source]
def map_rows(&block : Vector -> _) #

[View source]
def ncols : Int32 #

[View source]
def nrows : Int32 #

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

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

[View source]
abstract def set_zero #

[View source]
def shape #

[View source]
def t #

alias to transpose


[View source]
abstract def transpose : self #

[View source]