|
Your donations keep RPGWatch running!
RPGWatch Forums » General Forums » Off-Topic » MATLAB? Mathematica? MAPLE? Other?

Thumbs down MATLAB? Mathematica? MAPLE? Other?

October 26th, 2018, 01:09
Originally Posted by you View Post
I know very well what an infinite loop is and that is find and dandy; however, infinite recursion is problematic…. Btw I prefer do { } while (true);
function infiniteRecursionIsAProblem() {
infiniteRecursionIsAProblem();
}
--
Developer of The Wizard's Grave Android game. Discussion Thread:
http://www.rpgwatch.com/forums/showthread.php?t=22520
Lucky Day is offline

Lucky Day

Lucky Day's Avatar
Daywatch

#21

Join Date: Oct 2006
Location: The Uncanny Valley
Posts: 5,196
Mentioned: 14 Post(s)

Default 

October 26th, 2018, 01:32
Originally Posted by you View Post
I would think that you have a minor bug in your program Pibbur; as it would never end as presented. I think you meant:

pibbur(object who){while(who) pibbur(not who);}

but maybe I have no clue and you had it correct the first time.
That depends on the purpose the program. Muahahahahaha!!!!!

pibbur(object who) {while(true) {Console.WriteLine("Infinite recursion is intentional"); pibbur(who);}}

pibbur who

Guest

#22

Posts: n/a
Mentioned: Post(s)

Default 

October 26th, 2018, 01:42
"I hope you boys are using MATLAB responsibly in there!"

"Yes, Sir!" <sniggers>
--
"I cannot define the real problem, therefore I suspect there's no real problem, but I'm not sure there's no real problem."
Richard Feynman
Ripper is offline

Ripper

Ripper's Avatar
Бажаю успіху

#23

Join Date: Nov 2014
Posts: 11,256
Mentioned: 120 Post(s)
+1:

Default 

October 26th, 2018, 02:42
Originally Posted by Lucky Day View Post
function infiniteRecursionIsAProblem() {
infiniteRecursionIsAProblem();
}
If you're going to be evil, you might as well go all the way.

Sub Main()
DealWithIt:
GoSub DealWithIt
Return
End Sub
--
The very powerful and the very stupid have one thing in common: instead of altering their views to fit the facts, they alter the facts to fit their views….
-- Doctor Who in "Face of Evil"
Zloth is offline

Zloth

Zloth's Avatar
I smell a… wumpus!?

#24

Join Date: Aug 2008
Location: Kansas City
Posts: 7,637
Mentioned: 34 Post(s)
+1:

Default 

October 26th, 2018, 03:14
Originally Posted by pibbur who View Post

Recommendations (other than "don't waste money on math")?
I prefer "there is no reason to waste money on math".
I used to use Octave. It's free, open source, and very similar ("large compatible") to MATLAB.
https://www.gnu.org/software/octave/

I can't remember which front I used for it, but it was pretty good.

[Edit: just noticed SpoonFULL's post. I suck at the internets, which is part of why I'm spending less time on it]
--
Proud leader of the Shit Games Liberation Front
All your shit games are belong to us

FIRST KNIGHT OF THE ORDER OF THE BLOB
Shagnak is offline

Shagnak

Shagnak's Avatar
SGLF Founder

#25

Join Date: Oct 2006
Location: New Zealand
Posts: 1,453
Mentioned: 12 Post(s)

Default 

October 26th, 2018, 09:42
sagemath vs octave:
http://sagemath.blogspot.com/2007/12…of-octave.html

Originally Posted by Shagnak View Post
I prefer "there is no reason to waste money on math".
I used to use Octave. It's free, open source, and very similar ("large compatible") to MATLAB.
https://www.gnu.org/software/octave/

I can't remember which front I used for it, but it was pretty good.

[Edit: just noticed SpoonFULL's post. I suck at the internets, which is part of why I'm spending less time on it]
you is offline

you

Lazy_dog
RPGWatch Donor
Original Sin 2 Donor

#26

Join Date: Oct 2006
Location: usa - no longer boston
Posts: 7,758
Mentioned: 63 Post(s)

Default 

October 26th, 2018, 11:07
While these days there is some overlap, Matlab is aimed at numerical computing and Maple/Mathematica is for symbolic stuff. 99% of the time (including images) you need the former.

However, as mentioned just use python with the excellent opencv library and all its scientific computing libraries (numpy, scipy, matplotlib, etc.). Take a look at anaconda for an all-in-one package with all those libraries. It includes (or can be installed inside anaconda) most IDEs:
- spyder if you want a matlab-like environment where you execute stuff on the fly
- though I'm a huge fan of pycharm for all it's convenience features
ilm is offline

ilm

Keeper of the Watch
Original Sin 2 Donor

#27

Join Date: Jun 2009
Posts: 1,499
Mentioned: 11 Post(s)
+1:

Default 

October 26th, 2018, 20:00
Found this as an example of how to use a math package (in this case Mathematica)


pibbur who definitely would like to do things like this.

pibbur who

Guest

#28

Posts: n/a
Mentioned: Post(s)
+1:

Default 

October 27th, 2018, 04:31
The light year one is awesome!
--
The very powerful and the very stupid have one thing in common: instead of altering their views to fit the facts, they alter the facts to fit their views….
-- Doctor Who in "Face of Evil"
Zloth is offline

Zloth

Zloth's Avatar
I smell a… wumpus!?

#29

Join Date: Aug 2008
Location: Kansas City
Posts: 7,637
Mentioned: 34 Post(s)

Default 

October 27th, 2018, 10:21
@Pibbur I do quite a bit of image processing and computer vision stuff for work and often use OpenCV. It's a library that implements many useful image processing operations and has Python and C++ bindings. And it's free :-)
booboo is offline

booboo

booboo's Avatar
SasqWatch

#30

Join Date: Aug 2007
Location: Cape Town, South Africa
Posts: 1,881
Mentioned: 25 Post(s)
+1:

Default 

October 29th, 2018, 09:53
Thank you very much for all your replies. I was pleasantly surprised, didn't think som many of you had so much to contribute (shame on me).

I guess you want a report when after I've decided what to do, but that will take some time, I'm unfortunately too busy with other projects.

pibbur who now NATURALly realizes that his choices REALly aren't as COMPLEX as first thought. And has decided that his PRIME choice will be one of the open source packages.

pibbur who

Guest

#31

Posts: n/a
Mentioned: Post(s)

Default 

November 7th, 2018, 02:52
Originally Posted by Zloth View Post
If you're going to be evil, you might as well go all the way.

Sub Main()
DealWithIt:
GoSub DealWithIt
Return
End Sub
Forgot to like this

Or when your compiler will not allow recursion

void ping() {
pong();
}

void pong() {
ping();
}

incidentally, I recently had to give this tip to someone still messing with NWN Scripting. Since events happen at the end of compiling IIRC on Aurora I told him to have the script EXEC itself after a delay to invoke script recursion.
--
Developer of The Wizard's Grave Android game. Discussion Thread:
http://www.rpgwatch.com/forums/showthread.php?t=22520
Lucky Day is offline

Lucky Day

Lucky Day's Avatar
Daywatch

#32

Join Date: Oct 2006
Location: The Uncanny Valley
Posts: 5,196
Mentioned: 14 Post(s)
RPGWatch Forums » General Forums » Off-Topic » MATLAB? Mathematica? MAPLE? Other?

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 07:53.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
vBulletin Security provided by DragonByte Security (Pro) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Copyright by RPGWatch