Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,298 members, 7,819,003 topics. Date: Monday, 06 May 2024 at 09:52 AM

Mathematics Concepts In Programming - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Mathematics Concepts In Programming (712 Views)

Become A Pro In Programming For Only N6000 / What Do You Hate Most In Programming / Sayo Oladeji Wins N1m In Programming Contest (photos) (2) (3) (4)

(1) (Reply) (Go Down)

Mathematics Concepts In Programming by kambo(m): 1:34pm On Oct 04, 2013
function:
a rule that maps one object in a set to anoda object in anoda set. The two sets may b the same in which case we have a closure.


Programming equivalent: a map aka dictionary.

2.
Set.
Collection of unique objects.
Programming equiv: set (too obvious)

3.
Set logic: "upside down A" 'For all'
used for making statements about the elements of a set.

Programming equiv:
for loop, for each loop.

4: set logic. "There exists", "backward e".

Programming equiv: for loop + condition (i.e boolean operations)

5.
Sigma (continuous summation)

programming equiv:
for loop + number incrementation

6.
Continuous multiplication
programming equiv:
loop + number multiplication

7. Boolean logic:
or "v"
programming equiv:
language dependent.
C-like languages use "|"

8. And
"^"
programming equiv:
c-like langs "&"

9. Not "~"
programming equiv:
c-like languages "!"

10.
Vectors (1 dimension matrix)

programming equiv:
array

11: matrices
programming equiv:
n dimension array

12. Tree,list,graphs
programming equiv:
programming language collections library.

13.
Lamdas . "anonymous functions"

programming equiv:
inner classes, lamda, anonymous functions

14: numbers
whole numbers/integers
rationals/fractions
irrationals
complex numbers

programming equiv:
c like languages : int
rational equiv: double,floats
irrationals : double float
complex: programmer defined
for java c,c++

15. Recursion
defining something in terms of itself.
factorials are mathematically defined using recursion.

Programming equiv:
method calls itself.


16. Proof (proving the logical truthfulness of a proposition)

programming equiv:
(by a very primitive degree)
unit testing. Other kinda tests are compoundments and extensions of unit testing.
Re: Mathematics Concepts In Programming by texanomaly(f): 2:07pm On Oct 04, 2013
Huh?
Lolz
I am seeing this because I follow you. I can't for the life of me remember why I follow you. You must have caught my attention somewhere. In the religion section maybe?

It is not technology or math. That's for sure. I am completely technologically, and mathematically inept. It is sad really. cry

grin grin grin
Re: Mathematics Concepts In Programming by kambo(m): 2:23pm On Oct 04, 2013
texanomaly: Huh?
Lolz
I am seeing this because I follow you. I can't for the life of me remember why I follow you. You must have caught my attention somewhere. In the religion section maybe?

It is not technology or math. That's for sure. I am completely technologically, and mathematically inept. It is sad really. cry

grin grin grin

too bad u are tech and math blind. But u can learn. Just hang around here and register in d newbies class "i wanna learn programming".
With ur church mind u'll b a dazzle (kidding).
The stuff here is classified , for insiders only.
Re: Mathematics Concepts In Programming by texanomaly(f): 6:41pm On Oct 04, 2013
kambo:

too bad u are tech and math blind. But u can learn. Just hang around here and register in d newbies class "i wanna learn programming".
With ur church mind u'll b a dazzle (kidding).
The stuff here is classified , for insiders only.
Hahaha...when do I get my secret secret decoder ring? cool
Re: Mathematics Concepts In Programming by danvery2k6(m): 6:53pm On Oct 04, 2013
texanomaly:
Hahaha...when do I get my secret secret decoder ring? cool
lol. Hilarious
Re: Mathematics Concepts In Programming by CODEEATER(m): 7:00pm On Oct 04, 2013
texanomaly:
Hahaha...when do I get my secret secret decoder ring? cool

Lol...

Funny..
Re: Mathematics Concepts In Programming by texanomaly(f): 7:53pm On Oct 04, 2013
danvery2k6: lol. Hilarious
10Q
Re: Mathematics Concepts In Programming by texanomaly(f): 7:53pm On Oct 04, 2013
CODE-EATER:


Lol...

Funny..
10Q 2

Maybe that should be...

10Q squared grin
Re: Mathematics Concepts In Programming by DharkPoet(m): 9:58pm On Oct 04, 2013
I really need to get back to mathematics, It's not easy as I thought. Spent a lot of time thinking mathematics was frightening, well that's how Nigerian teachers portray it, they make you see mathematics as a Three-headed Cerberus or a hideous Scylla angry angry angry. Already learning Java, but my poor mathematics skill already showing off!!! Hmph!!! It's sad embarassed embarassed

(1) (Reply)

Keller Box Scheme / XML For Web Development / Average Developer Salary

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.