Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61941833
angle_tool.cc
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
Thu, May 9, 23:07
Size
239 B
Mime Type
text/x-c
Expires
Sat, May 11, 23:07 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17581475
Attached To
rAKA akantu
angle_tool.cc
View Options
#include "angle_tool.hh"
Array
<
Real
>
set_axis
(
UInt
i
)
{
Array
<
Real
>
res
(
1
,
3
)
->
zero
();
res
[
i
]
=
1
;
return
res
;
}
Array
<
Real
>
OO
(
1
,
3
)
->
zero
();
Array
<
Real
>
e1
=
set_axis
(
0
);
Array
<
Real
>
e2
=
set_axis
(
1
);
Array
<
Real
>
e3
=
set_axis
(
2
);
Event Timeline
Log In to Comment