User Tag List

Results 1 to 9 of 9

Thread: Asking about mod expression

  1. #1
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Asking about mod expression

    Well I'm not really good at math :blush: so would anyone tell me what is the use of mod expression? What is it and when to use it?

    Thanks in advance

  2. #2
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    a formal product of places of a number field

  3. #3
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    More clearly please?

  4. #4
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=131092&gonew=1# UNREAD

  5. #5
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    MOD is used to get the remainder from a division of numbers. For example:

    16 MOD 4 will return 0, as 4 can be divided into 16 exactly.
    Whereas 17 MOD 4 will return 1 as the result.

    Hope that makes sense.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    Where does the mathematical concept of MOD come from? When I have used Modulus in maths at school Modulus = Absolute Value. It does not seem to be the same in programming in MMF. I have always wondered about that... even though I find MMF's Mod to be a super useful function.

  7. #7
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    In MMF we actually use 'Modulo' rather then 'Modular' arithmetic such as taught is schools...

    They both give the same results but are calculated and displayed differently.

    The original concepts of modular maths were conceived to allow for 12 hours clocks, hence modular arithmetic is often called 'Clock arithmetic'


    ABS() is the function to return the absolute in mmf.

  8. #8
    Clicker Multimedia Fusion 2 Developer
    Jax's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    702
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    Hey NetNinja,

    The concept of Mod was first put out completely by Guass in Disquisitiones Arithmeticae.

    The idea is, you take the numbers {0,1,2,...,n-1} as representatives ([small]or you can work with equivalence classes if you like, it's not an issue[/small]) and work modulo n. i.e. you set a+b to be Mod[a+b,n] and so forth.

    You then get the lovely fact that they work just like the integers, except for a small hitch with cancelling.

    But even nicer, let n be prime. Then for any number i there exists another number j such that i*j = 1. That is, it has an inverse under multiplication. Thus it forms a finite field. Fields are particularly nice things. And finite things are particularly nice. Finite fields are not particularly nice things as odd things happen in them in Algebraic Geometry and Galois Theory.

    Of course, everything that can be stated with modulo arithmetic can be stated without it, but it is such a nice concept and it really tidies things up.

    'Modulus' means length hence the mix up. However, in mathematics 'modulus' is nearly always used to mean 'up to', as an abuse of language.

  9. #9
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Asking about mod expression

    This is all bringing back happy memories of failing Advanced Higher maths.

Similar Threads

  1. Help with expression
    By Kentronisk in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st October 2012, 11:57 PM
  2. Help: need an expression
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th October 2012, 12:10 PM
  3. Keystate expression
    By Algul in forum Extension Development
    Replies: 10
    Last Post: 17th February 2010, 10:52 AM
  4. Looking for an expression
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th July 2008, 03:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •