cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

SOLVED
Newbie

## circular loop

hi

Good day.

I have 3 vectors, say L1, L2, L3. And now I want to get results for cross products of all possible combinations with two vectors (which is acctully L1xL2, L2xL3, L3xL1). How can I get it with programming or in a easy way avoiding making three formula seperately for three results. Is there any function which can do this circular loop or other easy ways.

Best Regards

Jahangir

Tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions

## Re: circular loop

A starting point--

4 REPLIES 4

## Re: circular loop

A starting point--

Thanks Fred

## Re: circular loop

 Jahangir Hossain wrote:hiGood day. I have 3 vectors, say L1, L2, L3. And now I want to get results for cross products of all possible combinations with two vectors (which is acctully L1xL2, L2xL3, L3xL1). How can I get it with programming or in a easy way avoiding making three formula seperately for three results. Is there any function which can do this circular loop or other easy ways.Best RegardsJahangir

Sure you can do it using Prime's programming facility, but in my opinion this would not be worth the effort. The direct way would be the easiest and most elegant one and it depends upon your needs in which way the result should be presented. Either a nested vector or a matrix:

If you intend to make the number of vectors variable and apply the routine to a larger number of vectors and not just three, a programming approch is needed. Again depends on your preference and need which dataformat for input and for output you'd like to chose. Here are some ways to do it.

## Re: circular loop

Thanks Werner Exinger

Announcements