{"id":108,"date":"2014-11-05T05:35:04","date_gmt":"2014-11-05T05:35:04","guid":{"rendered":"http:\/\/www.voidbred.com\/blog\/?p=108"},"modified":"2014-11-05T05:41:27","modified_gmt":"2014-11-05T05:41:27","slug":"introspective-step-function","status":"publish","type":"post","link":"http:\/\/www.voidbred.com\/blog\/2014\/11\/introspective-step-function\/","title":{"rendered":"Introspective Step Function"},"content":{"rendered":"<p><a href=\"http:\/\/www.voidbred.com\/blog\/wp-content\/uploads\/2014\/11\/Screen-Shot-2014-11-04-at-9.17.21-PM.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-109\" src=\"http:\/\/www.voidbred.com\/blog\/wp-content\/uploads\/2014\/11\/Screen-Shot-2014-11-04-at-9.17.21-PM.png\" alt=\"Screen Shot 2014-11-04 at 9.17.21 PM\" width=\"330\" height=\"65\" srcset=\"http:\/\/www.voidbred.com\/blog\/wp-content\/uploads\/2014\/11\/Screen-Shot-2014-11-04-at-9.17.21-PM.png 330w, http:\/\/www.voidbred.com\/blog\/wp-content\/uploads\/2014\/11\/Screen-Shot-2014-11-04-at-9.17.21-PM-300x59.png 300w\" sizes=\"(max-width: 330px) 100vw, 330px\" \/><\/a>Today I derived a neat little function I haven&#8217;t needed in the past.\u00a0 I don&#8217;t know if there is already for a classification for this type of function but its a step (floor) function whose value tells you when the next step is going to happen.\u00a0 &#8220;n&#8221; is the number of steps you want to happen before 1.\u00a0 So for example f(4,0) = 0.125, f(4,0.124) = 0.125, f(4,0.125) = 0.375.<\/p>\n<p>I ended up using this to create another function that had spurts of regular activity, a saw wave with steep slope and long period,\u00a0 so the graph ended up looking like: ____\/____\/____\/\u00a0 More concretely it allowed me to turn interpolation between values on in pulses.\u00a0 I imagine there are a few cases where this class of function could be helpful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I derived a neat little function I haven&#8217;t needed in the past.\u00a0 I don&#8217;t know if there is already for a classification for this type of function but its a step (floor) function whose value tells you when the next step is going to happen.\u00a0 &#8220;n&#8221; is the number of steps you want to&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[13],"_links":{"self":[{"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/posts\/108"}],"collection":[{"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":3,"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":112,"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/posts\/108\/revisions\/112"}],"wp:attachment":[{"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.voidbred.com\/blog\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}