Do all expressions have a domain? Or is it just for functions?
This is a discussion on Math question... kinda abstract within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Do all expressions have a domain? Or is it just for functions?...
Do all expressions have a domain? Or is it just for functions?
yes all expressions have a domain.
hasafraggin shizigishin oppashigger...
oh, whoops should have explained...
well, functions are merely shorthand notations for longer expressions, and since functions have domains (be they the whole complex plane, only real parts, subsets of it due to singularities, etc), expressions do as well.
hasafraggin shizigishin oppashigger...
A function is a mapping of one set on another set, like f:A->B. The first set is the domain, so each function has a domain.
Woah, woah, hold on there! You sure that isn't a quote from star trek?Originally posted by doubleanti
oh, whoops should have explained...
well, functions are merely shorthand notations for longer expressions, and since functions have domains (be they the whole complex plane, only real parts, subsets of it due to singularities, etc), expressions do as well.
I feel incredibly stupid whenever da talks, moreso than usual.
"The whole complex plane" would mean all numbers, real, imaginary, and complex (combination of the two)
"Only real parts" would mean part of the real numbers (you know...the ones represented by your fingers and toes.
By "singularities," I believe he means holes, such as the one found in y=(x^2)/(x-2) at x=2.
So...no star trek, just some combination of pre-calc and calc class.
Away.
Or parts thereof."Only real parts" would mean part of the real numbers (you know...the ones represented by your fingers and toes.