• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:36
CET 19:36
KST 03:36
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners10Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
StarCraft, SC2, HotS, WC3, Returning to Blizzcon!44$5,000+ WardiTV 2025 Championship7[BSL21] RO32 Group Stage4Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win10
StarCraft 2
General
Mech is the composition that needs teleportation t StarCraft, SC2, HotS, WC3, Returning to Blizzcon! RotterdaM "Serral is the GOAT, and it's not close" TL.net Map Contest #21: Winners Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Constellation Cup - Main Event - Stellar Fest $5,000+ WardiTV 2025 Championship Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Where's CardinalAllin/Jukado the mapmaker? [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[ASL20] Grand Finals [BSL21] RO32 Group A - Saturday 21:00 CET [Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET
Strategy
Current Meta PvZ map balance How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile Should offensive tower rushing be viable in RTS games? Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Learning my new SC2 hotkey…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1662 users

The Big Programming Thread - Page 834

Forum Index > General Forum
Post a Reply
Prev 1 832 833 834 835 836 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Acrofales
Profile Joined August 2010
Spain18112 Posts
Last Edited: 2017-02-03 11:05:41
February 03 2017 11:03 GMT
#16661
On February 03 2017 19:04 Askelad wrote:
Well I don't know any other tool to do scientific computing, except FORTRAN, and I really don't think FORTRAN will solve any of my issues (but maybe I'm wrong). I mean Python or Matlab or whatever are great for small size tests and prototypes but they are way too slow to use with full data :'(

You think you can program something faster than matlab? :O

Scientific computing is a rather broad term, so maybe your specific problem cannot be reduced to a load of matrix operations, but almost every problem I know of can be solved faster in Matlab than in something cobbled together in C++.

Hell, most problems can be solved faster in Python or R, which are significantly less optimized than Matlab, than in something you put together yourself in C++. Especially as they rely on the same libraries (libblas and libatlas) which are written in C and are the most heavily optimized (fee) libraries for linear algebra in existence. They are also relatively bugfree.

Main reason to step away from Matlab I can think of, is to use GPUs. A friend of mine works on GPU algorithms for scientific computing and I think he does use C++. Is that what you're doing?
Askelad
Profile Joined October 2016
France20 Posts
Last Edited: 2017-02-18 17:51:54
February 03 2017 11:36 GMT
#16662
.
Acrofales
Profile Joined August 2010
Spain18112 Posts
February 03 2017 12:02 GMT
#16663
Yeah, the price is of course quite shocking, but I assumed you have a university license, of your company pays for it. If it's for a hobby project at home, then yeah, the price of Matlab is a very valid concern :p

I don't know much about image segmentation, but everybody I know who works on computer vision swears by Matlab. Especially as images are basically just big matrices.

Matlab is better at loops than it used to be, but it's still not really optimized for them. Generally speaking, you want to write everything you possibly can as a vector (or matrix). It's usually a different way of thinking about the problem, though.


Have you looked at Matlab's optimization toolbox?
Askelad
Profile Joined October 2016
France20 Posts
Last Edited: 2017-02-18 17:50:09
February 03 2017 12:19 GMT
#16664
.
Isualin
Profile Joined March 2011
Germany1903 Posts
Last Edited: 2017-02-03 14:32:01
February 03 2017 14:31 GMT
#16665
There is also octave, a free alternative to Matlab. It is slower but was enough for the computer vision course i took
| INnoVation | The literal god TY | ByuNjwa | LRSL when? |
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 03 2017 16:13 GMT
#16666
speaking of matlab, I have to use it for my linear algebra class

they don't seem to be interested in teaching us to use it at all, though
guess it will be useful to have some experience with it though
Acrofales
Profile Joined August 2010
Spain18112 Posts
February 03 2017 16:20 GMT
#16667
On February 04 2017 01:13 travis wrote:
speaking of matlab, I have to use it for my linear algebra class

they don't seem to be interested in teaching us to use it at all, though
guess it will be useful to have some experience with it though

Seems sensible enough. Your linear algebra class is there to teach you linear algebra. Not how to use matlab. A large part of university is (should be) learning how to figure shit out for yourself. Grab a book/tutorial and work through what you need to know. Matlab is pretty easy (as evidenced by all the biologists and physicists who have figured out how to use it ) for a complex mathematical package.
Askelad
Profile Joined October 2016
France20 Posts
Last Edited: 2017-02-18 17:49:55
February 03 2017 17:08 GMT
#16668
.
Zocat
Profile Joined April 2010
Germany2229 Posts
Last Edited: 2017-02-03 17:47:50
February 03 2017 17:47 GMT
#16669
On February 03 2017 21:19 Askelad wrote:
-The fact that for this project I work on 3D images means that most existing image-processing code (Matlab or C++ or else) is not usable (even when the algorithm would not be conceptually different at all!)


ITK? Combined with VTK / OpenCV that should cover basically all your segmentation / image processing needs.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 03 2017 21:39 GMT
#16670
having trouble understanding something in my discrete structures course



question is, for which set D is this true: for all x in D[there exists a y in D ( x < y)]

1.) real numbers
2.) integers
3.) rational numbers
4.) natural numbers


