Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F5052096
inverse.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
632 B
Subscribers
None
inverse.cpp
View Options
//
// File: inverse.cpp
//
// MATLAB Coder version : 5.3
// C/C++ source code generated on : 21-Mar-2023 14:41:00
//
// Include Files
#include "inverse.h"
// Function Definitions
//
// 矩阵求逆
//
// Arguments : const double src[6]
// double n
// double en[6]
// Return Type : void
//
void
inverse
(
const
double
src
[
6
],
double
n
,
double
en
[
6
])
{
int
i
;
for
(
i
=
0
;
i
<
6
;
i
++
)
{
en
[
i
]
=
src
[
i
];
}
i
=
static_cast
<
int
>
(
n
);
for
(
int
b_i
{
0
};
b_i
<
i
;
b_i
++
)
{
double
d
;
d
=
src
[
b_i
];
en
[
b_i
]
=
d
*
d
;
}
}
//
// File trailer for inverse.cpp
//
// [EOF]
//
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Jun 21, 19:31 (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1448335
Default Alt Text
inverse.cpp (632 B)
Attached To
R350 av_svc
Event Timeline
Log In to Comment