abstract struct MM::SimpleParameterType(*T)

Direct Known Subclasses

Defined in:

mm/params.cr

Constructors

Instance Method Summary

Instance methods inherited from struct MM::ParameterType({*T})

<=>(rhs : self) : Int32 <=>, ==(typenames : Tuple(*T)) : Bool ==, ===(rhs : self) : Bool
===(typenames : Tuple(*T)) : Bool
===
, comment : String | Nil comment, copy_with(typenames : Tuple(*T)) : self copy_with, each_typename_permutation(& : Tuple(*T) -> ) : Nil each_typename_permutation, penalty : Float64 penalty, typename_permutations : Array(Tuple(*T)) typename_permutations, typenames : Tuple(*T) typenames

Constructor methods inherited from struct MM::ParameterType({*T})

new(typenames : Tuple(*T), penalty : Float64 = 0.0, comment : String | Nil = nil) new

Constructor Detail

def self.new(typenames : Tuple(*T), force_constant : Float64, eq_value : Float64, penalty : Float64 = 0.0, comment : String | Nil = nil) #

[View source]

Instance Method Detail

def ==(rhs : self) : Bool #

[View source]
def copy_with(typenames : Tuple(*T)) #

Returns a copy but changing the given values.


[View source]
def eq_value : Float64 #

[View source]
def force_constant : Float64 #

[View source]