File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
math-lib/math/private/matrix Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 312312(define (matrix-cos-angle M N)
313313 (/ (matrix-dot M N) (* (matrix-2norm M) (matrix-2norm N))))
314314
315- (: matrix-angle (case-> ((Matrix Flonum) (Matrix Flonum) -> Flonum)
316- ((Matrix Real) (Matrix Real) -> Real)
317- ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
315+ (: matrix-angle (case-> ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
318316 ((Matrix Number) (Matrix Number) -> Number)))
319317(define (matrix-angle M N)
320318 (acos (matrix-cos-angle M N)))
Original file line number Diff line number Diff line change @@ -79,9 +79,7 @@ See "How to Measure Errors" in the LAPACK manual for more details:
7979 ;(matrix-min-singular-value (matrix* (matrix-hermitian M) R))
8080 (error 'unimplemented ))
8181
82- (: matrix-basis-angle (case-> ((Matrix Flonum) (Matrix Flonum) -> Flonum)
83- ((Matrix Real) (Matrix Real) -> Real)
84- ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
82+ (: matrix-basis-angle (case-> ((Matrix Float-Complex) (Matrix Float-Complex) -> Float-Complex)
8583 ((Matrix Number) (Matrix Number) -> Number)))
8684;; Returns the angle between the two subspaces spanned by the two given sets of column vectors
8785(define (matrix-basis-angle M R)
You can’t perform that action at this time.
0 commit comments