archive-name.com » NAME » J » JUSTINLOVE.NAME

Total: 120

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Module: MathViz::Measurable
    e Numeric which does not have MathViz Units but can be turned into something which does i e MathViz Constant Public Instance Methods per click to toggle source return term wrapping self with new units assigned to the denominator File lib mathviz rb line 227 def per MathViz default term new self per end to value click to toggle source api method for unwrapping terms File lib mathviz rb line

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Measurable.html (2016-04-30)
    Open archived version from archive


  • Module: MathViz::Measured
    File lib mathviz rb line 268 def per unit sign 1 unit sign 1 self end to value click to toggle source api method for unwrapping terms File lib mathviz rb line 280 def to value to f end unit x click to toggle source Add the named unit to our units and return self See also MathViz Units Class new units File lib mathviz rb line 256 def unit

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Measured.html (2016-04-30)
    Open archived version from archive

  • Class: MathViz::Operation::Unary
    Unary MathViz Term MathViz Unit MathViz Units MathViz Units Class Numeric Object No matching classes MathViz Operation Unary Special cases for unary operators Public Instance Methods to dot g click to toggle source Extend Graphviz g with a representation of this object and incoming connections File lib mathviz rb line 653 def to dot g super operands each x link from g x normal true end to value click to

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Operation/Unary.html (2016-04-30)
    Open archived version from archive

  • Class: MathViz::Operation
    def collapse parentop nil operands operands flat map x x collapse op if anonymous parentop op operands else self end end color click to toggle source Graphviz node color differentiates basic mathematical operators File lib mathviz rb line 587 def color case op when green when yellow when blue when cyan else red end end constant click to toggle source File lib mathviz rb line 625 def constant operands all constant end finite click to toggle source File lib mathviz rb line 629 def finite operands all finite end link from g other style label click to toggle source Draws edges and ensure the from nodes is drawn File lib mathviz rb line 598 def link from g other style label if label g other to s g node arrowhead style headlabel op to s labeldistance 2 else g other to s g node arrowhead style end other to dot g unless other generated end long click to toggle source Debugging method returns string of names and values File lib mathviz rb line 572 def long n name name n op operands join to value end shape click to toggle source Graphviz node shape differentiates comparison operators File lib mathviz

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Operation.html (2016-04-30)
    Open archived version from archive

  • Class: MathViz::Term
    respond to name value name var to s end end end unop op click to toggle source Define op as an unary operator File lib mathviz rb line 354 def self unop op define method op do MathViz Operation Unary new op self end end Public Instance Methods click to toggle source File lib mathviz rb line 494 binop click to toggle source File lib mathviz rb line 470 binop click to toggle source File lib mathviz rb line 464 binop click to toggle source File lib mathviz rb line 467 binop click to toggle source File lib mathviz rb line 473 binop click to toggle source File lib mathviz rb line 485 binop click to toggle source File lib mathviz rb line 488 binop click to toggle source File lib mathviz rb line 500 binop click to toggle source File lib mathviz rb line 482 binop click to toggle source File lib mathviz rb line 491 binop anonymous click to toggle source Only valid after names have been assigned which means not during graph construction File lib mathviz rb line 430 def anonymous name end ceil click to toggle source File lib mathviz rb line 460 unop ceil collapse parentop nil click to toggle source Stub File lib mathviz rb line 435 def collapse parentop nil self end color click to toggle source Graphviz node color File lib mathviz rb line 404 def color black end data click to toggle source A string representation of the node s data typically calculated value with units File lib mathviz rb line 368 def data f to value if f kind of TrueClass f kind of FalseClass f to s elsif f respond to finite f to s with units elsif f finite MathViz Infinity to s elsif f floor f f

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Term.html (2016-04-30)
    Open archived version from archive

  • Class: MathViz::Unit
    simple unit With a hash of powers it simply copies those values Otherwise it becomes a dimensionless unit File lib mathviz rb line 108 def initialize h nil unit Hash new 0 case h when Hash unit merge h normalize when Symbol unit h 1 end unit freeze freeze end Public Instance Methods other click to toggle source Alias for binary operator other click to toggle source File lib mathviz rb line 141 def other x unit dup other unit each do u power x u power end MathViz Unit new x end other click to toggle source Alias for binary operator other click to toggle source Alias for binary operator other click to toggle source File lib mathviz rb line 149 def other x unit dup other unit each do u power x u power end MathViz Unit new x end other click to toggle source Alias for binary operator other click to toggle source Alias for binary operator other click to toggle source Alias for binary operator binary operator other click to toggle source Implement a simple binary operation It verifies that the units match and returns the unit ERROR if not File lib mathviz rb line 119

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Unit.html (2016-04-30)
    Open archived version from archive

  • Module: MathViz::Units::Class
    No matching classes MathViz Units Class Provides the new units class method to all classes with units Public Instance Methods included host click to toggle source extend MathViz Units Class File lib mathviz rb line 209 def included host host extend MathViz Units Class end new units units click to toggle source Define new units instance methods on module MathViz Units where they will be picked up by everything including

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Units/Class.html (2016-04-30)
    Open archived version from archive

  • Module: MathViz::Units
    Graphable MathViz Input MathViz Measurable MathViz Measured MathViz NumericOperations MathViz Operation MathViz Operation Unary MathViz Term MathViz Unit MathViz Units MathViz Units Class Numeric Object No matching classes MathViz Units Common container for defined units including MathViz Units triggers extension

    Original URL path: http://justinlove.name/gems/mathviz/MathViz/Units.html (2016-04-30)
    Open archived version from archive



  •