Class: DoubleMDMatrix1D

Inherits:
FloatingMDMatrix1D show all
Defined in:
lib/colt/matrix/matrix_hierarchy.rb

Instance Attribute Summary

Attributes inherited from MDMatrix

#colt_matrix, #mdarray, #rank

Instance Method Summary collapse

Methods inherited from MDMatrix

build, double, float, from_colt_matrix, from_mdarray, int, long, #normalize!, #print, #sum

Constructor Details

#initialize(mdarray, colt_matrix) ⇒ DoubleMDMatrix1D





43
44
45
46
# File 'lib/colt/matrix/matrix_hierarchy.rb', line 43

def initialize(mdarray, colt_matrix)
  super(mdarray, colt_matrix)
  @algebra = DenseDoubleAlgebra.new
end