Linear AlgebraTypesRealMatrixMethodscosOn this pagecos Method of RealMatrix. cos() -> RealMatrix Computes the matrix cosine of the RealMatrix lhs.