Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103604622
svector.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Mar 3, 08:04
Size
280 B
Mime Type
text/x-c
Expires
Wed, Mar 5, 08:04 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24602557
Attached To
rSYMKIT symkit
svector.cpp
View Options
#include "svector.h"
#ifndef __linux__
const
SVector
<
3
>
operator
^
(
const
SVector
<
3
>&
v
,
const
SVector
<
3
>&
w
)
{
SVector
<
3
>
u
=
{
0
,
0
,
0
};
u
[
0
]
=
v
[
1
]
*
w
[
2
]
-
v
[
2
]
*
w
[
1
];
u
[
1
]
=
v
[
2
]
*
w
[
0
]
-
v
[
0
]
*
w
[
2
];
u
[
2
]
=
v
[
0
]
*
w
[
1
]
-
v
[
1
]
*
w
[
0
];
return
u
;
}
#endif
Event Timeline
Log In to Comment