NAME

HFriendShip

Find out the relationship between two planets, according to the Hindus

USAGE

HFriendShip np_aspected np_aspecting [-navamsa]

PARAMETERS

np_aspected : number of the planet receiving the relationship.

np_aspecting : number of the planet sending the relationship

For example, Sun can have an enemy, Venus, although Sun is not an enemy of Venus.
So as aspected planet, Sun has an enemy, Venus.
As an aspected planet, Venus hasn't Sun as an enemy.
The relationship is not symmetrical, that is why the order of the planets is important.

OPTIONS

-navamsa: If given, Proastro will find the relationship between planets in the Navamsa horoscope instead of the radix horoscope.

RETURN

Return the relationship status as a number.

3 : Master
HFriendShip x x
x a planet number, will return 3 because the best friend of a planet is itself.

2 : Great Friend
1 : Friend
0 : Neutral
-1 : Enemy
-2 : Great Enemy

Other values are meaningless.

Remark: according to the Hindus, there is not known relationship between the new planets, Uranus, Neptune, Pluto and the other ones.

EXAMPLE

foreach {i} {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14} {
    foreach {j} {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14} {
    PutTxt -nonewline [HFriendShip $i $j]
    PutTxt -nonewline " "
    }
PutTxt ""
}

Output

3 0 -1 0 2 2 -2 100 98 100 100 98 100 98 98
0 3 0 -1 -1 1 1 100 100 100 98 98 98 98 100
0 -2 3 2 1 1 -1 100 98 100 100 98 100 98 98
0 -2 2 3 -1 -1 0 98 98 98 100 100 98 100 98
2 0 0 -1 3 0 -1 98 98 98 100 100 98 100 98
2 2 0 -2 0 3 -1 98 98 100 98 100 98 100 98
-2 0 0 0 -2 -1 3 98 98 100 100 98 98 98 98
100 100 100 98 98 98 98 98 98 100 98 100 98 100 98
98 100 98 98 98 98 98 98 98 100 100 98 98 98 98
100 100 100 98 98 100 100 100 100 98 98 100 98 100 100
100 98 100 100 100 98 100 98 100 98 98 100 100 100 100
98 98 98 100 100 100 98 100 98 100 100 98 100 98 98
100 98 100 98 98 98 98 98 98 98 100 100 98 100 98
98 98 98 100 100 100 98 100 98 100 100 98 100 98 98
98 100 98 98 98 98 98 98 98 100 100 98 98 98 98