Jump to content

How Could I use Complex Number via VEX Language?


faxingberlin

Recommended Posts

I am making some fractal which is needed Complex Numbers.

I use Python Module's Complex Method. => complex(1, 2) = 1+2j

But I want to know using Complex Numbers via VEX Language.

 

According to SideFX's Houdini Documents, 

vector2 : Two floating point values. You might use this to represent texture coordinates (though usually Houdini uses vectors) or complex numbers.

But I cannot know how to express the complex numbers in VEX.

Link to comment
Share on other sites

On 23.4.2017 at 3:56 AM, mestela said:

Ace, thanks petz!

(edit)

Oh wait, its a subset of functionality of the standard lib, so no cdiv or other more interesting things. Doh!

 

ah, yes, cdiv is missing. might be worth an RFE!

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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...