class GSL::DenseMatrix

Defined in:

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

Constructors

Class Method Summary

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.eye(size : Int32) : DenseMatrix #

[View source]
def self.new(rows : Int32, columns : Int32) #

[View source]

Class Method Detail

def self.free(m : DenseMatrix) #

[View source]

Instance Method Detail

def *(v : Vector) : Vector #

[View source]

[View source]
def *(n : Int32 | Float64) : DenseMatrix #

[View source]
def +(n : DenseMatrix) : DenseMatrix #

[View source]
def +(n : Int32 | Float64) : DenseMatrix #

[View source]
def -(n : Int32 | Float64) : DenseMatrix #

[View source]

[View source]
def /(n : Int32 | Float64) : DenseMatrix #

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

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

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

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

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

[View source]
def copy : GSL::DenseMatrix #

[View source]
def empty? #

[View source]
def finalize #

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

[View source]
def has_neg? #

[View source]
def head #

[View source]
def i : DenseMatrix #

alias to inverse


[View source]
def inverse : DenseMatrix #

[View source]
def like : DenseMatrix #

[View source]
def max #

[View source]
def max_index #

[View source]
def min #

[View source]
def min_index #

[View source]
def minmax #

[View source]
def neg? #

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

[View source]
def pos? #

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

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

[View source]
def set_all(n : Float64 | Int32) #

[View source]
def set_col(c : Int32, v : Vector) : Int32 #

[View source]
def set_identity #

[View source]
def set_row(r : Int32, v : Vector) : Int32 #

[View source]
def set_zero #

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

alias to transpose


[View source]
def tail #

[View source]
def transpose : DenseMatrix #

[View source]