+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Discipline
    Manufacture
    symysgames's Discipline Details
    Occupation
    cabinet maker, carpenter, building technician, electronic technician, Artist
    Discipline
    Manufacture
    Using
    AutoCAD 2000
    Join Date
    Oct 2016
    Posts
    10

    Default Autolisp code for working with Imaginary numbers

    Registered forum members do not see this ad.

    Hello
    I am searching for good auto lisp code for doing algebra with imaginary numbers. Will be very grateful for any efficient answer.
    Thank you

  2. #2
    Quantum Mechanic BIGAL's Avatar
    Using
    Civil 3D 2016
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    10,794

    Default

    Its in the imaginary lisp code library
    A man who never made mistakes never made anything

  3. #3
    Senior Member Manila Wolf's Avatar
    Discipline
    Construction
    Using
    AutoCAD 2016
    Join Date
    Oct 2011
    Location
    Philippines
    Posts
    165

    Default

    Untested: -

    Code:
     .
    
    
    
    
    
    
    
    
    )

  4. #4
    Forum Deity SEANT's Avatar
    Using
    AutoCAD 2014
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    2,463

    Default

    In case anyone think the original post flippant:
    https://en.wikipedia.org/wiki/Imaginary_number

  5. #5
    Senior Member Manila Wolf's Avatar
    Discipline
    Construction
    Using
    AutoCAD 2016
    Join Date
    Oct 2011
    Location
    Philippines
    Posts
    165

    Default

    Quote Originally Posted by SEANT View Post
    In case anyone think the original post flippant:
    https://en.wikipedia.org/wiki/Imaginary_number
    I am indeed guilty of showing a lack of seriousness.
    For that I sincerely apologise to the OP.

  6. #6
    Junior Member
    Discipline
    Manufacture
    symysgames's Discipline Details
    Occupation
    cabinet maker, carpenter, building technician, electronic technician, Artist
    Discipline
    Manufacture
    Using
    AutoCAD 2000
    Join Date
    Oct 2016
    Posts
    10

    Default

    Thank you for your answer, Does anyone have a link for the imaginary lisp code library, I found one but seems obsolete. It seems the best way is to treat them as vectors and define every operation. I am not looking for information on imaginary numbers, In fact I use autocad and auto lisp to generate patterns from mathematical expressions to study Integers.
    Just discovered thanks to autocad that every integer belongs to one and only one of the two expressions :Z1 = x^2 + 2x(y+1) + y^2 + y +1 and Z2 = x^2 + 2x(y+1) + y^2 + 3y +2 when x,y > 0 or = 0
    When x,y take negative values, Z1 and Z2 take similar values . But it's when they take imaginary values and when Z1 and Z2 are integers that I am studying now. From these two relations I discovered that there are many ways to factorise integers. Doing math with autocad seems a bit crazy as there are many math programs, but I am an artist and I love integers. I'm working on a exhibition I would like to do, . If you have any interesting links for me. Thank you all and have a good day.

  7. #7
    Super Member nukecad's Avatar
    Computer Details
    nukecad's Computer Details
    Operating System:
    Win 10 home.
    Computer:
    Various machines.
    Using
    AutoCAD 2000i
    Join Date
    Apr 2009
    Location
    NW Cumbria (English Lake District)
    Posts
    718

    Default

    Have you looked at Lee Mac's lisps for creating fractals in Autocad?
    They use imaginaries.

    http://www.lee-mac.com/fractals.html
    *** Out of Beer Error ->-> Recovering Memory***

  8. #8
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Win 7 Pro / Win 10 Pro / Linux Mint
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2018
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,567

    Default

    I have also published a small library for working with complex numbers.
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  9. #9
    Junior Member
    Discipline
    Manufacture
    symysgames's Discipline Details
    Occupation
    cabinet maker, carpenter, building technician, electronic technician, Artist
    Discipline
    Manufacture
    Using
    AutoCAD 2000
    Join Date
    Oct 2016
    Posts
    10

    Default

    Thank you so much, this is what I was looking for.

  10. #10
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Win 7 Pro / Win 10 Pro / Linux Mint
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2018
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,567

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by symysgames View Post
    Thank you so much, this is what I was looking for.
    Excellent - you're welcome.
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

Similar Threads

  1. Autolisp code – what do you do with it?
    By CAD Panacea in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 5th Feb 2016, 03:10 pm
  2. Copy and paste autolisp code not working?
    By CAD Panacea in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 28th Jan 2016, 02:30 pm
  3. real numbers in autolisp
    By gpd in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 25th Jul 2010, 01:41 pm
  4. I need an AutoLisp code please!
    By facad in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 18th Sep 2009, 09:32 pm
  5. PDF Plotting Imaginary Line
    By BenE in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 8th Dec 2008, 02:13 pm

Tags for this Thread

Bookmarks

Posting Permissions

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