-->
Interval arithmetic questions
-->
-->
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
-->
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Math and Science
»
Interval arithmetic questions
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Interval arithmetic questions (Read 4889 times)
0 Members and 1 Guest are viewing this topic.
harold
LV5
Advanced (Next: 300)
Posts: 226
Rating: +41/-3
Interval arithmetic questions
«
on:
August 07, 2011, 12:07:34 pm »
I'm doing some interval arithmetic, and I can't seem to find the answer to this:
When adding two intervals where one of them is empty, what is the result?
For example, [a, b] + {} =
empty
[a, b]
undefined
?
Logged
Blog about bitmath:
bitmath.blogspot.nl
Check the
haroldbot thread
for the supported commands and syntax.
You can use haroldbot from
this website
.
ben_g
Hey cool I can set a custom title now :)
LV9
Veteran (Next: 1337)
Posts: 1002
Rating: +125/-4
Asm noob
Re: Interval arithmetic questions
«
Reply #1 on:
August 07, 2011, 02:23:08 pm »
I think the result would be ERR:DIM MISMATCH, so it's undefined.
Logged
My projects
- The Lost Survivors (Unreal Engine)
ACTIVE
[GameCommandoSquad main project]
- Oxo, with single-calc multiplayer and AI (axe)
RELEASED
(
screenshot
) (
topic
)
- An android version of oxo (java)
ACTIVE
- A 3D collision detection library (axe)
RELEASED!
(
topic
)(
screenshot
)(
more recent screenshot
)(
screenshot of it being used in a tilemapper
)
Spoiler
For
inactive
:
- A first person shooter with a polygon-based 3d engine. (z80, will probably be recoded in axe using GLib)
ON HOLD
(
screenshot
)
- A java MORPG. (pc)
DEEP COMA
(
read more
)(
screenshot
)
- a minecraft game in axe
DEAD
(
source code available
)
- a 3D racing game (axe)
ON HOLD
(
outdated screenshot of asm version
)
This signature was last updated on 20/04/2015 and may be outdated
fb39ca4
LV10
31337 u53r (Next: 2000)
Posts: 1749
Rating: +60/-3
Re: Interval arithmetic questions
«
Reply #2 on:
August 07, 2011, 02:26:16 pm »
These aren't matrices, but I also think it is undefined.
Interval addition is defined as [a,b]+[c,d]=[a+b,c+d], and since c and d are undefined, [a+undefined,b+undefined], would be [undefined, undefined] or just undefined.
Logged
Horrowind
LV2
Member (Next: 40)
Posts: 25
Rating: +6/-0
Re: Interval arithmetic questions
«
Reply #3 on:
August 07, 2011, 02:56:31 pm »
to rephrase the t0xic_kitt3ns statement: there is no empty intervall, {} is the empty set, and therefore can not be added to an intervall.
Logged
AngelFish
Is this my custom title?
Administrator
LV12
Extreme Poster (Next: 5000)
Posts: 3242
Rating: +270/-27
I'm a Fishbot
Re: Interval arithmetic questions
«
Reply #4 on:
August 07, 2011, 03:40:12 pm »
It depends on what you're asking. If you're asking how to add the null set to an interval, it's undefined. If you're asking how to add an interval equivalent to ]a,a[, then the answer is that the interval remains unchanged.
Logged
∂²Ψ -(2m(V(x)-E)Ψ
--- = -------------
∂x² ℏ²Ψ
harold
LV5
Advanced (Next: 300)
Posts: 226
Rating: +41/-3
Re: Interval arithmetic questions
«
Reply #5 on:
August 07, 2011, 03:53:40 pm »
ok thanks, it looks like it's undefined
shortly after making the first post I changed the algorithm somewhat so that it will never have to attempt interval addition where one is the empty interval, so I don't really need this anymore, but thanks anyway
Logged
Blog about bitmath:
bitmath.blogspot.nl
Check the
haroldbot thread
for the supported commands and syntax.
You can use haroldbot from
this website
.
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Other Discussions
»
Math and Science
»
Interval arithmetic questions
\n\t\t\t\t\t\t\t\t\t
<' + '/div>\n\t\t\t\t\t\t\t\t\t
%body%<' + '/textarea>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
Max characters: 20000; characters remaining:
...<' + '/span><' + '/span>
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t<' + '/div>\n\t\t\t\t\t\t\t\t<' + '/div>', sTemplateSubjectEdit: '
', sTemplateBodyNormal: '%body%', sTemplateSubjectNormal: '
%subject%<' + '/a>', sTemplateTopSubject: 'Topic: %subject% (Read 4889 times)', sErrorBorderStyle: '1px solid red' }); aJumpTo[aJumpTo.length] = new JumpTo({ sContainerId: "display_jump_to", sJumpToTemplate: "
Jump to:<" + "/label> %dropdown_list%", iCurBoardId: 144, iCurBoardChildLevel: 1, sCurBoardName: "Math and Science", sBoardChildLevelIndicator: "==", sBoardPrefix: "=> ", sCatSeparator: "-----------------------------", sCatPrefix: "", sGoButtonLabel: "go" }); aIconLists[aIconLists.length] = new IconList({ sBackReference: "aIconLists[" + aIconLists.length + "]", sIconIdPrefix: "msg_icon_", sScriptUrl: smf_scripturl, bShowModify: true, iBoardId: 144, iTopicId: 12428, sSessionId: "b56ed1042be12e977efdb62837d5de60", sSessionVar: "a7a72a4ba38", sLabelIconList: "Message Icon", sBoxBackground: "transparent", sBoxBackgroundHover: "#ffffff", iBoxBorderWidthHover: 1, sBoxBorderColorHover: "#adadad" , sContainerBackground: "#ffffff", sContainerBorder: "1px solid #adadad", sItemBorder: "1px solid #ffffff", sItemBorderHover: "1px dotted gray", sItemBackground: "transparent", sItemBackgroundHover: "#e0e0f0" }); } function tick2() { if (typeof(document.forms.quickModForm) != "undefined") { calcCharLeft2(); setTimeout("tick2()", 1000); } else setTimeout("tick2()", 800); } function message_onkeyup() { if (typeof(document.forms.quickModForm) != "undefined" && typeof(document.forms.quickModForm.message) != "undefined") { document.forms.quickModForm.message.onkeyup = function onkeyup(event) { storeCaret(this); calcCharLeft2(); }; } else setTimeout("message_onkeyup()", 800); } message_onkeyup(); function calcCharLeft2() { var maxLength = 20000; var oldEditor = "", currentEditor = document.forms.quickModForm.message.value; if (!document.getElementById("editorLeft2")) return; if (oldEditor != currentEditor) { oldEditor = currentEditor; if (currentEditor.replace(/\r/, "").length > maxLength) document.forms.quickModForm.message.value = currentEditor.replace(/\r/, "").substring(0, maxLength); currentEditor = document.forms.quickModForm.message.value.replace(/\r/, ""); } setInnerHTML(document.getElementById("editorLeft2"), maxLength - currentEditor.length); } // ]]>-->