I am confused by the question because isn't the answer just "any of them" ?

Can't you just say that for every x, y = x +1
and do that for real numbers, for integers, for rational numbers, and for natural numbers ?
Acrofales
Profile Joined August 2010
Spain18112 Posts
February 03 2017 21:49 GMT
#16671
Yes?
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 03 2017 21:53 GMT
#16672
okay good. it just seemed like a stupid question and I wanted to make sure I wasn't crazy or missing something obvious
Askelad
Profile Joined October 2016
France20 Posts
Last Edited: 2017-02-18 17:49:42
February 03 2017 22:04 GMT
#16673
.
tofucake
Profile Blog Joined October 2009
Hyrule19151 Posts
February 04 2017 15:10 GMT
#16674
integers, rational, and natural numbers are all also real numbers, so the answer is 1
Liquipediaasante sana squash banana
phar
Profile Joined August 2011
United States1080 Posts
February 04 2017 19:27 GMT
#16675
On February 05 2017 00:10 tofucake wrote:
integers, rational, and natural numbers are all also real numbers, so the answer is 1

All of them are correct, not just 1. It is true that for all integer numbers, there exists a bigger number.
Who after all is today speaking about the destruction of the Armenians?
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
February 04 2017 23:34 GMT
#16676
On February 05 2017 04:27 phar wrote:
Show nested quote +
On February 05 2017 00:10 tofucake wrote:
integers, rational, and natural numbers are all also real numbers, so the answer is 1

All of them are correct, not just 1. It is true that for all integer numbers, there exists a bigger number.


Isn't "real numbers" equivalent to "all of options below" in that question? In that case, I agree with tofucake.
Blitzkrieg0
Profile Blog Joined August 2010
United States13132 Posts
Last Edited: 2017-02-04 23:40:52
February 04 2017 23:40 GMT
#16677
Is it asking for one answer or an answer for each of the four sets of numbers? I have a strong dislike for questions where answers are correct, but one of them is more correct than the others.
I'll always be your shadow and veil your eyes from states of ain soph aur.
slmw
Profile Blog Joined October 2010
Finland233 Posts
February 05 2017 01:05 GMT
#16678
But they're all equally correct in this case?! Tofucake's answer makes no sense.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2017-02-05 01:33:02
February 05 2017 01:14 GMT
#16679
On February 05 2017 10:05 slmw wrote:
But they're all equally correct in this case?! Tofucake's answer makes no sense.


No, they're not. It also depends if you should have one selection only. In that case, you cannot select more than one of them. However, even if you can, real numbers is more correct because it includes irrational numbers. I think irrational numbers still satisfy requirement in that question.

Real numbers = natural numbers + integers + rational numbers + irrational numbers.

Edit: It's a tricky question because you might not think of irrational numbers at all.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 05 2017 03:17 GMT
#16680
since it (understandably) turned into a semantics argument, I'll let everyone know that I selected all of the options and got the answer correct.
Prev 1 832 833 834 835 836 1032 Next
Please log in or register to reply.
Live Events Refresh
IPSL
18:00
Ro24 Group F
JDConan vs WIZARD
WolFix vs Cross
Liquipedia
LAN Event
15:00
Stellar Fest: Day 3
Clem vs Zoun
ComeBackTV 1149
UrsaTVCanada616
IndyStarCraft 313
EnkiAlexander 63
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
IndyStarCraft 320
BRAT_OK 120
Railgan 57
ProTech31
StarCraft: Brood War
Backho 43
zelot 32
scan(afreeca) 9
Dota 2
qojqva2942
Dendi1158
syndereN288
Heroes of the Storm
Khaldor536
Other Games
gofns7773
FrodaN1132
B2W.Neo780
ceh9316
Liquid`VortiX307
Hui .158
Sick156
ArmadaUGS110
Mew2King85
ToD36
mouzStarbuck5
Organizations
Other Games
gamesdonequick648
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Adnapsc2 19
• davetesta7
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• Michael_bg 7
• Pr0nogo 7
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV649
• Ler64
League of Legends
• Nemesis3301
• Shiphtur837
Upcoming Events
BSL 21
1h 25m
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
OSC
4h 25m
OSC
14h 25m
Wardi Open
17h 25m
Wardi Open
21h 25m
Replay Cast
1d 4h
WardiTV Korean Royale
1d 17h
Replay Cast
2 days
Kung Fu Cup
2 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
3 days
[ Show More ]
The PondCast
3 days
RSL Revival
3 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
3 days
WardiTV Korean Royale
3 days
Replay Cast
4 days
RSL Revival
4 days
Classic vs Creator
Cure vs TriGGeR
Kung Fu Cup
4 days
CranKy Ducklings
5 days
RSL Revival
5 days
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
5 days
BSL 21
6 days
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
6 days
RSL Revival
6 days
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.