Jump to content

Autolisp code for working with Imaginary numbers


symysgames

Recommended Posts

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:D

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Thank you again , I find autocad and autolisp such a good combination for exploring mathematics with a more artistic approach , you can create your own mappings , just need to keep a good visualisation of what you are doing. I was wondering when T was going to fall upon complex numbers , then I realised they were staring at me. I don't see myself as a mathematician but as an artist who loves numbers and especially Integers . I know my perspective is quite original, Imagine a mapping composed of infinite many similar mappings The mapping is composed of tiny blocks of the size of a pixel containing attributes. One difficulty I encountered was counting these blocks with selection sets. I found that autolisp does not like empty selection sets and the only solution I found was making certain the selection sets were never empty.

The other problem occurred when the blocks became the size of a pixel, I found that I was selecting too many of them because of the width of the selecting line. So I stead of using the drawing I used algebra and that's ok now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...