text
stringlengths 0
211k
|
---|
Introduction du vecteur V. |
Exemple de sortie écran : |
Two U vectors in the Standard Basis |
U[0] U[1] : |
+2 +1i +1 +5i |
+2 +3i +5 +2i |
The V vector in the base U : |
+1 +0i |
+0 +0i |
Find the coordinate of V into the standard basis |
+2 +1i |
+2 +3i |
Press return to continue. |
Mathc complexes/a188 |
Application |
Installer et compiler ce fichier dans votre répertoire de travail. |
/* ------------------------------------ */ |
/* Save as : c00a.c */ |
/* ------------------------------------ */ |
/* ------------------------------------ */ |
void fun(void) |
double u[TAB][RU*C2]=; |
double **U[TAB]; |
double **B = i_mZ(RU,RU); |
double w[RU*C2] = {+2,1, +2,3}; |
double **W = ca_A_mZ(w,i_mZ(RU,C1)); |
double **BW = i_mZ(RU,C1); |
double **InvB = i_mZ(RU,RU); |
int c; |
clrscrn(); |
for(c=C0; c<TAB; c++) |
U[c] = ca_A_mZ( u[c],i_mZ(RU,C1)); |
c_c_mZ(U[c],C1, B,c+C1); |
printf(" Two U vectors in the Standard Basis \n\n" |
" U[0] U[1] :"); |
p_mZ(B,S6,P0,S3,P0,C10); |
printf(" The W vector in the standard basis : "); |
p_mZ(W,S6,P0,S3,P0,C10); |
printf(" Find the coordinate of W into the U basis"); |
mul_mZ(inv_mZ(B,InvB),W,BW); |
p_mZ(BW,S6,P0,S3,P0,C10); |
stop(); |
for(c=C0; c<TAB; c++) |
f_mZ(U[c]); |
f_mZ(B); |
f_mZ(InvB); |
f_mZ(W); |
f_mZ(BW); |
/* ------------------------------------ */ |
int main(void) |
fun(); |
return 0; |
/* ------------------------------------ */ |
Introduction du vecteur V. |
Exemple de sortie écran : |
Two U vectors in the Standard Basis |
U[0] U[1] : |
+2 +1i +1 +5i |
+2 +3i +5 +2i |
The W vector in the standard basis : |
+2 +1i |
+2 +3i |
Find the coordinate of W into the U basis |
+1 +0i |
-0 +0i |
Press return to continue. |
Mathc matrices/a108 |
Application |
Installer et compiler ces fichiers dans votre répertoire de travail. |
/* ------------------------------------ */ |
/* Save as : gj_r2.c */ |
int main(void) |
double at[RA*CA]={ |
+10, -150, -148, |
+207, -215, +997, |
-858, +803, +289 |
double bt[RA*Cb]={ |
+437, -146, -175, -954, -432, |
-233, +243, +772, +920, -98, |
+444, -886, -604, -15, +946 |
double **A = ca_A_mR(at,i_mR(RA,CA)); |
double **b = ca_A_mR(bt,i_mR(RA,Cb)); |
double **Ab = i_Abr_Ac_bc_mR(RA,CA,Cb); |
clrscrn(); |
printf(" A :"); |
p_mR(A,S8,P0,C6); |
printf(" b1 b2 ... bn :\n"); |
p_mR(b,S8,P0,C6); |
stop(); |
clrscrn(); |
printf(" Ab :"); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.