home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 4
/
Apprentice-Release4.iso
/
Languages
/
RLaB 1.18c
/
rlib
/
symm.r
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-02-21
|
232 b
|
11 lines
|
[
TEXT/RLAB
]
//
// SYMM SYMM(A) is the symmetric (Hermitian) part of A, (A+A')/2.
// It is the nearest symmetric (Hermitian) matrix to A in both the
// 2- and the Frobenius norms.
//
symm = function( A )
{
return (A + A')./2;
};