| SpaceShip's profileSpaceShip's BLOGPhotosBlogLists | Help |
|
SpaceShip's BLOGMarch 05 MediaFlo Cellphone: Mobile TV is now available
TaxYear 2006 - Tax ReturnFor tax year 2006:
1: single 1.1 came to the USA on F visa 1.1.1 came to the USA before 2002/1/1: resident for whole 2006, regardless of current visa. 1.1.2 came to the USA on or after 2002/1/1 1.1.2.1 still on F visa (F1/F2/CPT/OPT) on 2006/12/1: non-resident for whole 2006 1.1.2.2 changed to H/B visa before 2006/7/3: dual status, F period NR, other period R 1.1.2.3 changed to H/B visa between 2006/7/3 and 2006/12/1 (inclusive): non-resident for whole year 2006. or, dual status if you use
first year choice, which has no benefit for singles.
**** see 2.5 below if you are married ****
1.2 came to the USA on J visa 1.2.1 came to the USA before 2005/1/1: resident for whole 2006, regardless of current visa. 1.2.2 came to the USA on or after 2005/1/1 1.2.2.1 still on J visa: non-resident for whole 2006 1.2.2.2 changed to H/B visa before 2006/7/3: dual status, J period NR, other period R 1.1.2.3 changed to H/B visa between 2006/7/3 and 2006/12/1: non- resident for whole year 2006. or, dual status if you use first year choice,
which has no benefit for singles. **** see 2.5 below if you are married ****
1.3 came to the USA on H or B visa (simplified, see pub 519 for detail) 1.3.1 came to the USA before 2006/7/3: resident 1.3.2 came to the USA after 2006/12/1: non-resident 1.3.2 came to the USA between 2006/7/3 and 2006/12/1 inclusive: non- resident, or resident using first year choice, which has no benefit for singles
**** see 2.5 below if you are married ****
2: married: for each person, use the above method to check whether non-resident for whole year 2006. 2.1 both are NR for 2006: file as NR, must file as married separately and no dependent, even if the dependent is america-born child.
2.2 both residents: file as residents, typically married jointly is better. can claim dependents 2.3 one is resident: can file married jointly as residents 2.4 one is dual status: can file married jointly as residents 2.5 one can use first year choice: file extension first, then use first year choice and file married jointly as residents. 3: visiting parents/relatives: use 1.3 to determine resident or non to be able to claim them as dependents, the person filing tax must be resident, the parent(s) must be resident, and they meet the other requirements
listed on 1040 instructions. May 05 Gram MatrixGiven a set V of m vectors, i.e.,
V={v1,v2,...,vm},
the Gram matrix G is defined to be: G=V'V, i.e., the ij-th entry of G is:
G(i,j)=<vi,vj>.
May 04 Iteration VS RecursionToday, I just found that I confused the word "iteration" with "recursion". With the help of 金山词霸 and Wikipedia, now I am clear about them. Here are what I have found:
Iteration: 迭代
Recursion: 递归
In computational mathematics, an iterative method attempts to solve a problem (for example an equation or system of equations) by finding successive approximations to the solution starting from an initial guess. This approach is in contrast to direct methods, which attempt to solve the problem in one-shot (like solving a linear system of equations Ax = b by finding the inverse of the matrix A). Iterative methods are useful for problems involving a large number of variables (sometimes of the order of millions), where direct methods would be prohibitively expensive and in some cases impossible even with the best available computing power.
In mathematics and computer science, recursion specifies (or constructs) a class of objects or methods (or an object from a certain class) by defining a few very simple base cases or methods (often just one), and then defining rules to break down complex cases into simpler cases. For example, the following is a recursive definition of person's ancestors:
It is convenient to think that a recursive definition defines objects in terms of "previously defined" objects of the class to define. |
||||
|
|