Class: RObject::Matrix

Inherits:
Base
  • Object
show all
Includes:
Helper::MatrixMultiply
Defined in:
lib/robject/type/matrix.rb

Instance Attribute Summary

Attributes inherited from Base

#robj

Class Method Summary collapse

Methods included from Helper::MatrixMultiply

#*, #is_robj_matrix_multiply?

Methods inherited from Base

#__getobj__, #as_r, delegate_to_R, #initialize, #is_function?, #method_missing, #to_ruby

Constructor Details

This class inherits a constructor from RObject::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RObject::Base

Class Method Details

.match?(robj, type) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/robject/type/matrix.rb', line 5

def self.match? robj, type
  type == 'matrix'
end