You are not logged in.
Trying to find a site that describes things as the following in visual diagrams if possible.
- Clamp
- Matrix
- Modulo
- Absolute Value
- Floor
- Quaternion Interpolate
- InRange
- Transpose
- 3X3 and 4X4 Matrix
- Dot Product
- Cross Product
etc
Offline
Hi SuperLynx;
Haven't seen you in a while.
This is a example of a 3 x 3 matrix:
An example of a 4 x 4 matrix:
This is a example of a dot product of 2 vectors, it returns a scalar.
This is an example of a cross product of 2 vectors:
This is what a transpose operation looks lie:
Example of a floor function:
Here is an example of an absolute value:
This is a modulo operator:
Quaternion interpolation no easy example!
InRange, I don't know what that is!
I only know one usage for clamp. It is a math function implemented in some languages.
If number < = low return low
If number > = high return high
else return number.
clamp( number, low, high )
clamp( 21, 2 , 10 ) returns 10
clamp( 11, 5, 17) returns 11
Just showing you what they look like and their notation. Ask if you need more.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Hi, yeah I've been learning some stuff and doing some designing changing around my site and such and have had a really bad summer so far from the Heat and a lot of personal issues.
What does Transpose do ? And how did you calculate Modulo ?
That is my first of a few set of questions
Offline
Hi;
Transpose makes the rows of a matrix into it's columns. The first row 1 , 2 became the first column 1 , 2.
Modulo is easy, basically it is the remainder, or whats left over when you divide by some number.
39 mod 6 is 3 because 39 / 6 is 6 with a remainder of 3.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Ohh what would be the purpose of that in Computer Graphics?
Offline
Hi;
See the above post for the first answers. Matrix operations are responsible for the translations you see in graphics programs. That's what the human eye sees as motion on the screen. Mods are clock arithmetic.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
39 mod 6 is 3 because 39 / 6 is 6 with a remainder of 3.
39/6 = 6.5 where do you get a remainder of 3 ?
Transpose turns a rows into columns, I still don't understand besides that
Offline
Transpose turns rows into columns, I still don't understand besides that
That's what the transpose operator does.
If you had to split 39 cents among 6 kids how would you do it? You can't give them 6.5 cents. You would give each kid 6 cents , 6 * 6 = 36 and you have 3 cents left over. That's modular arithmetic. So 39 mod 6 = 3.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
I still don't get how you get 3 cents remainder ? When it's 6.5 cents, something I'm missing
And the Floor function is calculated how [3.2]=3 ??
Offline
Hi;
Yes, 6.5 cents is the exact answer, but we are talking about whole numbers. You can't cut a penny in half, now can you? You can't give every kid 7 cents because you don't have enough. You can give them 6 cents, but when you do you will have 3 cents left over.
And the Floor function is calculated how [3.2]=3 ??
The floor function rounds down it's argument to the nearest integer. 3.2 is not an integer. 3 is an integer or whole number.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
Alright I understand Floor it rounds the number to the nearest Integer (aka 4.6 = 5). Although I still don't understand Modulo how you got a 3 remainder ???
How do you figure out a cross product of two vectors, the math ?
Offline
Hi SuperLynx;
Hold it! Floor does not round 4.6 to 5. It rounds down to the nearest integer.
.How do you figure out a cross product of two vectors, the math ?
These are all mechanical. You can learn how to perform these operations with little or no understanding. I will show you how. First, let us stick to the modulo problem. 1 thing at a time!
still smile don't understand Modulo how you got a 3 remainder
It is an integer division. Before I go any further can you tell me what you would do with the 6 kids and the 39 pennies? Can you explain your solution? It is the key to what I am doing.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
4.6 = 5
Nearest Integer you can't round up because .6 is closes to making it a round number, you have to use the number on the left which is 4. [8.4]=8 ???
If I had 39 cents and had to give it to 6 gives I'd give each kid 6 cents and have 3 left over, Ohhhhh
Last edited by SuperLynx (2010-08-05 13:08:19)
Offline
Hi SuperLynx;
Correct!
If I had 39 cents and had to give it to 6 kids I'd give each kid 6 cents and have 3 left over, Ohhhhh
That is exacly right, so:
Which is the same as saying 39 is congruent to 3 mod 6 or dividing 39 by 6 leaves a remainder of 3.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
47=7 Mod 5? Correct ?
How do you figure out the Cross Product of two Vectors ?
How does a Matrix work?
Offline
Hi;
We will get to matrices and cross products. First you are still having trouble with the modulo operator.
47=7 Mod 5? Correct ?
Not exactly.
If you had 7 left over, couldn't you take another 5 out of that?
Try the kids and pennies model if you get stuck. If you have 47 pennies and 5 kids, how would you share the pennies? What would you have left over? That is what 47 mod 5 is.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
47/5 = 9.4
9 * 5 = 45 with 2 Remainder
Offline
Hi SuperLynx;
Correcta Mundo! You say,
Read 47 is congruent to 2 mod 5 or 47 divided by 5 leaves a remainder of 2.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
81=6 Mod 9 ??
If so onto the question in Post #15
Offline
Hi SuperLynx;
Nope. 81 does not leave a remainder of 6 when divided by 9.
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
0.6
Offline
I have 81 cents and I want to split it up amongst 6 kids = 0.07
Offline
Hi SuperLynx;
You are not using that right. If you had 9 kids and you wanted to split 81 cents how would that work out?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline
87 cents amongst 4 kids = 21.75 * 4
87=0 Mod 4 ???
Offline
Hi;
Hold on you are jumping ahead. First get this one.
If you had 9 kids and you wanted to split 81 cents how would that work out?
In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.
Offline