Recent content by mikestampone
-
M
Alternative to "Case" for C Programming
Ok, so I won't use instance. I think I will replace my previously name "state" data type with instruction. Because currently the instructions are nested in the "state" type, but the state can be nested within the "instruction" type. So state will be replaced by "instruction", and I can use...- mikestampone
- Post #5
- Forum: Programming and Computer Science
-
M
Alternative to "Case" for C Programming
Thank you, but I am using "state" for another data type already. What do you think about "instance"?- mikestampone
- Post #3
- Forum: Programming and Computer Science
-
M
Alternative to "Case" for C Programming
I am looking for a word that means "a set of conditions". I was going to use "case", but that is a reserved word in C. Any thoughts?- mikestampone
- Thread
- Replies: 4
- Forum: Programming and Computer Science
-
M
Undergrad Difference Between Array & Tuple for Large App
Thanks Hurkyl. I will be using length. If I am coding with a vector data type I will default to size. It is interesting that you noted the ambiguity of size referring to a number of bytes. That is actually why I started this thread :) I was looking for something different than size, because...- mikestampone
- Post #9
- Forum: Set Theory, Logic, Probability, Statistics
-
M
Undergrad Difference Between Array & Tuple for Large App
Luckily, my program is not going to be using vectors, so ambiguity in this case will not be a problem. Although it will be good to consider this ambiguity in the creation of future programs which may involve vectors. Thank you for taking the time to answer my question so in-depth. I really...- mikestampone
- Post #7
- Forum: Set Theory, Logic, Probability, Statistics
-
M
Undergrad Difference Between Array & Tuple for Large App
Thanks again Rasalhague. I will use "length" throughout my program :)- mikestampone
- Post #5
- Forum: Set Theory, Logic, Probability, Statistics
-
M
Undergrad Difference Between Array & Tuple for Large App
Thank you Rasalhague :) That clears up a lot. What about the number of items in a tuple or set. Do I say count, size, cardinality, or something else. I am not sure on how to say "the number of elements" in a single word. Is it different for sets and tuples?- mikestampone
- Post #3
- Forum: Set Theory, Logic, Probability, Statistics
-
M
Undergrad Difference Between Array & Tuple for Large App
I am wondering if anyone can describe to me the correct use of a couple words. I am programming a very large application, and I like to name my variables so that they are very descriptive. Before I begin, I would like to know what is the difference between an array and a tuple? Are they the...- mikestampone
- Thread
- App Array Difference
- Replies: 8
- Forum: Set Theory, Logic, Probability, Statistics
-
M
Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration
So... Maybe I need to give an example of what I am looking for. If I wanted to optimize for time, I would read the entire known tape left to right, and then write the sequence right to left. Example Given the function 000->000 011->110 The optimization for time, is <s0,'0',s0,R>...- mikestampone
- Post #7
- Forum: Computing and Technology
-
M
Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration
Alright, maybe that is unnecessary. What if we wanted the Turing Machine with the smallest number of instructions, to implement whatever function? What if we also wanted to define the machine "head" at the start of the process, and the machine "head" at the end of the process? Could this be...- mikestampone
- Post #6
- Forum: Computing and Technology
-
M
Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration
>my question is, what exactly is your question? >Specifically can you define any function? Alright, my question is, if I gave you a "function" (partial function?) , then how could you systematically find the minimum cost Turing Machine to solve that function. For example, when you count in...- mikestampone
- Post #5
- Forum: Computing and Technology
-
M
Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration
Thanks for responding. A tape representing the natural numbers is interesting. I never thought of that. I am more concerned with dealing with symbols in general, and not the natural numbers or, certain real numbers, alone. I appreciate the response though. You provided a very detailed...- mikestampone
- Post #3
- Forum: Computing and Technology
-
M
Graduate Programming Binary Addition with a Turing Machine
Found this for ya. Hope it helps your understanding. http://www.maths.leeds.ac.uk/~awmorp/turingmachine/turing.html- mikestampone
- Post #4
- Forum: Quantum Physics
-
M
Optimizing Turing Machine Functions: Finding the Minimum Cost and Enumeration
Hello smart people, I am wondering if there is a process to convert a function to a Turing Machine. In other words, if I provide a list of input strings , and a corresponding output string for each input string, is there a way to find the minimum number of instructions to realize any function...- mikestampone
- Thread
- Functions Machine Turing Turing machine
- Replies: 6
- Forum: Computing and Technology