{"id":18,"date":"2005-04-01T05:08:12","date_gmt":"2005-04-01T05:08:12","guid":{"rendered":"http:\/\/ahay.org\/blog\/?p=18"},"modified":"2015-08-04T23:51:52","modified_gmt":"2015-08-04T23:51:52","slug":"sfmath","status":"publish","type":"post","link":"https:\/\/ahay.org\/blog\/2005\/04\/01\/sfmath\/","title":{"rendered":"sfmath"},"content":{"rendered":"<p><a href=\"\/RSF\/sfmath.html\">sfmath<\/a> can now work with complex numbers. Try something like<br \/>\n<b>sfmath n1=100 type=complex output=&#8221;exp(I*x1)&#8221; | sfgraph screenratio=1 | xtpen<\/b><br \/>\nYou cannot, however, mix float and complex files in the input. Use <u>sfdd<\/u>, <u>sfrtoc<\/u>, <u>sfreal<\/u>, <u>sfimag<\/u> and <u>sfcmplx<\/u> to convert between real and complex types.<br \/>\n<b>sfmath n1=100 output=x1 | sfrtoc | sfmath output=&#8221;exp(I*input)&#8221; | sfgraph screenratio=1 | xtpen<\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>sfmath can now work with complex numbers. Try something like sfmath n1=100 type=complex output=&#8221;exp(I*x1)&#8221; | sfgraph screenratio=1 | xtpen You cannot, however, mix float and complex files in the input. Use sfdd, sfrtoc, sfreal, sfimag and sfcmplx to convert between real and complex types. sfmath n1=100 output=x1 | sfrtoc | sfmath output=&#8221;exp(I*input)&#8221; | sfgraph screenratio=1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-18","post","type-post","status-publish","format-standard","hentry","category-programs"],"_links":{"self":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":1,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":897,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions\/897"}],"wp:attachment":[{"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ahay.org\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}