15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

logm(A, disp=1)<br />

Compute matrix logarithm.<br />

The matrix logarithm is the inverse of expm: expm(logm(A)) == A<br />

Parameters<br />

A : array, shape(M,M)<br />

Matrix whose logarithm to evaluate<br />

disp : boolean<br />

SciPy Reference Guide, Release 0.8.dev<br />

Print warning if error in the result is estimated large instead of returning estimated<br />

error. (Default: True)<br />

Returns<br />

logA : array, shape(M,M)<br />

Matrix logarithm of A<br />

(if disp == False) :<br />

errest : float<br />

cosm(A)<br />

Compute the matrix cosine.<br />

1-norm of the estimated error, ||err||_1 / ||A||_1<br />

This routine uses expm to compute the matrix exponentials.<br />

Parameters<br />

A : array, shape(M,M)<br />

Returns<br />

cosA : array, shape(M,M)<br />

sinm(A)<br />

Compute the matrix sine.<br />

Matrix cosine of A<br />

This routine uses expm to compute the matrix exponentials.<br />

Parameters<br />

A : array, shape(M,M)<br />

Returns<br />

sinA : array, shape(M,M)<br />

Matrix cosine of A<br />

tanm(A)<br />

Compute the matrix tangent.<br />

This routine uses expm to compute the matrix exponentials.<br />

Parameters<br />

A : array, shape(M,M)<br />

Returns<br />

tanA : array, shape(M,M)<br />

Matrix tangent of A<br />

3.7. Linear algebra (<strong>scipy</strong>.linalg) 243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!