Module: CernFloatFunctions

Extended by:
CernFunctions, FunctionCreation
Included in:
FloatMDArray
Defined in:
lib/colt/cern_float_functions.rb

Class Method Summary collapse

Methods included from CernFunctions

cern_binary_function, cern_comparison_function, cern_unary_function, make_binary_operator, make_binary_operators, make_comparison_operator, make_unary_operator, make_unary_operators

Methods included from FunctionCreation

make_binary_op, make_unary_op

Class Method Details

.register(als, name, long_name, type) ⇒ Object


127
128
129
130
131
# File 'lib/colt/cern_float_functions.rb', line 127

def self.register(als, name, long_name, type)
  map = cern_binary_function(name, long_name, Java::CernJetMathTfloat.FloatFunctions,
                             type)
  MDArray.register_function(als, map, 2, CernFunctions.binary_helper)
end