Class: GSLng::Matrix

Inherits:
Object
  • Object
show all
Defined in:
lib/gsl-ng/matrix.rb

Overview

GSLng::Matrix is extended with two aliases:

GSLng::Matrix#frames, which is an alias for GSLng::Matrix#m and GSLng::Matrix#height

GSLng::Matrix#channels, which is an alias for GSLng::Matrix#n and GSLng::Matrix#width

Defined Under Namespace

Classes: GSL_matrix

Instance Method Summary collapse

Instance Method Details

#data_ptrObject

:nodoc:



32
33
34
# File 'lib/gsl-ng/matrix.rb', line 32

def data_ptr # :nodoc:
  GSL_matrix.new(ptr)[:data]
end